Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] WARNING! portage-2.1-pre5 doesn't work with distfiles on NFS Rumen Yotov <rumen@××××××.org>