On Mon, Sep 07, 2009 at 04:53:05PM +0300, Penguin Lover Arttu V. squawked:
> On 9/7/09, Willie Wong <[email protected]> wrote:
> > On Mon, Sep 07, 2009 at 08:19:09PM +0800, Penguin Lover Xi Shen squawked:
> >> when i am trying to d/l the dmg2img ebuild, i found that the filename
> >> trying to d/l is 'download?dmg2img-1.6.tar.gz'. since th '?' mark has
> >> special mean in http/ftp, i cannot d/l the file. i have check many
> >> mirrors around the world, the results are the same. i think there's
> >> some wrong on the author's server, which cause this wrong filename.
> >> could someone here fix this?
> >
> > So your really should be trying to download
> >
> > http://vu1tur.eu.org/tools/download.pl?dmg2img-1.6.1.tar.gz
> 
> My guess was that OP meant that Gentoo Mirrors don't seem to carry the
> file, even if it is still directly downloadable?
> 
> Over here portage tries downloading it from mirrors first (naturally),
> gets 404s and then goes for the real source. So, maybe OP has a gentoo
> mirror available nearby (in network topology) and just wants to reduce
> wasted international traffic?

Ah, I didn't understand the OP correctly. I thought he was just
looking at the ebuild and trying to download the package manually. 

Hum, it looks like that on the mirrors, the file is stored
as 'download.pl?dmg2img-1.6.tar.gz', which may cause a problem. I
think you should file a bug! Maybe tell them to change SRC_URI to
something like
  SRC_URI="http://vu1tur.eu.org/tools/download.pl?${P}.tar.gz
    mirror://gentoo/download.pl%3f${P}.tar.gz"
So the the link to the version on the mirror works. 

Also... another thought. Don't know if it works: 
I vaguely remember something in EAPI-2 that may fix this problem,

http://ciaranm.wordpress.com/2008/09/28/eapi-2-src_uri-arrows/

It may not get acted on just yet, but it maybe better for the future.
So perhaps you can try mentioning it in your bug :)

W
-- 
"The whole thing is silly, but follow the next step and we'll move on."
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 1004 days, 13:26

Reply via email to