From: Willie Wong <wwong@math.princeton.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cannot d/l dmg2img ebuild
Date: Mon, 7 Sep 2009 10:58:34 -0400 [thread overview]
Message-ID: <20090907145834.GA6858@princeton.edu> (raw)
In-Reply-To: <fecdbac60909070653u4f921811yf4ee4307ffcea954@mail.gmail.com>
On Mon, Sep 07, 2009 at 04:53:05PM +0300, Penguin Lover Arttu V. squawked:
> On 9/7/09, Willie Wong <wwong@math.princeton.edu> 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
next prev parent reply other threads:[~2009-09-07 14:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-07 12:19 [gentoo-user] cannot d/l dmg2img ebuild Xi Shen
2009-09-07 13:08 ` Willie Wong
2009-09-07 13:33 ` Massimo Gengarelli
2009-09-07 13:53 ` Arttu V.
2009-09-07 14:58 ` Willie Wong [this message]
2009-09-08 13:33 ` Xi Shen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090907145834.GA6858@princeton.edu \
--to=wwong@math.princeton.edu \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox