Date: Tue, 31 Aug 2010 19:39:32 +0200 (CEST) From: "Julian H. Stacey" <jhs@berklix.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ports@FreeBSD.org, "Julian H. Stacey" <jhs@berklix.com> Subject: ports/150159: current ports Mk make fetch calls wget fails to support schemes Message-ID: <201008311739.o7VHdWDY048477@fire.js.berklix.net> Resent-Message-ID: <201008311800.o7VI0Fpn096434@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150159 >Category: ports >Synopsis: current ports Mk make fetch calls wget fails to support schemes >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 31 18:00:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Julian H. Stacey >Release: current >Organization: http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen. >Environment: System: FreeBSD fire.js.berklix.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Mon Jul 12 00:59:43 CEST 2010 jhs@fire.js.berklix.net:/usr1/src/sys/amd64/compile/FIRE64.small amd64 >Description: Using a base of 8.0-RELEASE & cd /pri/FreeBSD/branches/-current/ports setenv PORTSDIR `/bin/pwd` cd sysutils/tarsnap make fetch Mk/ has regressed in current & now fails to fetch URLS of type file:///usr/bla/ /usr/bla/ with error: /usr/home/jhs/tmp/tarsnap-autoconf-1.0.27.tgz: Unsupported scheme. file:///host/gate/usr/home/jhs/tmp/tarsnap-autoconf-1.0.27.tgz: \ Unsupported scheme. >From make.conf fragment: DIS_LOCAL+= /usr/home/jhs/tmp/distfiles/ DIS_LOCAL+= file:///usr/home/jhs/tmp/distfiles/ MASTER_SITE_OVERRIDE= ${DIS_LOCAL} make fetch used to call src/ BSD licensed fetch it now calls FSF GNU licensed wget, You can see why it fails with cd sysutils/tarsnap ; make fetch-list Even after one has found where Unsupported scheme comes from & tried to work round it with make.conf assertion of FETCH_BINARY=/usr/bin/fetch as shown in bsd.port.mk /usr/src/usr.bin/fetch is still not used. >How-To-Repeat: See above >Fix: Revert Mk invocation back to longer invoke FSF/GNU licensed wget & instead again invoke BSD licensed src/ provided fetch, until such time as wget might be capable of offering all schemes BSD fetch already does. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008311739.o7VHdWDY048477>