SIZE in distinfos causes failure with FETCH_CMD=wget

Vasil Dimov vd at datamax.bg.dot
Tue Feb 3 00:29:53 PST 2004


>Submitter-Id:	current-users
>Originator:	Vasil Dimov
>Organization:	DataMax
>Confidential:	no 
>Synopsis:	SIZE in distinfos causes failure with FETCH_CMD=wget
>Severity:	non-critical
>Priority:	medium
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 5.2-RELEASE i386
>Environment:
System: FreeBSD sinanica.lg2a.datamax 5.2-RELEASE FreeBSD 5.2-RELEASE #1: Tue Jan 20 10:22:51 EET 2004 root at sinanica.lg2a.datamax:/usr/obj/usr/src/sys/SINANICA i386
>Description:
As I see there is a new feature in ports - SIZE in distinfo files. (/usr/ports/CHANGES 20040129)
Existence of the SIZE line causes `-S bytes' to be passed to the fetch command
(according to FETCH_CMD). As it appears wget does not support this feature.

sinanica:/usr/ports/devel/gettext# cat distinfo
MD5 (gettext-0.13.1.tar.gz) = b3477289185e7781527345c14a4565de
SIZE (gettext-0.13.1.tar.gz) = 6458256
sinanica:/usr/ports/devel/gettext# make FETCH_CMD=wget fetch
>> gettext-0.13.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://kutelo1.lg2a.datamax/pub/FreeBSD/ports/distfiles//.
wget: unknown option --
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
sinanica:/usr/ports/devel/gettext# make FETCH_CMD=echo fetch
>> gettext-0.13.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://kutelo1.lg2a.datamax/pub/FreeBSD/ports/distfiles//.
-S 6458256 http://kutelo1.lg2a.datamax/pub/FreeBSD/ports/distfiles//gettext-0.13.1.tar.gz
sinanica:/usr/ports/devel/gettext#

>How-To-Repeat:
cd /usr/ports/devel/gettext
make FETCH_CMD=wget fetch
>Fix:
Workarounds:
1. Remove SIZE lines from distinfo file
2. Do not use FETCH_CMD=wget. Heh. Do not use FETCH_CMD at all.


More information about the freebsd-ports mailing list