= note: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgit2.so: undefined reference to `git___load' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-libressl_abi32+64-20201219-101624 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.9 [2] python3.8 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.48.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Dec 31 03:05:21 PM UTC 2020 /var/db/repos/libressl Mon Dec 28 11:05:14 PM UTC 2020 emerge -qpvO sys-apps/bat [ebuild N ] sys-apps/bat-0.17.1 USE="-debug"
Created attachment 680449 [details] emerge-info.txt
Created attachment 680452 [details] emerge-history.txt
Created attachment 680455 [details] environment
Created attachment 680458 [details] etc.portage.tbz2
Created attachment 680461 [details] sys-apps:bat-0.17.1:20201231-152336.log
Created attachment 680464 [details] temp.tbz2
It looks like this is due to the tinderbox script applying a global `-threads`. I hadn't caught this since my profile has `+threads` by default. In libgit2, `git___load` is conditionally defined based on `+threads`, so I'll add that to the USE constraint in the dependency for dev-libs/libgit2 in the ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606f06618a7838ab0eb1884a77ba7c6c2fc27fc6 commit 606f06618a7838ab0eb1884a77ba7c6c2fc27fc6 Author: toshokan <toshokan@shojigate.net> AuthorDate: 2021-01-16 03:50:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-01-16 21:49:14 +0000 sys-apps/bat: Bump dev-libs/libgit2 version and +threads This is the version recommended by upstream at https://github.com/rust-lang/git2-rs/blob/master/README.md#version-of-libgit2 Closes: https://bugs.gentoo.org/762811 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Jason Pizzuco <toshokan@shojigate.net> Closes: https://github.com/gentoo/gentoo/pull/19075 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/bat/bat-0.17.1-r1.ebuild | 200 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 200 insertions(+)