Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308415 - sys-apps/portage-2.2_rc63/2.1.8 fetch fails with empty GENTOO_MIRRORS
Summary: sys-apps/portage-2.2_rc63/2.1.8 fetch fails with empty GENTOO_MIRRORS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 307597
  Show dependency tree
 
Reported: 2010-03-08 05:26 UTC by Sebastian Pipping
Modified: 2010-03-08 10:36 UTC (History)
2 users (show)

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


Attachments
fix broken uri (fetch.patch,1.64 KB, patch)
2010-03-08 06:57 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2010-03-08 05:26:32 UTC
Finally I found a case to reproduce this:
=====================================================
# cd /usr/portage/dev-scheme/guile-cairo
# GENTOO_MIRRORS= ebuild guile-cairo-1.4.0.ebuild manifest clean install
>>> Creating Manifest for /usr/portage/dev-scheme/guile-cairo
>>> Downloading 'guile-cairo-1.4.0.tar.gz'
--2010-03-08 06:16:54--  http://guile-cairo-1.4.0.tar.gz/
Resolving guile-cairo-1.4.0.tar.gz... failed: Name or service not known.
wget: unable to resolve host address `guile-cairo-1.4.0.tar.gz'
!!! Couldn't download 'guile-cairo-1.4.0.tar.gz'. Aborting.
=====================================================

Notice "http://guile-cairo-1.4.0.tar.gz/" in there.
This is not SRC_URI.  No eclass is touching it as no eclass is used in that ebuild.  Very odd :-)
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-08 06:22:01 UTC
Ok, I think these are the conditions:
* Manifest must already contain the checksums for the ${SRC_URI}. This way, when the manifest stage is run, the file isn't fetched beforehand.
* fetch must be set to be invoked after running the manifest stage:

Then the following will fail (for empty GENTOO_MIRRORS or for any package not hosted by the gentoo mirrors):
ebuild *.ebuild manifest fetch

It's as if the manifest stage is editing ${SRC_URI}.
Comment 2 Zac Medico gentoo-dev 2010-03-08 06:57:36 UTC
Created attachment 222617 [details, diff]
fix broken uri
Comment 3 Zac Medico gentoo-dev 2010-03-08 07:02:07 UTC
It's been broken since r15310.
Comment 4 Zac Medico gentoo-dev 2010-03-08 10:34:39 UTC
This is fixed in 2.1.8.2 and 2.2_rc66.
Comment 5 Sebastian Pipping gentoo-dev 2010-03-08 10:36:33 UTC
> This is fixed in 2.1.8.2 and 2.2_rc66.

AWESOME!