https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/libnsl calls commands that do not exist. Discovered on: amd64 (internal ref: ci)
Created attachment 648814 [details] build.log build log and emerge --info
""" checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... /var/tmp/portage/net-libs/libnsl-1.3.0/work/libnsl-1.3.0/config.rpath: line 219: ==: command not found /var/tmp/portage/net-libs/libnsl-1.3.0/work/libnsl-1.3.0/config.rpath: line 219: ==: command not found done checking 32-bit host C ABI... no """
'config.rpath' does not look like valid shell: """ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then if $libdir == /usr/lib | $libdir == /usr/lib64; then hardcode_libdir_flag_spec="" fi else ld_shlibs=no fi """
Reported upstream as https://github.com/thkukuk/libnsl/issues/11
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615a57b837f40f4c1671f6b6f41be41602268aa4 commit 615a57b837f40f4c1671f6b6f41be41602268aa4 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-07-10 20:11:21 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-07-10 20:11:37 +0000 net-libs/libnsl: tweak config.rpath shell `config.rpath` contains a bit of invalid shell: ``` checking for shared library run path origin... libnsl-1.3.0/config.rpath: line 219: ==: command not found libnsl-1.3.0/config.rpath: line 219: ==: command not found ``` ``` if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then if $libdir == /usr/lib | $libdir == /usr/lib64; then hardcode_libdir_flag_spec="" fi else ld_shlibs=no fi ``` The change restores default `config.rpath`. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/732100 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> net-libs/libnsl/files/libnsl-1.3.0-rpath.patch | 16 ++++++++++ net-libs/libnsl/libnsl-1.3.0-r1.ebuild | 42 ++++++++++++++++++++++++++ 2 files changed, 58 insertions(+)