-
-
Notifications
You must be signed in to change notification settings - Fork 613
undefined reference to `git_branch_name_is_valid' #853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That’s an upstream issue: rust-lang/git2-rs#721 |
Just bumped into this issue trying to update the official package for Arch Linux. It would be much appreciated if we could refrain from relying on things that are not released in dependencies yet. Keeping a devel branch with the goodies to be merged as soon as upstream releases them would be preferable. Is there any chance of working around this by making some adjustments and not using any of the APIs in unreleased versions yet? Is the functionality so critical it can't be accomplished another way? |
we will soon get a new git2-rs release providing us with the necessary functions. will followup with a release myself then to fix these issues. relevant upstream PR: rust-lang/git2-rs#744 |
ok we are getting closer. only a git2-rs release missing: rust-lang/git2-rs#745 after that I will do a release and bundling up a gitui release in distros should be easier again |
in the light of this: libgit2/libgit2sharp#1907 (comment) |
I don't know if you've seen but the new method |
actually |
You're totally right! 😅 |
@leecannon @alerque can you verify this on current master before I box it up into a release? |
I can confirm the current Git HEAD builds against system-installed libgit2 now as long as the latter is v1.2.0 not v1.1.1. |
for me it's again segfaults > $CARGO_HOME/bin/gitui -V
gitui 0.17.1
> $CARGO_HOME/bin/gitui
segmentation fault $CARGO_HOME/bin/gitui > lddtree $CARGO_HOME/bin/gitui
gitui => /home/v/.cache/cargo/bin/gitui (interpreter => /lib/ld-musl-x86_64.so.1)
libgit2.so.1.2 => /usr/lib/libgit2.so.1.2
libssl.so.1.1 => /usr/lib/libssl.so.1.1
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1
libpcre.so.1 => /lib/libpcre.so.1
libhttp_parser.so.2.9 => /usr/lib/libhttp_parser.so.2.9
libz.so.1 => /lib/libz.so.1
libssh2.so.1 => /usr/lib/libssh2.so.1
libgcc_s.so.1 => /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/libgcc_s.so.1
libc.so => /usr/lib/libc.so
|
Segfaulting is a different issue. The issue above is it wouldn't even build. Segfaulting at runtime is different and you should open a separate issue about your problem. |
Describe the bug
After commit d42b003 (found by git bisect) compilation fails with the error:
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: