Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130376 - strange fetch error on our primary distfiles mirror
Summary: strange fetch error on our primary distfiles mirror
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-18 09:45 UTC by Alin Năstac (RETIRED)
Modified: 2006-04-19 13:26 UTC (History)
1 user (show)

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


Attachments
join uri safely in fetching_lib.py (safe_uri_join.patch,287 bytes, patch)
2006-04-19 01:30 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2006-04-18 09:45:02 UTC
After several days, the program that fetches SRC_URIs from our ebuilds still didn't managed to put x11-libs/wxGTK-2.6.3.2 tarballs on distfiles.
emerge -f manages to download the tarballs, but from sf.net mirrors.
The page http://dev.gentoo.org/distfile-mirroring/failure.xml is very brief about it (wxWidgets-2.6.3-HTML.tar.gz ... fetcher return no uris succeeded).

I suspect there is something wrong with the fetch script.
Comment 1 Zac Medico gentoo-dev 2006-04-19 01:30:36 UTC
Created attachment 84940 [details, diff]
join uri safely in fetching_lib.py 

I've applied this patch to fix the problem which was due to double slash characters in the uri.  Here is an example from the actual log in ~distfiles/last-individual-fetch-logs/

wget -c -v -t 1 --passive-ftp --timeout=60 -O /home/distfiles/tmp/wxWidgets-2.6.3-HTML.tar.gz http://ufpr.dl.sourceforge.net/sourceforge//wxwindows/wxWidgets-2.6.3-HTML.tar.gz
--20:23:19--  http://ufpr.dl.sourceforge.net/sourceforge//wxwindows/wxWidgets-2.6.3-HTML.tar.gz
           => `/home/distfiles/tmp/wxWidgets-2.6.3-HTML.tar.gz'
Resolving ufpr.dl.sourceforge.net... 200.17.202.1
Connecting to ufpr.dl.sourceforge.net|200.17.202.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://prdownloads.sourceforge.net//wxwindows/wxWidgets-2.6.3-HTML.tar.gz?download&failedmirror=ufpr.dl.sourceforge.net [following]
--20:23:19--  http://prdownloads.sourceforge.net//wxwindows/wxWidgets-2.6.3-HTML.tar.gz?download&failedmirror=ufpr.dl.sourceforge.net
           => `/home/distfiles/tmp/wxWidgets-2.6.3-HTML.tar.gz'
Resolving prdownloads.sourceforge.net... 66.35.250.217
Connecting to prdownloads.sourceforge.net|66.35.250.217|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
20:23:19 ERROR 404: Not Found.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-04-19 09:05:37 UTC
the failure.xml list seems a lot shorter now.
problem solved as far as I'm concerned. thanks!
Comment 3 Zac Medico gentoo-dev 2006-04-19 13:26:40 UTC
(In reply to comment #2)
> the failure.xml list seems a lot shorter now.
> problem solved as far as I'm concerned. thanks!

Thanks for reporting the issue.  I'm surprised the problem has existed for so long.