From owner-freebsd-questions@FreeBSD.ORG Thu Jul 20 13:57:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 723BB16A4DF for ; Thu, 20 Jul 2006 13:57:23 +0000 (UTC) (envelope-from A.Robinson@ms.unimelb.edu.au) Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E7F043D55 for ; Thu, 20 Jul 2006 13:57:19 +0000 (GMT) (envelope-from A.Robinson@ms.unimelb.edu.au) Received: from c220-237-183-166.frank1.vic.optusnet.com.au (c220-237-183-166.frank1.vic.optusnet.com.au [220.237.183.166]) by mail10.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k6KDvDuN021279 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 20 Jul 2006 23:57:14 +1000 Received: from c220-237-183-166.frank1.vic.optusnet.com.au (localhost [127.0.0.1]) by c220-237-183-166.frank1.vic.optusnet.com.au (8.13.4/8.13.4) with ESMTP id k6KDvr9P072404; Thu, 20 Jul 2006 23:57:54 +1000 (EST) (envelope-from A.Robinson@ms.unimelb.edu.au) Received: (from andrewr@localhost) by c220-237-183-166.frank1.vic.optusnet.com.au (8.13.4/8.13.4/Submit) id k6KDvqKc072403; Thu, 20 Jul 2006 23:57:52 +1000 (EST) (envelope-from A.Robinson@ms.unimelb.edu.au) X-Authentication-Warning: c220-237-183-166.frank1.vic.optusnet.com.au: andrewr set sender to A.Robinson@ms.unimelb.edu.au using -f Date: Thu, 20 Jul 2006 23:57:52 +1000 From: Andrew Robinson To: freebsd-questions@freebsd.org Message-ID: <20060720135752.GG42273@ms.unimelb.edu.au> References: <20060720120041.384BF16A610@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060720120041.384BF16A610@hub.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: nagylzs@enternet.hu Subject: Re: Cannot upgrade TCL port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 13:57:23 -0000 I found that the easiest way to fix this problem is to edit the Makefile. Comment out the following two lines and it should run. From: .if ${BLACKHOLE} != '' && ${BLACKHOLE} != 0 # ==================================================== # net.inet.tcp.blackhole is non-zero. Some http-tests # will appear to hang and then fail. Do not be alarmed. # The socket.test would hang, so it is disabled: ${MV} ${WRKSRC:H}/tests/socket.test ${WRKSRC:H}/tests/socket.test.dis; # ==================================================== .endif To: #.if ${BLACKHOLE} != '' && ${BLACKHOLE} != 0 # ==================================================== # net.inet.tcp.blackhole is non-zero. Some http-tests # will appear to hang and then fail. Do not be alarmed. # The socket.test would hang, so it is disabled: ${MV} ${WRKSRC:H}/tests/socket.test ${WRKSRC:H}/tests/socket.test.dis; # ==================================================== #.endif Good luck! Andrew > Message: 3 > Date: Thu, 20 Jul 2006 08:27:41 +0200 > From: Nagy L?szl? > Subject: Cannot upgrade TCL port > To: freebsd-questions@freebsd.org > Message-ID: <44BF225D.1020902@enternet.hu> > Content-Type: text/plain; charset=ISO-8859-2; format=flowed > > > My system is FreeBSD 6.0. After running > > portupgrade -aP > > it start upgrading Tcl. After compilation, it starts making tests like > the one below. Each test times out after some minutes. It would take a > day to run all the tests. Why they are failing? How can I disable the > tests? The main problem is that there are other packages depending on > TCL, and portupgrade won't upgrade them because TCL fails to upgrade. > Please help. > > Laszlo > > > fileName.test > fileSystem.test > for-old.test > for.test > foreach.test > format.test > get.test > history.test > http.test > > ==== http-3.3 http::geturl FAILED > ==== Contents of test case: > > set token [http::geturl $url] > http::data $token > > ---- Test generated error; Return code was: 1 > ---- Return code should have been one of: 0 2 > ---- errorInfo: couldn't open socket: connection timed out > while executing > "http::geturl $url" > invoked from within > "set token [http::geturl $url]" > ("uplevel" body line 2) > invoked from within > "uplevel 1 $script" > ---- errorCode: NONE > ==== http-3.3 FAILED > > ** Command failed [exit code 2]: /usr/bin/script -qa > /tmp/portupgrade47538.0 env PORT_UPGRADE=yes make PORT_UPGRADE=yes > ** Fix the problem and try again. > -- Andrew Robinson Department of Mathematics and Statistics Tel: +61-3-8344-9763 University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599 Email: a.robinson@ms.unimelb.edu.au http://www.ms.unimelb.edu.au