make[2]: *** No rule to make target '../bfd/libbfd.a', needed by 'gdb'. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sys-devel/gdb-10.2/work/gdb-10.2/gdb' make[1]: *** [Makefile:9430: all-gdb] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-devel/gdb-10.2/work/gdb-10.2' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j3-20210528-173809 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.52.1 * 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 fd3bb3e94c89a77d8e74eda19baefb991a7a0f5e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun May 30 01:50:07 2021 +0000 2021-05-30 01:50:05 UTC emerge -qpvO sys-devel/gdb [ebuild N ] sys-devel/gdb-10.2 USE="nls python server (-cet) -lzma -multitarget -source-highlight -test -vanilla -xml -xxhash" PYTHON_SINGLE_TARGET="python3_8 -python3_10 -python3_7 -python3_9"
Created attachment 712419 [details] emerge-info.txt
Created attachment 712422 [details] emerge-history.txt
Created attachment 712425 [details] environment
Created attachment 712428 [details] etc.portage.tar.bz2
Created attachment 712431 [details] logs.tar.bz2
Created attachment 712434 [details] sys-devel:gdb-10.2:20210530-033802.log
Created attachment 712437 [details] temp.tar.bz2
*** Bug 843461 has been marked as a duplicate of this bug. ***
As described in the duplicate issue this probably has something to do with this issue. libtooldir=`rdlibtool --config | /bin/sed -n -e 's/^objdir=//p'`; \ if [ -f $libtooldir/libbfd.a ]; then \ cp $libtooldir/libbfd.a libbfd.tmp; \ x86_64-pc-linux-gnu-ranlib --plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.1/liblto_plugin.so libbfd.tmp; \ /bin/sh ./../move-if-change libbfd.tmp libbfd.a; \ else true; fi rdlibtool: error: <compiler> is missing. The argument --config works differently in GNU libtool and slibtool. It should not be part of the build system.
I made an upstream issue. https://sourceware.org/bugzilla/show_bug.cgi?id=29372
This has been fixed in the upstream gdb repo and now works using the live ebuild.
There is now a new issue which I reported with a patch here. https://sourceware.org/bugzilla/show_bug.cgi?id=30295