Bug 27705 - The p5-Tcl port is broken due to wrong includes which causes the linker to stop on missing symbol names.
Summary: The p5-Tcl port is broken due to wrong includes which causes the linker to st...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-28 12:10 UTC by watchman
Modified: 2001-08-20 16:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!