Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830087 - net-misc/frr-8.1-r1 - /.../clippy:line <snip>: .../clippy: No such file or directory
Summary: net-misc/frr-8.1-r1 - /.../clippy:line <snip>: .../clippy: No such file or di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-12-27 10:37 UTC by Toralf Förster
Modified: 2022-05-17 01:10 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.00 KB, text/plain)
2021-12-27 10:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.49 KB, text/plain)
2021-12-27 10:37 UTC, Toralf Förster
Details
environment (environment,133.24 KB, text/plain)
2021-12-27 10:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.77 KB, application/x-bzip)
2021-12-27 10:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,22.72 KB, application/x-bzip)
2021-12-27 10:37 UTC, Toralf Förster
Details
net-misc:frr-8.1-r1:20211226-230238.log (net-misc:frr-8.1-r1:20211226-230238.log,25.38 KB, text/plain)
2021-12-27 10:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.85 KB, application/x-bzip)
2021-12-27 10:37 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-12-27 10:37:21 UTC
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 162, .st_ino = 36869}.
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 5.
rdlibtool: lconf: found "/var/tmp/portage/net-misc/frr-8.1-r1/work/frr-frr-8.1/libtool".
rdlibtool: compile: x86_64-gentoo-linux-musl-gcc -std=gnu11 -DHAVE_CONFIG_H -DSYSCONFDIR="/etc/frr/" -DCONFDATE=0 -I. -I./lib/assert -I. -I./include -I./lib -I. -fno-omit-frame-pointer -funwind-tables -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wundef -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -pipe -march=native -fno-diagnostics-color -O2 -c lib/filter_nb.c -DPIC -fPIC -o lib/.libs/filter_nb.o
/usr/bin/clippy: line 27: /var/tmp/portage/dev-util/clippy-8.1/work/frr-frr-8.1/lib/.libs/clippy: No such file or directory
make[1]: *** [Makefile:15422: lib/filter_cli_clippy.c] Error 127
make[1]: *** Waiting for unfinished jobs....

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211222-090216

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 4e3fc3ba96ec93688afc2308b7264752c55aed9e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 26 21:21:48 2021 +0000

    2021-12-26 21:21:46 UTC

emerge -qpvO net-misc/frr
[ebuild  N    ] net-misc/frr-8.1-r1  USE="ipv6 pam -doc -fpm -grpc -nhrp -ospfapi -rpki -snmp -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-12-27 10:37:22 UTC
Created attachment 760480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-27 10:37:23 UTC
Created attachment 760481 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-27 10:37:25 UTC
Created attachment 760482 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-27 10:37:26 UTC
Created attachment 760483 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-27 10:37:27 UTC
Created attachment 760484 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-27 10:37:28 UTC
Created attachment 760485 [details]
net-misc:frr-8.1-r1:20211226-230238.log
Comment 7 Toralf Förster gentoo-dev 2021-12-27 10:37:29 UTC
Created attachment 760486 [details]
temp.tar.bz2
Comment 8 Jakov Smolić archtester gentoo-dev 2021-12-27 11:01:30 UTC
> rdlibtool: compile: x86_64-gentoo-linux-musl-gcc -std=gnu11 -DHAVE_CONFIG_H 
Looking at the log, this seems to be slibtool-related
Comment 9 Larry the Git Cow gentoo-dev 2022-05-17 01:06:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4bdd6bbebca017d6099c62090116306d1c1a89

commit 0e4bdd6bbebca017d6099c62090116306d1c1a89
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-15 01:05:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-17 01:06:17 +0000

    dev-util/clippy: Fix clippy install with slibtool
    
    Installing a file created by libtool is not portable for slibtool and
    this will result in installing the slibtool shell wrapper script for
    clippy and not the clippy binary.
    
    This additionally fails when compiling net-misc/frr which will use the
    shell wrapper script that does not work outside of the build directory.
    
    The 'make install' target is not appropriate for --enable-clippy-only
    and fixing that seems like significant work so just use shell instead to
    find the correct file.
    
    I bumped the ebuild revision because this causes a build failure in frr.
    
    Bug: https://bugs.gentoo.org/830087
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/25491
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/clippy/clippy-8.2.2-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)