Neil Bothwick schrieb: > On Mon, 22 Aug 2005 10:55:36 +0200, Alexander Skwar wrote: > >> As you can see, emerge (/usr/lib/portage/pym/portage_locks.py) failed >> to create a lock file - or rather failed to lock the file. > > Add distlocks to FEATURES in make.conf
I already had distlocks in the FEATURES - must be some default thing, as I did not add in the make.conf. Anyway, I now added distlocks in make.conf - still no go :( [EMAIL PROTECTED] ~ $ sudo emerge -vat app-text/txt2man These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild N ] app-text/txt2man-1.4.8-r1 11 kB Total size of downloads: 11 kB Do you want me to merge these packages? [Yes/No] >>> emerge (1 of 1) app-text/txt2man-1.4.8-r1 to / Traceback (most recent call last): File "/usr/bin/emerge", line 3200, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1912, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug) File "/usr/lib/portage/pym/portage.py", line 2664, in doebuild if mydo!="manifest" and not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly): File "/usr/lib/portage/pym/portage.py", line 1819, in fetch file_lock = portage_locks.lockfile(mysettings["DISTDIR"]+"/"+locks_in_subdir+"/"+myfile,wantnewlockfile=1) File "/usr/lib/portage/pym/portage_locks.py", line 93, in lockfile fcntl.lockf(myfd,fcntl.LOCK_EX|fcntl.LOCK_NB) IOError: [Errno 13] Permission denied [EMAIL PROTECTED] ~ $ emerge info | grep -i FEAT FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" [EMAIL PROTECTED] ~ $ emerge info | grep DISTDIR DISTDIR="/Gentoo/Portage/distfiles" [EMAIL PROTECTED] ~ $ grep /Gentoo/Portage/distfiles /etc/autofs/auto.misc distfiles -fstype=nfs,bg,hard,tcp,rsize=8192,wsize=8192,nfsvers=3,timeo=14 server:/Gentoo/Portage/distfiles On the "server": /Gentoo/Portage/distfiles *.bei.digitalprojects.com(sync,rw,no_root_squash) Why is portage failing to create a lock? (Answer: Because it's not allow - "Permission denied". Q: Why is the permission not granted? What to do, to grant the permission?) Alexander Skwar -- gentoo-user@gentoo.org mailing list