Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62985 - readonly distfiles dir and emerge -f thinks files aren't fully fetched
Summary: readonly distfiles dir and emerge -f thinks files aren't fully fetched
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Brian Harring (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-09-06 01:38 UTC by Brian Harring (RETIRED)
Modified: 2004-10-22 08:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fetch-fix.patch (fetch-fix.patch,1.16 KB, patch)
2004-09-06 01:47 UTC, Brian Harring (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2004-09-06 01:38:09 UTC
Summary pretty much says it all- thank you to Norberto Bensa for questioning this on the gentoo-dev mailing list.
There is a subtle logic error in fetch that only raises it's head when a DISTDIR is readonly, and a file is fully fetched.

I'll be attaching a patch shortly.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-09-06 01:47:37 UTC
Created attachment 39035 [details, diff]
fetch-fix.patch

Corrects the logic issue.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:47:51 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2