You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no issues that i know of! (although we might want to check out the vendored directory to v1.4.1 instead of v1.4.0, because there were some breaking Windows bugs in v1.4.0)
i just test build gitaly with libgit2 1.4.1 and ran into:
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: $WORK/b046/_x045.o: in function `_cgo_013e402b01a7_Cfunc_git_transport_smart_proxy_options':
/tmp/go-build/cgo-gcc-prolog:155: undefined reference to `git_transport_smart_proxy_options'
collect2: error: ld returned 1 exit status
I ran into the same issue that @darix has reported above. In my case I created a symlink for libgit2.1.3.dylib and pointed it to libgit2.1.4.0.dylib. This has solved the immediate problem for me. But I would want to build my binary against the latest libgit2.
Also in case any one want to look into this issue. I'm trying to build this single file on a macos and it failed with:
{~/.Git/etc/go} go build ps1.go
# command-line-arguments
/usr/local/Cellar/go/1.17.2/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
Undefined symbols for architecture x86_64:
"_git_transport_smart_proxy_options", referenced from:
__cgo_bf848eecc823_Cfunc_git_transport_smart_proxy_options in 000044.o
(maybe you meant: __cgo_bf848eecc823_Cfunc_git_transport_smart_proxy_options)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libgit2 are installed via homebrew. libgit2: stable 1.4.2 (bottled), HEAD
I ran into the same issue that @darix has reported above. In my case I created a symlink for libgit2.1.3.dylib and pointed it to libgit2.1.4.0.dylib. This has solved the immediate problem for me. But I would want to build my binary against the latest libgit2.
Turns out that we need libgit2/libgit2#6278 to land upstream, otherwise there's no way to get the connect options and that would break remote operations that require a proxy.
We have been using git2go v33 with libgit2 v1.3.1 in a couple of Flux controllers (for example: https://github.com/fluxcd/source-controller). We have been observing intermittent panics with this version. Using git2go compiled with libgit2 v1.5.0 seems to solve the panics, so it'd be great if we could have a new release. I have opened a PR for the same: #929.
cc: @lhchavez
Activity
lhchavez commentedon Feb 22, 2022
no issues that i know of! (although we might want to check out the vendored directory to v1.4.1 instead of v1.4.0, because there were some breaking Windows bugs in v1.4.0)
darix commentedon Feb 22, 2022
i just test build gitaly with libgit2 1.4.1 and ran into:
they intree v33
xiaket commentedon Mar 9, 2022
I ran into the same issue that @darix has reported above. In my case I created a symlink for
libgit2.1.3.dylib
and pointed it tolibgit2.1.4.0.dylib
. This has solved the immediate problem for me. But I would want to build my binary against the latest libgit2.xiaket commentedon Mar 9, 2022
Also in case any one want to look into this issue. I'm trying to build this single file on a macos and it failed with:
libgit2 are installed via homebrew.
libgit2: stable 1.4.2 (bottled), HEAD
long2ice commentedon Mar 10, 2022
How could do this?
lhchavez commentedon Apr 16, 2022
Turns out that we need libgit2/libgit2#6278 to land upstream, otherwise there's no way to get the connect options and that would break remote operations that require a proxy.
pjbgf commentedon Jul 18, 2022
Would it be OK to also allow
v1.5.0
?pablocompagni-contractorvp commentedon Aug 30, 2022
is this repo abandoned? is there an alternative to it? unable to target newer versions of libgit2 is blocking us right now
aryan9600 commentedon Sep 20, 2022
We have been using git2go v33 with libgit2 v1.3.1 in a couple of Flux controllers (for example: https://github.com/fluxcd/source-controller). We have been observing intermittent panics with this version. Using git2go compiled with libgit2 v1.5.0 seems to solve the panics, so it'd be great if we could have a new release. I have opened a PR for the same: #929.
cc: @lhchavez
libgit2 v1.5.0 #major (#929)