Gentoo Archives: gentoo-user

From: Rumen Yotov <rumen@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] WARNING! portage-2.1-pre5 doesn't work with distfiles on NFS
Date: Sun, 26 Feb 2006 12:28:07
Message-Id: 200602261420.06293.rumen@qrypto.org
In Reply to: Re: [gentoo-user] WARNING! portage-2.1-pre5 doesn't work with distfiles on NFS by Alexander Skwar
1 Hi,
2 On Sunday 26 February 2006 14:09, Alexander Skwar wrote:
3 > Rumen Yotov wrote:
4 > > Hi,
5 >
6 > Hello!
7 >
8 > > No problems for me. Might be because of some NFS issues.
9 >
10 > Just to clarify - you also don't have distfiles local
11 > but mount it from some NFS server?
12 >
13 No just simple local portage-tree. Thanks anyway.
14 > In the bug, there's now a patch for pym/portage_locks.py, which did:
15 >
16 > - if type(lockfilename) == types.StringType and
17 > os.fstat(myfd).st_nlink != 1: + if type(lockfilename) ==
18 > types.StringType and \
19 > + myfd != HARDLINK_FD and os.fstat(myfd).st_nlink != 1:
20 >
21 > So, another check "myfd != HARDLINK_FD" has been added.
22 >
23 > This fixed it for me.
24 >
25 > Alexander Skwar
26 > --
27 > Military victories are meaningless unless they reflect the wishes
28 > of the populace. An Emperor exists only to clarify those wishes.
29 > He executes the popular will, or his time is short.
30 > -- Principium, Imperial Leadership Academy
31 Rumen