Bug 27705

Summary: The p5-Tcl port is broken due to wrong includes which causes the linker to stop on missing symbol names.
Product: Ports & Packages Reporter: watchman <watchman>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description watchman 2001-05-28 12:10:01 UTC
The FreeBSD port of the Tcl module to perl found in /usr/ports/lang/p5-Tcl is broken. After install, any Perl program trying to use the module crashes due to the linker being unable to find the symbol names. As an example, try the supplied test cases provided with the module

# cd /usr/ports/lang/p5-Tcl/work/Tcl
# make test

PERL_DL_NONLAZY=1 /usr/bin/perl5.00503 -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/createcmd.........Can't load 'blib/arch/auto/Tcl/Tcl.so' for module Tcl: blib/arch/auto/Tcl/Tcl.so: Undefined symbol "Tcl_DeleteInterp" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at t/createcmd.t line 1
BEGIN failed--compilation aborted at t/createcmd.t line 1.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/eval..............Can't load 'blib/arch/auto/Tcl/Tcl.so' for module Tcl: blib/arch/auto/Tcl/Tcl.so: Undefined symbol "Tcl_DeleteInterp" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at t/eval.t line 1
BEGIN failed--compilation aborted at t/eval.t line 1.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/result............Can't load 'blib/arch/auto/Tcl/Tcl.so' for module Tcl: blib/arch/auto/Tcl/Tcl.so: Undefined symbol "Tcl_DeleteInterp" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at t/result.t line 1
BEGIN failed--compilation aborted at t/result.t line 1.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/trace.............Can't load 'blib/arch/auto/Tcl/Tcl.so' for module Tcl: blib/arch/auto/Tcl/Tcl.so: Undefined symbol "Tcl_DeleteInterp" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at t/trace.t line 1
BEGIN failed--compilation aborted at t/trace.t line 1.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/var...............Can't load 'blib/arch/auto/Tcl/Tcl.so' for module Tcl: blib/arch/auto/Tcl/Tcl.so: Undefined symbol "Tcl_DeleteInterp" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at t/var.t line 1
BEGIN failed--compilation aborted at t/var.t line 1.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
FAILED--5 test scripts could be run, alas--no output ever seen
*** Error code 2

Stop in /usr/ports/lang/p5-Tcl/work/Tcl.

How-To-Repeat: Run the supplied test cases in the port or try to otherwise use the Tcl
module in a Perl program.
Comment 1 Anton Berezin freebsd_committer freebsd_triage 2001-08-20 16:49:17 UTC
State Changed
From-To: open->closed

The problem has been fixed.  Thanks for your report!