public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Norberto Bensa <norberto+gentoo-dev@bensa.ath.cx>
Subject: [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20
Date: Mon, 06 Sep 2004 04:02:24 -0500	[thread overview]
Message-ID: <1094461343.19100.5.camel@6-allhosts> (raw)
In-Reply-To: <200409052258.48457.norberto+gentoo-dev@bensa.ath.cx>

[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]

On Sun, 2004-09-05 at 20:58, Norberto Bensa wrote:
> Jason Stubbs wrote:
> > portage-2.0.50_pre20 no longer does fetching as root. Make sure that
> > the /usr/portage directory also has write access by the portage group and
> > it should work.
> 
> Ermm.... This is a RO-NFS shared distfiles and the file was already fetched. 
Get out the paddles, that one is my fault.  I've filed a bug for it-
http://bugs.gentoo.org/show_bug.cgi?id=62985
and corrected it in cvs.  Basically it was a typo in the fetch function,
that by luck slipped by- instead of 

if fetched != 2:

Which tests a var that reflects the files status (fully fetched,
partially, or non-existant), it was

if fetch != 2:

Kind of entertaining... it was comparing the fetch function against an
int :)

> Thanks. I've reverted to 2.0.50-r10 until those hiccups are fixed ;)
I attached a patch to #62985 that should fix things up for you.  If it
doesn't, please post to the bug.  Note this only affects readonly
distdir's, so general userbase shouldn't hit it.
~brian

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-09-06  9:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-05 16:42 [gentoo-dev] problem with cascade profiles Norberto Bensa
2004-09-05 17:36 ` Andrew Gaffney
2004-09-05 17:47   ` Norberto Bensa
2004-09-05 17:54     ` [gentoo-dev] " Sebastian Bergmann
2004-09-05 18:15       ` Norberto Bensa
2004-09-05 19:10       ` Norberto Bensa
2004-09-05 23:23         ` Jason Stubbs
2004-09-06  1:58           ` Norberto Bensa
2004-09-06  7:18             ` Daniel Goller
2004-09-06  8:29             ` Daniel Goller
2004-09-06  9:02             ` Brian Harring [this message]
2004-09-06 14:44               ` [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20 Norberto Bensa
2004-09-06  4:56           ` [gentoo-dev] Re: problem with cascade profiles Sebastian Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1094461343.19100.5.camel@6-allhosts \
    --to=ferringb@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=norberto+gentoo-dev@bensa.ath.cx \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox