/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lunwind-x86_64 collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. * ERROR: sci-libs/ceres-solver-1.14.0::gentoo failed (compile phase): * ninja -v -j3 -l0 failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j3_abi32+64_debug-20210729-185806 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: 1) JamVM JDK 2.0.0 [jamvm] *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] jamvm [2] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit e127241ec8ecb9ba3551672aac2fb526ca10fbd2 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Aug 4 03:06:42 2021 +0000 2021-08-04 03:06:40 UTC emerge -qpvO sci-libs/ceres-solver [ebuild N ] sci-libs/ceres-solver-1.14.0 USE="openmp schur -cxsparse -doc -examples -gflags -lapack -sparse -test" ABI_X86="32 (64) (-x32)"
Created attachment 730044 [details] emerge-info.txt
Created attachment 730046 [details] emerge-history.txt
Created attachment 730048 [details] environment
Created attachment 730050 [details] etc.portage.tar.bz2
Created attachment 730052 [details] logs.tar.bz2
Created attachment 730054 [details] sci-libs:ceres-solver-1.14.0:20210804-035240.log
Created attachment 730056 [details] temp.tar.bz2
This error occurs in abi_x86_32 part of multilib (abi_x86_32 + abi_x86_64) build. Build system incorrectly calculates name of libunwind platform library. Name of libunwind platform library is platform-specific: On x86_32: libunwind-x86.so On x86_64: libunwind-x86_64.so libunwind platform library is also rarely used, and maintainers should check if it is actually needed here (by checking if there are undefined references if it is disabled). Maybe dropping of linking would suffice.