Gentoo Archives: gentoo-user

From: Xi Shen <davidshen84@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cannot d/l dmg2img ebuild
Date: Tue, 08 Sep 2009 13:33:36
Message-Id: 53e35fd50909080633w47960e56w9ae5f627e36f8165@mail.gmail.com
In Reply to: Re: [gentoo-user] cannot d/l dmg2img ebuild by Willie Wong
1 yeah, that's the problem. the file on the mirror has a bad filename.
2 anyway i managed to get it installed.
3
4 thanks ;)
5
6 On Mon, Sep 7, 2009 at 10:58 PM, Willie Wong<wwong@××××××××××××××.edu> wrote:
7 > On Mon, Sep 07, 2009 at 04:53:05PM +0300, Penguin Lover Arttu V. squawked:
8 >> On 9/7/09, Willie Wong <wwong@××××××××××××××.edu> wrote:
9 >> > On Mon, Sep 07, 2009 at 08:19:09PM +0800, Penguin Lover Xi Shen squawked:
10 >> >> when i am trying to d/l the dmg2img ebuild, i found that the filename
11 >> >> trying to d/l is 'download?dmg2img-1.6.tar.gz'. since th '?' mark has
12 >> >> special mean in http/ftp, i cannot d/l the file. i have check many
13 >> >> mirrors around the world, the results are the same. i think there's
14 >> >> some wrong on the author's server, which cause this wrong filename.
15 >> >> could someone here fix this?
16 >> >
17 >> > So your really should be trying to download
18 >> >
19 >> > http://vu1tur.eu.org/tools/download.pl?dmg2img-1.6.1.tar.gz
20 >>
21 >> My guess was that OP meant that Gentoo Mirrors don't seem to carry the
22 >> file, even if it is still directly downloadable?
23 >>
24 >> Over here portage tries downloading it from mirrors first (naturally),
25 >> gets 404s and then goes for the real source. So, maybe OP has a gentoo
26 >> mirror available nearby (in network topology) and just wants to reduce
27 >> wasted international traffic?
28 >
29 > Ah, I didn't understand the OP correctly. I thought he was just
30 > looking at the ebuild and trying to download the package manually.
31 >
32 > Hum, it looks like that on the mirrors, the file is stored
33 > as 'download.pl?dmg2img-1.6.tar.gz', which may cause a problem. I
34 > think you should file a bug! Maybe tell them to change SRC_URI to
35 > something like
36 >  SRC_URI="http://vu1tur.eu.org/tools/download.pl?${P}.tar.gz
37 >    mirror://gentoo/download.pl%3f${P}.tar.gz"
38 > So the the link to the version on the mirror works.
39 >
40 > Also... another thought. Don't know if it works:
41 > I vaguely remember something in EAPI-2 that may fix this problem,
42 >
43 > http://ciaranm.wordpress.com/2008/09/28/eapi-2-src_uri-arrows/
44 >
45 > It may not get acted on just yet, but it maybe better for the future.
46 > So perhaps you can try mentioning it in your bug :)
47 >
48 > W
49 > --
50 > "The whole thing is silly, but follow the next step and we'll move on."
51 > ~DeathMech, S. Sondhi. P-town PHY 205
52 > Sortir en Pantoufles: up 1004 days, 13:26
53 >
54 >
55
56
57
58 --
59 Best Regards,
60 David Shen
61
62 http://twitter.com/davidshen84