FYI

I just upgraded to portage-2.1-pre5, and since then, I cannot
have emerge download files anymore. It'll always error out
with a message like this:

>>> Emerging (1 of 1) sys-apps/man-pages-2.24 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3304, in ?
    mydepgraph.merge(pkglist)
  File "/usr/bin/emerge", line 1978, in merge

retval=portage.doebuild(y,"package",myroot,self.pkgsettings,edebug,tree="porttree")
  File "/usr/lib/portage/pym/portage.py", line 2823, in doebuild
    if need_distfiles and not fetch(fetchme, mysettings, listonly=listonly,
fetchonly=fetchonly):
  File "/usr/lib/portage/pym/portage.py", line 1880, in fetch
    file_lock =
portage_locks.lockfile(mysettings["DISTDIR"]+"/"+locks_in_subdir+"/"+myfile,wantnewlockfile=1)
  File "/usr/lib/portage/pym/portage_locks.py", line 125, in lockfile
    if type(lockfilename) == types.StringType and os.fstat(myfd).st_nlink != 1:
OSError: [Errno 9] Bad file descriptor


That might be, because distfiles (and thus the .locks
directory) is on a NFS export.

See https://bugs.gentoo.org/show_bug.cgi?id=124140

Alexander Skwar
-- 
Cleveland: Oh Quagmire, you are what the Spanish call, "Il Terrible"
-- 
[email protected] mailing list

Reply via email to