Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779532 - net-misc/frr-7.5.1-r2 - /.../clippy:line <snip>: /.../clippy: No such file or directory
Summary: net-misc/frr-7.5.1-r2 - /.../clippy:line <snip>: /.../clippy: No such file or...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-31 12:10 UTC by Toralf Förster
Modified: 2021-10-14 13:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.38 KB, text/plain)
2021-03-31 12:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.12 KB, text/plain)
2021-03-31 12:10 UTC, Toralf Förster
Details
environment (environment,127.47 KB, text/plain)
2021-03-31 12:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.08 KB, application/x-bzip)
2021-03-31 12:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,33.56 KB, application/x-bzip)
2021-03-31 12:10 UTC, Toralf Förster
Details
net-misc:frr-7.5.1-r2:20210331-115814.log (net-misc:frr-7.5.1-r2:20210331-115814.log,52.47 KB, text/plain)
2021-03-31 12:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.55 KB, application/x-bzip)
2021-03-31 12:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-31 12:10:14 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-03-31 12:10:15 UTC
Created attachment 696486 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-31 12:10:17 UTC
Created attachment 696489 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-31 12:10:18 UTC
Created attachment 696492 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-31 12:10:20 UTC
Created attachment 696495 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-31 12:10:21 UTC
Created attachment 696498 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-31 12:10:22 UTC
Created attachment 696501 [details]
net-misc:frr-7.5.1-r2:20210331-115814.log
Comment 7 Toralf Förster gentoo-dev 2021-03-31 12:10:23 UTC
Created attachment 696504 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-03-31 18:41:18 UTC
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.
Comment 9 orbea 2021-03-31 21:10:35 UTC
The problem is because /usr/bin/clippy is the wrapper script and not the real binary.
Comment 10 orbea 2021-03-31 21:19:54 UTC
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.