Re: Cannot upgrade TCL port




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



Relevant Pages

  • Re: IE App Hang post XP SP2
    ... Upgrading in hopes of fixing an ongoing problem is seldom a wise idea. ... this *may* fix your problem. ... Help with Hijackware ... >> Event Source: Application Hang ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Access 2003 doing VERY WEIRD things
    ... Is it *always* guaranteed to be set to Nothing in an error handler? ... 97 will hang if you don't take care of this. ... very happy if you discover it's the developer's fault and fix the code ...
    (comp.databases.ms-access)
  • Re: Access 2003 doing VERY WEIRD things
    ... Is it *always* guaranteed to be set to Nothing in an error handler? ... 97 will hang if you don't take care of this. ... very happy if you discover it's the developer's fault and fix the code ...
    (comp.databases.ms-access)
  • EEE PC hangs when booting off battery
    ... was not sufficient to fix my problem, but it was solved by the "real" fix, ... I would argue there's still a question over why the asynchronous battery ... init should cause a hang in the idle routine. ...
    (Linux-Kernel)