Summary: | Cannot chown a lockfile: '/usr/portage/distfiles/.linux-3.1.tar.bz2.portage_lockfile' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vicente Olivert Riera (RETIRED) <vincent> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Vicente Olivert Riera (RETIRED)
![]() ..moving the pastebin content into the bug: [14:41:04] root@fujitsu /home/peratu # emerge -DNu world Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-kernel/gentoo-sources-3.1.0-r1 [Errno 22] Invalid argument: '/usr/portage/distfiles/.linux-3.1.tar.bz2.portage_lockfile': chown('/usr/portage/distfiles/.linux-3.1.tar.bz2.portage_lockfile', -1, 250) Cannot chown a lockfile: '/usr/portage/distfiles/.linux-3.1.tar.bz2.portage_lockfile' Group IDs of current user: 0 1 2 3 4 6 10 11 20 26 27 1006 * linux-3.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] Traceback (most recent call last): File "/usr/lib64/portage/pym/_emerge/EbuildFetcher.py", line 186, in _spawn allow_missing_digests=allow_missing): File "/usr/lib64/portage/pym/portage/package/ebuild/fetch.py", line 653, in fetch stat_cached=mystat) File "/usr/lib64/portage/pym/portage/util/__init__.py", line 1078, in apply_secpass_permissions stat_cached=stat_cached, follow_links=follow_links) File "/usr/lib64/portage/pym/portage/util/__init__.py", line 908, in apply_permissions os.chown(filename, uid, gid) File "/usr/lib64/portage/pym/portage/__init__.py", line 215, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) OSError: [Errno 22] Invalid argument: '/usr/portage/distfiles/linux-3.1.tar.bz2' * Fetch failed for 'sys-kernel/gentoo-sources-3.1.0-r1', Log file: * '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.0-r1/temp/build.log' >>> Failed to emerge sys-kernel/gentoo-sources-3.1.0-r1, Log file: >>> '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.0-r1/temp/build.log' * Messages for package sys-kernel/gentoo-sources-3.1.0-r1: * Fetch failed for 'sys-kernel/gentoo-sources-3.1.0-r1', Log file: * '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.0-r1/temp/build.log' [15:42:06] root@fujitsu /home/peratu # This definitely seems to be an issue relating to permissions on either the NFS server or client. I would recommend changing your setup -- either adjusting the permissions of that share, or switching things around so that you use a local distfiles dir and a local distfiles mirror. Specific to the permissions issue, i am unsure of what exactly you'll need to set to fix this; it could just be that the gid's don't match up between systems? Another issue might simply be that the lockfile exists and shouldn't; perhaps try removing it from the server? Either way though, this doesn't look like a bug to me. |