Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15251 - improper uri formation when downloading multiple distfiles (same ebuild) from original site
Summary: improper uri formation when downloading multiple distfiles (same ebuild) from...
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 20:30 UTC by George Shapovalov (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
0 users

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


Attachments
gmt-3.4.2.ebuild (gmt-3.4.2.ebuild,2.00 KB, application/octet-stream)
2003-02-06 20:44 UTC, George Shapovalov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Shapovalov (RETIRED) gentoo-dev 2003-02-06 20:30:17 UTC
When processing app-sci/gmt (new submission) - the ebuild listing 5 sources in
SRC_URI, I encoutered the following:

groug gmt # ebuild gmt-3.4.2.ebuild fetch
>>> Downloading ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/GMT_high.tar.bz2
--17:16:13--  ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/GMT_high.tar.bz2
           => `/usr/portage/distfiles/GMT_high.tar.bz2'
Resolving ftp.gtlib.cc.gatech.edu... done.
Connecting to ftp.gtlib.cc.gatech.edu[130.207.108.134]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR GMT_high.tar.bz2 ... 
No such file `GMT_high.tar.bz2'.

>>> Downloading
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/GMT_high.tar.bz2
--17:16:26-- 
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/GMT_high.tar.bz2
           => `/usr/portage/distfiles/GMT_high.tar.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/GMT_high.tar.bz2
[following]
--17:16:27-- 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/GMT_high.tar.bz2
           => `/usr/portage/distfiles/GMT_high.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:16:31 ERROR 404: Not Found.

>>> Downloading
ftp://gmt.soest.hawaii.edu/pub/gmt/GMT3.4.2_scripts.tar.bz2ftp://gmt.soest.hawaii.edu/pub/gmt
/GMT3.4.2_pdf.tar.bz2ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_full.tar.bz2ftp://gmt.soest.hawaii.edu/pub/gmt/GM
T_high.tar.bz2
--17:16:31-- 
ftp://gmt.soest.hawaii.edu/pub/gmt/GMT3.4.2_scripts.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt/GM
T3.4.2_pdf.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt/GMT_full.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt/GMT_hig
h.tar.bz2
           => `/usr/portage/distfiles/GMT_high.tar.bz2'
Resolving gmt.soest.hawaii.edu... done.
Connecting to gmt.soest.hawaii.edu[128.171.159.169]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD
/pub/gmt/GMT3.4.2_scripts.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt/GMT3.4.2_pdf
.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt/GMT_full.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt
... 
No such directory
`pub/gmt/GMT3.4.2_scripts.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt/GMT3.4.2_pdf.tar.bz2ftp:
/gmt.soest.hawaii.edu/pub/gmt/GMT_full.tar.bz2ftp:/gmt.soest.hawaii.edu/pub/gmt'.

!!! Couldn't download GMT_high.tar.bz2. Aborting.

------------end listing---------------------

Please notice how it tries to download GMT_high.tar.bz2 from the mirrors and
what looks like concatenation of all SRC_URI's from the original site.

Quick check of the portage ChangeLog shows up one recent change that might be
related:
03 Feb 2003; Nicholas Jones <carpaski@gentoo.org> portage.py: Added
  quotes to fallback checksum code to ensure it works on space-containing
  filenames.

And yes, I observed this behavior with both -r10 and -r11. No idea if this was
the case earlier as well.

George
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-02-06 20:44:57 UTC
Created attachment 7993 [details]
gmt-3.4.2.ebuild

the "offending" ebuild
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2003-02-06 20:50:27 UTC
Ok, I think I found it. There were some spaces missed in the additional definition of SRC_URI downstream :(. Looks like it is working now. Though strange how it seemed to behave correctly while hitting mirrors...

George