[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ports-bugs
Subject:    ports/150159: current ports Mk make fetch calls wget fails to
From:       "Julian H. Stacey" <jhs () berklix ! com>
Date:       2010-08-31 17:39:32
Message-ID: 201008311739.o7VHdWDY048477 () fire ! js ! berklix ! net
[Download RAW message or body]


> 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:
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic