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? <[EMAIL PROTECTED]> > Subject: Cannot upgrade TCL port > To: freebsd-questions@freebsd.org > Message-ID: <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] http://www.ms.unimelb.edu.au _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"