Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@l.g.o
Cc: Norberto Bensa <norberto+gentoo-dev@×××××××××.cx>
Subject: [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20
Date: Mon, 06 Sep 2004 09:02:20
Message-Id: 1094461343.19100.5.camel@6-allhosts
In Reply to: Re: [gentoo-dev] Re: problem with cascade profiles by Norberto Bensa
1 On Sun, 2004-09-05 at 20:58, Norberto Bensa wrote:
2 > Jason Stubbs wrote:
3 > > portage-2.0.50_pre20 no longer does fetching as root. Make sure that
4 > > the /usr/portage directory also has write access by the portage group and
5 > > it should work.
6 >
7 > Ermm.... This is a RO-NFS shared distfiles and the file was already fetched.
8 Get out the paddles, that one is my fault. I've filed a bug for it-
9 http://bugs.gentoo.org/show_bug.cgi?id=62985
10 and corrected it in cvs. Basically it was a typo in the fetch function,
11 that by luck slipped by- instead of
12
13 if fetched != 2:
14
15 Which tests a var that reflects the files status (fully fetched,
16 partially, or non-existant), it was
17
18 if fetch != 2:
19
20 Kind of entertaining... it was comparing the fetch function against an
21 int :)
22
23 > Thanks. I've reverted to 2.0.50-r10 until those hiccups are fixed ;)
24 I attached a patch to #62985 that should fix things up for you. If it
25 doesn't, please post to the bug. Note this only affects readonly
26 distdir's, so general userbase shouldn't hit it.
27 ~brian

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20 Norberto Bensa <norberto+gentoo-dev@×××××××××.cx>