Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153967 - Sourceforge downloads fail on redirect due to failed mirrors
Summary: Sourceforge downloads fail on redirect due to failed mirrors
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 187293
  Show dependency tree
 
Reported: 2006-11-03 14:17 UTC by Bernhard Frauendienst
Modified: 2007-07-31 22:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Frauendienst 2006-11-03 14:17:34 UTC
I just tried to fetch a package for a ebuild in development (using ebuild fetch), and it failed because the download from sourceforge failed on the first mirror, and wget saved the file with "?download&failedmirror=nchc.dl.sourceforge.net" appended to the filename.

The SRC_URI used in the ebuild is "mirror://sourceforge/${PN}/${P}-bin.tar.gz"

I tried a few more times and finally got a working mirror on first try, the file got saved just right in this case.

A possible solution would be to use the --output-document flag to wget to specify the filename outfront (basename of the SRC_URI item).
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-06-06 00:48:13 UTC
Anyone having an opinion on this one?
Comment 2 Zac Medico gentoo-dev 2007-06-06 04:09:45 UTC
Thanks, this is fixed in svn r6741.
Comment 3 Zac Medico gentoo-dev 2007-07-31 22:38:45 UTC
This has been released in 2.1.2.11.