Running a 6-STABLE system, I can't seem to get tcl to build anymore:
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: couldn't open socket: host is unreachable
while executing
"socket [info hostname] [lindex [fconfigure $l -sockname] 2]"
invoked from within
"set s [socket [info hostname] [lindex [fconfigure $l -sockname] 2]]"
("uplevel" body line 28)
invoked from within
"uplevel 1 $script"
---- errorCode: POSIX EHOSTUNREACH {host is unreachable}
==== socket-9.2 FAILED
==== socket-9.3 testing EOF stickyness FAILED
==== Contents of test case:
proc count_to_eof {s} {
global count done timer
set l [gets $s]
if {[eof $s]} {
incr count
if {$count > 9} {
close $s
set done true
set count {eof is sticky}
after cancel $timer
}
}
}
proc timerproc {} {
global done count c
set done true
set count {timer went off, eof is not sticky}
close $c
}
set count 0
set done false
proc write_then_close {s} {
puts $s bye
close $s
}
proc accept {s a p} {
fconfigure $s -buffering line -translation lf
fileevent $s writable "write_then_close $s"
}
set s [socket -server accept 0]
set c [socket [info hostname] [lindex [fconfigure $s -sockname] 2]]
fconfigure $c -blocking off -buffering line -translation lf
fileevent $c readable "count_to_eof $c"
set timer [after 1000 timerproc]
vwait done
close $s
set count
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: couldn't open socket: host is unreachable
while executing
"socket [info hostname] [lindex [fconfigure $s -sockname] 2]"
invoked from within
"set c [socket [info hostname] [lindex [fconfigure $s -sockname] 2]]"
("uplevel" body line 32)
invoked from within
"uplevel 1 $script"
---- errorCode: POSIX EHOSTUNREACH {host is unreachable}
==== socket-9.3 FAILED
Everything appears to work fine if I install the package instead of
building it myself, so I can get by, and I don't know anything about tcl,
so even debugging why it is failing is beyond me on this one :(
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED]
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"