Summary: | sys-apps/portage-2.2.1 USE=xattr with PORTDIR on NFS share - /usr/lib64/portage/bin/install.py: IOError: [Errno 95] Operation not supported | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Robert Trace <bugzilla-gentoo> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | 2.2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 484436 |
Description
Robert Trace
2013-09-11 01:33:21 UTC
I ran into this issue as well. You can fix it by disabling the 'xattr' USE flag for sys-apps/portage, then re-emerge. Would it be possible to change portage so that when the exception raised by copyxattrs is caught, a normal copy is tried before failing and exiting? With sys-apps/portage-2.2.3 I get: getfattr: /newaches/gentoo/cvs/gentoo-x86/net-misc/rsync/files/rsyncd.service: Operation not supported which is non-fatal. That's with user_xattr enabled for the NFS mount. This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=269593bc545ddb1df95985039b47b1201d1691ab Robert Trace or somebody else: Please test with Portage running under Python >=3.3. I suspect that a different exception might be raised. (The fix described in comment #3 is in code used with Python <3.3.) This should fix it for Python >=3.3: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a98be6fc2e7dfbf2dfff90bcecb672beb2a0a71e This is fixed in 2.2.5. Since Arfrever asked, here's portage-2.2.1 with python-3.3.2-r2: Traceback (most recent call last): File "/usr/lib64/portage/bin/install.py", line 248, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib64/portage/bin/install.py", line 243, in main returncode = copy_xattrs(opts, files) File "/usr/lib64/portage/bin/install.py", line 179, in copy_xattrs _copyxattr(s, abs_path, exclude=exclude) File "/usr/lib64/portage/pym/portage/util/movefile.py", line 75, in _copyxattr attrs = _os.listxattr(src) OSError: [Errno 95] Operation not supported: '/usr/portage/net-misc/rsync/files/rsyncd.service' -- Otherwise I can confirm that portage-2.2.6 fixed it with both python-2.7 and 3.3. Thanks! |