ports/62302: SIZE in distinfos causes failure with FETCH_CMD=wget

Vasil Dimov vd at datamax.bg.dot
Tue Feb 3 08:30:25 UTC 2004


>Number:         62302
>Category:       ports
>Synopsis:       SIZE in distinfos causes failure with FETCH_CMD=wget
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 03 00:30:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
DataMax
>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
>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.
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> 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#
 



More information about the freebsd-ports-bugs mailing list