* [gentoo-user] cannot d/l dmg2img ebuild @ 2009-09-07 12:19 Xi Shen 2009-09-07 13:08 ` Willie Wong 0 siblings, 1 reply; 6+ messages in thread From: Xi Shen @ 2009-09-07 12:19 UTC (permalink / raw To: gentoo-user, gentoo-dev Hi, 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? -- Best Regards, David Shen http://twitter.com/davidshen84 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cannot d/l dmg2img ebuild 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. 0 siblings, 2 replies; 6+ messages in thread From: Willie Wong @ 2009-09-07 13:08 UTC (permalink / raw To: gentoo-user 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? Either you made a typo or there's a typo in the ebuild somehow. Looking at my copy of the ebuild (which I last synced, well, a while ago. This is on a stable box that doesn't need much updating.): # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/dmg2img/dmg2img-1.6.ebuild,v1.1 2009/05/24 10:33:28 ssuominen Exp $ EAPI=2 inherit toolchain-funcs DESCRIPTION="Converts Apple DMG files to standard HFS+ images" HOMEPAGE="http://vu1tur.eu.org/tools" SRC_URI="http://vu1tur.eu.org/tools/download.pl?${P}.tar.gz" So your really should be trying to download http://vu1tur.eu.org/tools/download.pl?dmg2img-1.6.1.tar.gz Notice the .pl? The author has the downloads fed via some sort of perl script... so the question mark '?' makes perfect sense. W -- "You'd better hope that the planet's orbits are stable, because if they weren't then every time somebody sneezed you'd fret about whether the Earth would go careening off." ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 1004 days, 11:57 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cannot d/l dmg2img ebuild 2009-09-07 13:08 ` Willie Wong @ 2009-09-07 13:33 ` Massimo Gengarelli 2009-09-07 13:53 ` Arttu V. 1 sibling, 0 replies; 6+ messages in thread From: Massimo Gengarelli @ 2009-09-07 13:33 UTC (permalink / raw To: gentoo-user No problems here, I've just installed and used dmg2img successfully. 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? -- Massimo Gengarelli. Computer Science student @ http://www.unibo.it . http://massitm.sohead.org <-- my personal, outdated, website. What is the difference between a Turing machine and the modern computer? It's the same as that between Hillary's ascent of Everest and the establishment of a Hilton on its peak. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cannot d/l dmg2img ebuild 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 1 sibling, 1 reply; 6+ messages in thread From: Arttu V. @ 2009-09-07 13:53 UTC (permalink / raw To: gentoo-user 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? -- Arttu V. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cannot d/l dmg2img ebuild 2009-09-07 13:53 ` Arttu V. @ 2009-09-07 14:58 ` Willie Wong 2009-09-08 13:33 ` Xi Shen 0 siblings, 1 reply; 6+ messages in thread From: Willie Wong @ 2009-09-07 14:58 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cannot d/l dmg2img ebuild 2009-09-07 14:58 ` Willie Wong @ 2009-09-08 13:33 ` Xi Shen 0 siblings, 0 replies; 6+ messages in thread From: Xi Shen @ 2009-09-08 13:33 UTC (permalink / raw To: gentoo-user yeah, that's the problem. the file on the mirror has a bad filename. anyway i managed to get it installed. thanks ;) On Mon, Sep 7, 2009 at 10:58 PM, Willie Wong<wwong@math.princeton.edu> wrote: > 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 > > -- Best Regards, David Shen http://twitter.com/davidshen84 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-08 13:33 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2009-09-08 13:33 ` Xi Shen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox