Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566212 - sys-apps/portage: install-xattr: setxattr() failed: Operation not supported (/usr/portage is on NFS)
Summary: sys-apps/portage: install-xattr: setxattr() failed: Operation not supported (...
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 13:07 UTC by Christian Parpart
Modified: 2016-06-22 16:22 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 Christian Parpart 2015-11-19 13:07:46 UTC
long story short, mount your portage dir via NFS from somewhere, install an ebuild that does something like `dosbin ${FILESDIR}/...` (or similar) in `src_install()`, and you'll see that it will fail with a message like this:

    install-xattr: setxattr() failed: Operation not supported

This message (while misleading) is, because your portage directory is mounted via NFS and thus, your $FILESDIR is being listxattr(2)'d returning values that install-xattr binary cannot getxattr(2).

Whilst this looks like a bad behaviour of the NFS mount, one may want to imply, that install-xattr (used by portage by *default*) should be able to handle those cases.

Best Regards,
Christian Parpart.
Comment 1 Zac Medico gentoo-dev 2015-11-19 16:58:23 UTC
Please export PORTAGE_INSTALL_XATTR_IMPLEMENTATION="python" to try it with portage's internal install-xattr implementation, and see if that outputs any more useful information.

The fact that it complains about setxattr failing suggests that you lack xattr support inside ${PORTAGE_TMPDIR}.