From owner-freebsd-ports Wed Mar 10 10:48: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id D2F7E151FD for ; Wed, 10 Mar 1999 10:47:37 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (garatu [158.227.6.222]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id TAA13141 for ; Wed, 10 Mar 1999 19:47:08 +0100 (MET) Message-ID: <36E6BE2C.F69EDBA4@we.lc.ehu.es> Date: Wed, 10 Mar 1999 19:47:08 +0100 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dept. de Electricidad y Electronica X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.1-RELEASE i386) MIME-Version: 1.0 To: freebsd-ports@FreeBSD.ORG Subject: fetch's new "-A" option should not be used under 3.1-RELEASE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was starting to build the x11-toolkits/gtk12 port when it crashed showing the following error messages: >> gtk+-1.2.0.tar.gz doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/. fetch: illegal option -- A fetch [-DHILMNPRTVablmnpqrstv] [-o outputfile] [-S bytes] [-f file -h host [-c dir] | URL] I am running 3.1-RELEASE, but I update the ports tree every night. I examined /usr/ports/Mk/bsd.port.mk and I found these lines: .if ${OSVERSION} < 300000 FETCH_CMD?= /usr/bin/fetch .else FETCH_CMD?= /usr/bin/fetch -A .endif The "-A" option is used if OSVERSION is >= 300000. However, OSVERSION is 310000 for 3.1-RELEASE and, unfortunately, the 3.1R's fetch does not support the "-A" flag. This causes the error when trying to download the port tarball. This problem could be easily fixed, modifying slightly those lines in bsd.port.mk. -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@es.FreeBSD.ORG Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-944858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message