Skip Menu |
 

This queue is for tickets about the Tcl CPAN distribution.

Report information
The Basics
Id: 132729
Status: open
Priority: 0/
Queue: Tcl

People
Owner: Nobody in particular
Requestors: alan [...] batie.org
Cc: CAC [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tcl 1.27 fails to test on OSX Catalina
Date: Thu, 28 May 2020 16:42:24 -0700
To: bug-Tcl [...] rt.cpan.org
From: Alan Batie <alan [...] batie.org>
Download (untitled) / with headers
text/plain 5.5k
The cpan build of Tcl-1.27 fails in the tests on OSX Catalina (10.15.4); the build appears to go ok - results of running the commands individually: # perl Makefile.PL tclsh=/usr/bin/tclsh tcl_library=/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts tcl_version=8.5 LIBS = -Ltcl-core/darwin-universal -ltclstub8.4 -framework Carbon INC = -Itcl-core/include DEFINE = -DUSE_TCL_STUBS -DTCLSH_PATH=\"/usr/bin\" tclConfig.sh = Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Tcl Writing MYMETA.yml and MYMETA.json # make cp Tcl.pm blib/lib/Tcl.pm Running Mkbootstrap for Tcl () chmod 644 "Tcl.bs" "/opt/local/bin/perl5.16" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tcl.bs blib/arch/auto/Tcl/Tcl.bs 644 "/opt/local/bin/perl5.16" "/opt/local/lib/perl5/5.16.3/ExtUtils/xsubpp" -typemap '/opt/local/lib/perl5/5.16.3/ExtUtils/typemap' -typemap '/Users/alan/.cpan/sources/authors/id/V/VK/VKON/Tcl-1.27/typemap' Tcl.xs Show quoted text
> Tcl.xsc
Please specify prototyping behavior for Tcl.xs (see perlxs manual) mv Tcl.xsc Tcl.c /usr/bin/clang -c -Itcl-core/include -pipe -Os -fno-common -DPERL_DARWIN -I/opt/local/include -fno-strict-aliasing -fstack-protector -I/opt/local/include -O3 -DVERSION=\"1.27\" -DXS_VERSION=\"1.27\" "-I/opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE" -DUSE_TCL_STUBS -DTCLSH_PATH=\"/usr/bin\" Tcl.c rm -f blib/arch/auto/Tcl/Tcl.bundle env MACOSX_DEPLOYMENT_TARGET=10.10 /usr/bin/clang -L/opt/local/lib -Wl,-headerpad_max_install_names -bundle -undefined dynamic_lookup -fstack-protector Tcl.o -Ltcl-core/darwin-universal -ltclstub8.4 -framework Carbon -o blib/arch/auto/Tcl/Tcl.bundle \ \ chmod 755 blib/arch/auto/Tcl/Tcl.bundle Manifying 1 pod document # make test "/opt/local/bin/perl5.16" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tcl.bs blib/arch/auto/Tcl/Tcl.bs 644 PERL_DL_NONLAZY=1 "/opt/local/bin/perl5.16" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/call.t ............. No subtests run t/constants.t ........ No subtests run t/createcmd.t ........ No subtests run t/disposal-subs-a.t .. No subtests run t/disposal-subs-b.t .. No subtests run t/disposal-subs-c.t .. No subtests run t/disposal-subs-d.t .. No subtests run t/disposal-subs-e.t .. No subtests run t/disposal-subs-f.t .. No subtests run t/disposal-subs.t .... No subtests run t/eval.t ............. No subtests run t/export_to_tcl.t .... Failed 4/4 subtests t/info.t ............. No subtests run t/memleak-a.t ........ No subtests run t/result.t ........... No subtests run t/set-callback.t ..... No subtests run t/subclass.t ......... Failed 4/4 subtests t/trace.t ............ No subtests run t/unicode.t .......... No subtests run t/var.t .............. No subtests run Test Summary Report ------------------- t/call.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/constants.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/createcmd.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/disposal-subs-a.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/disposal-subs-b.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/disposal-subs-c.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/disposal-subs-d.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/disposal-subs-e.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/disposal-subs-f.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/disposal-subs.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/eval.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/export_to_tcl.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 4 tests but ran 0. t/info.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/memleak-a.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/result.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/set-callback.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/subclass.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 4 tests but ran 0. t/trace.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/unicode.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output t/var.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output Files=20, Tests=0, 1 wallclock secs ( 0.06 usr 0.04 sys + 0.40 cusr 0.15 csys = 0.65 CPU) Result: FAIL Failed 20/20 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 255
Download smime.p7s
application/pkcs7-signature 3.9k

Message body not shown because it is not plain text.

See https://rt.cpan.org/Ticket/Display.html?id=132668 : building Tcl.pm with stubs (as indicated by -DUSE_TCL_STUBS in the command output) causes it to reliably crash on macOS.

A workaround is to build without stubs, i.e.

$ perl Makefile.PL --nousestubs
Subject: Re: [rt.cpan.org #132729] Tcl 1.27 fails to test on OSX Catalina
Date: Mon, 8 Jun 2020 12:34:29 -0700
To: bug-Tcl [...] rt.cpan.org
From: Alan Batie <alan [...] batie.org>
Download (untitled) / with headers
text/plain 179b
On 6/8/20 2:34 AM, Christopher Alexander Chavez via RT wrote: Show quoted text
> A workaround is to build without stubs, i.e. > > $ perl Makefile.PL --nousestubs
This did indeed work, thanks!
Download smime.p7s
application/pkcs7-signature 3.9k

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.