Summary: | sys-apps/attr-2.4.48-r3 directly calls "readelf" in multilib_src_install ( readelf: command not found with binutils-config[-native-symlinks] ) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 |
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91fa79f3be6429a740d22e341082b2b2cb76f95d commit 91fa79f3be6429a740d22e341082b2b2cb76f95d Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-06-06 11:46:28 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-06-06 11:46:49 +0000 sys-apps/attr: Don't call readelf directly Thanks-to: Kent Fredric <kentnl@gentoo.org> Closes: https://bugs.gentoo.org/727296 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/attr/attr-2.4.48-r3.ebuild | 4 ++-- sys-apps/attr/attr-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) |
libtool: install: /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c .libs/setfattr /var/tmp/portage/sys-apps/attr-2.4.48-r3/image/bin/setfattr make[2]: Leaving directory '/var/tmp/portage/sys-apps/attr-2.4.48-r3/work/attr-2.4.48-abi_x86_32.x86' make[1]: Leaving directory '/var/tmp/portage/sys-apps/attr-2.4.48-r3/work/attr-2.4.48-abi_x86_32.x86' /var/tmp/portage/sys-apps/attr-2.4.48-r3/temp/environment: line 2467: readelf: command not found /var/tmp/portage/sys-apps/attr-2.4.48-r3/temp/environment: line 2468: readelf: command not found # readelf -V /var/tmp/portage/sys-apps/attr-2.4.48-r3/image/usr/lib/libattr.so.1 # readelf -sW /var/tmp/portage/sys-apps/attr-2.4.48-r3/image/usr/lib/libattr.so.1 From the source of attr-2.4.48-r3.ebuild: > multilib_src_install() { > ... > if [[ -e ${lib} ]] ; then > local versions=$(readelf -V "${lib}") > local symbols=$(readelf -sW "${lib}") This should probably use $((tc-getREADELF) .... )