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...
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
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-06-06 11:11 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2020-06-06 11:46 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) 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/

# readelf -sW /var/tmp/portage/sys-apps/attr-2.4.48-r3/image/usr/lib/

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):

commit 91fa79f3be6429a740d22e341082b2b2cb76f95d
Author:     Lars Wendler <>
AuthorDate: 2020-06-06 11:46:28 +0000
Commit:     Lars Wendler <>
CommitDate: 2020-06-06 11:46:49 +0000

    sys-apps/attr: Don't call readelf directly
    Thanks-to: Kent Fredric <>
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Lars Wendler <>

 sys-apps/attr/attr-2.4.48-r3.ebuild | 4 ++--
 sys-apps/attr/attr-9999.ebuild      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)