ports/150159: current ports Mk make fetch calls wget fails to support schemes

Julian H. Stacey jhs at berklix.com
Tue Aug 31 18:00:16 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list