From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mkffa-00089V-Em for garchives@archives.gentoo.org; Mon, 07 Sep 2009 14:58:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84024E0966; Mon, 7 Sep 2009 14:58:12 +0000 (UTC) Received: from Princeton.EDU (postoffice05.Princeton.EDU [128.112.133.189]) by pigeon.gentoo.org (Postfix) with ESMTP id 64724E0966 for ; Mon, 7 Sep 2009 14:58:12 +0000 (UTC) Received: from smtpserver2.Princeton.EDU (smtpserver2.Princeton.EDU [128.112.129.148]) by Princeton.EDU (8.13.8/8.13.8) with ESMTP id n87EwCvL008450 for ; Mon, 7 Sep 2009 10:58:12 -0400 (EDT) Received: from sep.dynalias.net (fez.Princeton.EDU [128.112.129.190]) (authenticated bits=0) by smtpserver2.Princeton.EDU (8.12.9/8.12.9) with ESMTP id n87EwBGs020732 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Mon, 7 Sep 2009 10:58:11 -0400 (EDT) Received: by sep.dynalias.net (Postfix, from userid 1001) id EA75AD3CBB; Mon, 7 Sep 2009 10:58:34 -0400 (EDT) Date: Mon, 7 Sep 2009 10:58:34 -0400 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] cannot d/l dmg2img ebuild Message-ID: <20090907145834.GA6858@princeton.edu> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <53e35fd50909070519h5ac5fe3bpdebbbc6a4d91cab2@mail.gmail.com> <20090907130809.GA32552@princeton.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 057b9e03-bda6-44db-9025-155c98efd370 X-Archives-Hash: b8f258cf80399179b67a6b4f3acbb6ae On Mon, Sep 07, 2009 at 04:53:05PM +0300, Penguin Lover Arttu V. squawked: > On 9/7/09, Willie Wong 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