Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2004 10:29:45 +0200
From:      Vasil Dimov <vd@datamax.bg.dot>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   ports/62302: SIZE in distinfos causes failure with FETCH_CMD=wget
Message-ID:  <1075796985.964405.22320.nullmailer@sinanica.lg2a.datamax>
Resent-Message-ID: <200402030830.i138ULYV074933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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#
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1075796985.964405.22320.nullmailer>