From owner-freebsd-ports@FreeBSD.ORG Sat Jun 1 12:47:20 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BBF218C3 for ; Sat, 1 Jun 2013 12:47:20 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 806C1EC0 for ; Sat, 1 Jun 2013 12:47:20 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1UilDL-0018Gv-9r>; Sat, 01 Jun 2013 14:47:19 +0200 Received: from e179066068.adsl.alicedsl.de ([85.179.66.68] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1UilDL-001lkv-5H>; Sat, 01 Jun 2013 14:47:19 +0200 Date: Sat, 1 Jun 2013 14:47:18 +0200 From: "O. Hartmann" To: Steve Wills Subject: Re: fetch: expansion of correct source location in MASTER_SITES fails Message-ID: <20130601144718.439a2f35@thor.walstatt.dyndns.org> In-Reply-To: <51A9DF95.3010604@mouf.net> References: <20130601131703.690b5fc6@thor.walstatt.dyndns.org> <51A9DF95.3010604@mouf.net> Organization: FU Berlin X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/E=BofT5GB1Ll4RfpF6lmVDb"; protocol="application/pgp-signature" X-Originating-IP: 85.179.66.68 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 12:47:20 -0000 --Sig_/E=BofT5GB1Ll4RfpF6lmVDb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 01 Jun 2013 11:48:37 +0000 Steve Wills wrote: > On 06/01/13 11:17, O. Hartmann wrote: > >=20 > > I'm preparing a port and I fail downloading the sources, although > > the base URL and the target tar ball are expanded correctly. But > > the fetch process then complains with this: > >=20 > > [...] > > =3D=3D=3D> pocl-0.8.0 depends on file: /usr/local/sbin/pkg - found > > =3D> pocl-0.8rc1.tar.gz doesn't seem to exist > > in /usr/ports/distfiles/. =3D> Attempting to fetch > > http://sourceforge.net/projects/pocl/files/pocl-0.8rc1.tar.gz fetch: > > http://sourceforge.net/projects/pocl/files/pocl-0.8rc1.tar.gz: Moved > > Temporarily > >=20 > > If one the takes the error line named > >=20 > > fetch http://sourceforge.net/projects/pocl/files/pocl-0.8rc1.tar.gz > >=20 > > and issue it directly on the console, surprisingly the the fetch > > works! This is weird. > >=20 > > What is wrong here? Is this a bug in fetch? >=20 > Nothing is wrong here. The "=3D> Attempting..." line is not trying to > tell you what command it is running, but rather what it is doing. > This result is perfectly normal due to the default args that ports > pass to fetch. See bsd.port.mk: >=20 > 2214 FETCH_ARGS?=3D -AFpr >=20 > The fetch man page will explain these further. >=20 > For Sourceforge, there is a "SF" macro in bsd.sites.mk which you > should use so that users will try the various mirrors. Many ports use > this, so there are many examples to follow. >=20 > Steve Thank you for clearify this. Even if I use the SF macro and set FETCH_ARGS=3D to en ampty string (I suppose this will result in a "plain" fetch command without options) the result is as described intially. Applying the -v option to fetch then shows what happens and everything looks fine to me so far - except that the Makefile-Port-Fetch doesn't work. This is strange! --Sig_/E=BofT5GB1Ll4RfpF6lmVDb Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJRqe1WAAoJEOgBcD7A/5N8VmUH/jMpRZOUeAiFtkVMk9UjSijW 1QezMEpNrx+2gbK4hX8b0Qh77Gj7RDUQ1nwNkvelN7uu8v5KufkNYLhY1wmaC/un 1S4Ja7ma9dga7OQl8aSKt2tO70nEMYEi6wr4pnDu23sb0HaQ45dO5bCUj6n/TWf0 6Uc1idzPowwl1+g3utqsfnJ+MY7Qwk00T3aeRbVwkIFV4Z0+7sguhYoFCnnxv/9d HV0GMYWt+bcaXoYQpNa7V512bc66I+VFdGjB3qbhObxPXad9apQKhMcvKjeUbBIk 0XcS1sAR4TBPqSRrmNMlqTSQth6qu4F9+KtVBmftTV4GSRupayBuTecYb24z1vM= =uP1M -----END PGP SIGNATURE----- --Sig_/E=BofT5GB1Ll4RfpF6lmVDb--