From owner-freebsd-ports@FreeBSD.ORG Tue Feb 3 00:29:52 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB46A16A4CE; Tue, 3 Feb 2004 00:29:52 -0800 (PST) Received: from gw-bj2.datamax.bg (datamax.wl.bitex.com [195.34.115.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C92F43D46; Tue, 3 Feb 2004 00:29:50 -0800 (PST) (envelope-from vd@datamax.bg) Received: from sinanica.lg2a.datamax (sinanica.lg2a.datamax [192.168.10.1]) by gw-bj2.datamax.bg (Postfix) with QMQP id 3701787FD; Tue, 3 Feb 2004 10:29:46 +0200 (EET) Received: (nullmailer pid 22321 invoked by uid 1001); Tue, 03 Feb 2004 08:29:45 -0000 To: FreeBSD-gnats-submit@freebsd.org From: Vasil Dimov X-send-pr-version: 3.113 X-GNATS-Notify: Date: Tue, 03 Feb 2004 10:29:45 +0200 Message-Id: <1075796985.964405.22320.nullmailer@sinanica.lg2a.datamax> cc: freebsd-ports@freebsd.org Subject: SIZE in distinfos causes failure with FETCH_CMD=wget X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vasil Dimov List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 08:29:53 -0000 >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@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.