Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644076 - <=sys-apps/acl-2.2.52: when attr/xattr.h isn't installed, getxattr is omitted
Summary: <=sys-apps/acl-2.2.52: when attr/xattr.h isn't installed, getxattr is omitted
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: attr/xattr.h
  Show dependency tree
 
Reported: 2018-01-09 22:46 UTC by Andrei Slavoiu
Modified: 2018-06-19 03:50 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 Andrei Slavoiu 2018-01-09 22:46:21 UTC
After upgrading to sys-apps/attr-2.4.48 I get an error like:
mv: relocation error: /lib64/libacl.so.1: symbol getxattr, version ATTR_1.0 not defined in file libattr.so.1 with link time reference

Since this affecting coreutils it effectively bricks the system as portage will no longer be able to install a package even from a saved binary one.

Note that objdump on libattr.so.1 shows that version ATTR_1.0 is still present, probably just missing that symbol:
Version definitions:
1 0x01 0x0c7a2aa1 libattr.so.1
2 0x00 0x09982870 ATTR_1.0
3 0x00 0x09982871 ATTR_1.1
        ATTR_1.0 
4 0x00 0x09982872 ATTR_1.2
        ATTR_1.1 
5 0x00 0x09982873 ATTR_1.3
        ATTR_1.2
Comment 1 Mike Gilbert gentoo-dev 2018-01-09 22:51:33 UTC

*** This bug has been marked as a duplicate of bug 644048 ***
Comment 2 SpanKY gentoo-dev 2018-06-19 03:50:31 UTC
attr-2.4.48-r1 provides a compat xattr.h, and acl-2.2.53 doesn't use attr/xattr.h

so this should be all set