From owner-freebsd-ports@freebsd.org Thu Jan 5 13:35:08 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 279AFCA0471 for ; Thu, 5 Jan 2017 13:35:08 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1234411E5 for ; Thu, 5 Jan 2017 13:35:08 +0000 (UTC) (envelope-from jhs@berklix.com) Received: by mailman.ysv.freebsd.org (Postfix) id 11884CA0470; Thu, 5 Jan 2017 13:35:08 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 112C8CA046F for ; Thu, 5 Jan 2017 13:35:08 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B534D11E4 for ; Thu, 5 Jan 2017 13:35:06 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (pD9FE9BD1.dip0.t-ipconnect.de [217.254.155.209]) (authenticated bits=128) by land.berklix.org (8.15.2/8.15.2) with ESMTPA id v05DZ0ri079722 for ; Thu, 5 Jan 2017 13:35:01 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id v05DYvtd026823 for ; Thu, 5 Jan 2017 14:34:57 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id v05DYjAj003862 for ; Thu, 5 Jan 2017 14:34:57 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <201701051334.v05DYjAj003862@fire.js.berklix.net> To: ports@freebsd.org Subject: ports/devel/noweb/Makefile FETCH_* is wrong, comment out works. From: "Julian H. Stacey" Organization: http://berklix.eu BSD Linux Unix Consultants, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ Date: Thu, 05 Jan 2017 14:34:44 +0100 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 13:35:08 -0000 ports/devel/noweb/Makefile contains FETCH_CMD= /usr/bin/ftp FETCH_ARGS= # empty that is wrong, because if one already has the distfile on a local site (accessed via MASTER_SITE_OVERRIDE or MASTER_SITE_BACKUP ), it hangs & fails on make fetch. The patch below works for me, but we might need something better ? Note this comand runs fine on my gate: fetch ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz To see the generic failure that those FETCH above were hoping to solve, I ran (cd /usr/ports/distfiles; mv noweb-2.11b.tgz noweb-2.11b.tgz.MV) make MASTER_SITE_OVERRIDE= MASTER_SITE_BACKUP= fetch & saw: => noweb-2.11b.tgz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz Requesting ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz (via gate.js.berklix.net:21) ftp: Improper response from `gate.js.berklix.net:21' => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop. (but, my ftp proxy doesnt work anyway, I use http proxy beyond my gate) *** 2017-01-05_12.0-CURRENT/ports/devel/noweb/Makefile Thu Jan 5 13:42:19 2017 --- new-generic/ports/devel/noweb/Makefile Thu Jan 5 13:48:41 2017 *************** *** 19,26 **** RUN_DEPENDS= iconx:lang/icon # Master site uses extended passive mode fetch(1) does not support ! FETCH_CMD= /usr/bin/ftp ! FETCH_ARGS= # empty DISABLE_SIZE= yes PORTSCOUT= skipv:2.11 --- 19,52 ---- RUN_DEPENDS= iconx:lang/icon # Master site uses extended passive mode fetch(1) does not support ! ! # Next 2 lines hashed out by jhs@berklix.com ! # FETCH_CMD= /usr/bin/ftp ! # FETCH_ARGS= # empty ! # As they produced this hang: ! # => noweb-2.11b.tgz doesn't seem to exist in /usr/ports/distfiles/. ! # => Attempting to fetch file:///pub/FreeBSD/dists/current//noweb-2.11b.tgz ! # ftp: Can't open `/pub/FreeBSD/dists/current//noweb-2.11b.tgz': No such file or directory ! # => Attempting to fetch /pub/FreeBSD/dists/current//noweb-2.11b.tgz ! # ftp: Can't connect to `/pub/FreeBSD/dists/current//noweb-2.11b.tgz:': No such file or directory ! # ftp: Can't connect to `/pub/FreeBSD/dists/current//noweb-2.11b.tgz:ftp' ! # ftp> ! # Hashed out, it now fetches OK: ! # => Attempting to fetch file:///pub/FreeBSD/dists/current//noweb-2.11b.tgz ! # fetch: file:///pub/FreeBSD/dists/current//noweb-2.11b.tgz: No such file or directory ! # => Attempting to fetch /pub/FreeBSD/dists/current//noweb-2.11b.tgz ! # fetch: /pub/FreeBSD/dists/current//noweb-2.11b.tgz: No such file or directory ! # => Attempting to fetch ftp://ftp.js.berklix.net/pub/FreeBSD/dists/current//noweb-2.11b.tgz ! # resolving server address: ftp.js.berklix.net:21 ! # setting passive mode ! # opening data connection ! # initiating transfer ! # fetch: ftp://ftp.js.berklix.net/pub/FreeBSD/dists/current//noweb-2.11b.tgz: File unavailable (e.g., file not found, no access) ! # => Attempting to fetch file:///pub/FreeBSD/dists/11.0-RELEASE//noweb-2.11b.tgz ! # remote size / mtime: 738870 / 1150149960 ! # noweb-2.11b.tgz 100% of 721 kB 6339 kBps 00m00s ! # ===> Fetching all distfiles required by noweb-2.11b_1 for building ! DISABLE_SIZE= yes PORTSCOUT= skipv:2.11 ------------ Cheers, Julian -- Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable. http://berklix.eu/brexit/#stolen_votes