From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 30 22:10:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 624F4106564A for ; Tue, 30 Dec 2008 22:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 353648FC0C for ; Tue, 30 Dec 2008 22:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBUMA1UT085569 for ; Tue, 30 Dec 2008 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBUMA1eT085564; Tue, 30 Dec 2008 22:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 30 Dec 2008 22:10:01 GMT Resent-Message-Id: <200812302210.mBUMA1eT085564@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Julian H. Stacey" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E24A1065670 for ; Tue, 30 Dec 2008 22:01:40 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id E2F878FC23 for ; Tue, 30 Dec 2008 22:01:39 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A438D.dip.t-dialin.net [84.154.67.141]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id mBUM1a1g065478; Tue, 30 Dec 2008 23:01:37 +0100 (CET) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id mBUM1Wh7097243; Tue, 30 Dec 2008 23:01:32 +0100 (CET) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id mBUM0Ccl026441; Tue, 30 Dec 2008 23:00:18 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Received: (from jhs@localhost) by fire.js.berklix.net (8.14.3/8.14.3/Submit) id mBULxvaP026420; Tue, 30 Dec 2008 22:59:57 +0100 (CET) (envelope-from jhs) Message-Id: <200812302159.mBULxvaP026420@fire.js.berklix.net> Date: Tue, 30 Dec 2008 22:59:57 +0100 (CET) From: "Julian H. Stacey" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jhs@berklix.com Subject: ports/130064: Patch out superfluous FETCH_CMD that can lock up. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Julian H. Stacey" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 22:10:03 -0000 >Number: 130064 >Category: ports >Synopsis: Patch out superfluous FETCH_CMD that can lock up. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 22:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: "Julian H. Stacey" >Release: FreeBSD 7.1-RC2 amd64 >Organization: http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen. >Environment: System: FreeBSD fire.js.berklix.net 7.1-RC2 FreeBSD 7.1-RC2 #0: Sat Dec 27 14:42:59 CET 2008 jhs@fire.js.berklix.net:/usr1/src/sys/amd64/compile/FIRE64.small amd64 >Description: Default FreeBSD fetch behaviour is better than this port, so Remove the -ar, else if you get a protocol error, this ports loops for ever with a simple "make fetch" >How-To-Repeat: Break your ftp proxy Or simply have no working ftp, or a broken coms link, & specify a local distfiles directory in make.conf, then run make fetch & see it loop forever on ftp protocol error. >Fix: Apply diff -c patch below ------------------------------------------------ http://berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/lang/py-mx-base/Makefile.REL=7.1.diff Remove the -ar, else if you get a protocol error, this ports loops for ever with a simple "make fetch", thus it otherwise it prevents a "cd /usr/ports ; make -k fetch BATCH=YES" having any chance of fetching more distfiles - as it loops forever. Once I removed this damed ar, it passed by my ftp protocol error, got on to next fetch rule & succeeded, log below: --------------- ake fetch ===> Vulnerability check disabled, database not found => egenix-mx-base-2.0.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from file:///pub/FreeBSD/dists/current.old//. fetch: file:///pub/FreeBSD/dists/current.old//egenix-mx-base-2.0.6.tar.gz: No such file or directory => Attempting to fetch from /pub/FreeBSD/dists/current.old//. fetch: /pub/FreeBSD/dists/current.old//egenix-mx-base-2.0.6.tar.gz: No such file or directory => Attempting to fetch from ftp://ftp/pub/FreeBSD/dists/current.old//. fetch: ftp://ftp/pub/FreeBSD/dists/current.old//egenix-mx-base-2.0.6.tar.gz: Not logged in => Attempting to fetch from file:///pub/FreeBSD/dists/current//. egenix-mx-base-2.0.6.tar.gz 100% of 573 kB 7271 kBps --------------- Note I have similarly hacked ../../py-mx-experimental/Makefile *** 7.1/ports/lang/py-mx-base/Makefile.orig Tue Dec 30 22:06:24 2008 --- generic/ports/lang/py-mx-base/Makefile Tue Dec 30 22:05:31 2008 *************** *** 16,22 **** MAINTAINER= ports@FreeBSD.org COMMENT= The eGenix mx-Extension Series for Python ! FETCH_CMD= /usr/bin/fetch -ar USE_PYTHON= yes USE_PYDISTUTILS=yes .if defined(WITH_ZOPE) --- 16,22 ---- MAINTAINER= ports@FreeBSD.org COMMENT= The eGenix mx-Extension Series for Python ! # FETCH_CMD= /usr/bin/fetch -ar USE_PYTHON= yes USE_PYDISTUTILS=yes .if defined(WITH_ZOPE) >Release-Note: >Audit-Trail: >Unformatted: