rdlibtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -DSYSCONFDIR="/etc/frr/" -DCONFDATE=0 -I. -I. -I./include -I./lib -I. -I./include -I./lib -O2 -pipe -march=native -fno-diagnostics-color -fno-omit-frame-pointer -funwind-tables -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wundef -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -pthread -c lib/filter.c -DPIC -fPIC -o lib/.libs/filter.o /usr/bin/clippy ./python/clidef.py -o lib/filter_cli_clippy.c lib/filter_cli.c /usr/bin/clippy: line 25: /var/tmp/portage/dev-util/clippy-7.5.1/work/frr-frr-7.5.1/lib/.libs/clippy: No such file or directory make[1]: *** [Makefile:12067: lib/filter_cli_clippy.c] Error 127 make[1]: Leaving directory '/var/tmp/portage/net-misc/frr-7.5.1-r2/work/frr-frr-7.5.1' make: *** [Makefile:4721: all] Error 2 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-20210331-001544 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * Python 3.8.8 Available Ruby profiles: (none found) The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Wed Mar 31 08:51:28 UTC 2021 emerge -qpvO net-misc/frr [ebuild N ] net-misc/frr-7.5.1-r2 USE="ipv6 pam -doc -fpm -grpc -nhrp -ospfapi -rpki -snmp -systemd -test" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Created attachment 696486 [details] emerge-info.txt
Created attachment 696489 [details] emerge-history.txt
Created attachment 696492 [details] environment
Created attachment 696495 [details] etc.portage.tar.bz2
Created attachment 696498 [details] logs.tar.bz2
Created attachment 696501 [details] net-misc:frr-7.5.1-r2:20210331-115814.log
Created attachment 696504 [details] temp.tar.bz2
I think a lot of these about files/libraries missing in .libs seem to be related to dependencies being built with slibtool. In this case it's pretty flagrant because the /usr/bin/clippy script has: exec /tmp/portage/dev-util/clippy-7.5.1/work/frr-frr-7.5.1/lib/.libs/clippy "$@" So the issue is with clippy.
The problem is because /usr/bin/clippy is the wrapper script and not the real binary.
This is clearly a ebuild bug... Gentoo builds clippy from the frr source with --enable-clippy-only and then installs it with 'dobin lib/clippy' which won't work since that is the wrapper script and not the real binary in 'lib/.libs/clippy', it needs to use the actual install target for clippy. That said the only thing that depends on clippy is frr and since clippy is originally a frr internal dependency, just get rid of the clippy package.