Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727296 - sys-apps/attr-2.4.48-r3 directly calls "readelf" in multilib_src_install ( readelf: command not found with binutils-config[-native-symlinks] )
Summary: sys-apps/attr-2.4.48-r3 directly calls "readelf" in multilib_src_install ( r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-06-06 11:11 UTC by Kent Fredric (IRC: kent\n)
Modified: 2020-06-06 11:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) gentoo-dev 2020-06-06 11:11:40 UTC
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) .... )
Comment 1 Larry the Git Cow gentoo-dev 2020-06-06 11:46:54 UTC
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(-)