Date: Thu, 20 Jul 2006 23:57:52 +1000 From: Andrew Robinson <A.Robinson@ms.unimelb.edu.au> To: freebsd-questions@freebsd.org Cc: nagylzs@enternet.hu Subject: Re: Cannot upgrade TCL port Message-ID: <20060720135752.GG42273@ms.unimelb.edu.au> In-Reply-To: <20060720120041.384BF16A610@hub.freebsd.org> References: <20060720120041.384BF16A610@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? <nagylzs@enternet.hu> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060720135752.GG42273>