Date: Sat, 1 Jun 2013 14:47:18 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Steve Wills <steve@mouf.net> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <steve@mouf.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130601144718.439a2f35>