Skip Menu |

This queue is for tickets about the Tk-FontDialog CPAN distribution.

Report information
The Basics
Id: 130788
Status: resolved
Priority: 0/
Queue: Tk-FontDialog

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: t/00-basic.t: Fails with 'undefined symbol Perl_to_utf8_lower' in perl-5.31.5
In the course of testing the CPAN River 3000 against Perl dev release perl-5.31.5, I had occasion to test this module. I encountered this failure: ##### { author => "SREZIC", dist => "Tk-FontDialog", distname => "Tk-FontDialog-0.18", distversion => 0.18, grade => "FAIL", prereqs => undef, test_output => [ "Building and testing Tk-FontDialog-0.18", "cp lib/Tk/FontDialog.pm blib/lib/Tk/FontDialog.pm", "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl-5.31.5/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t", "Can't load '/home/jkeenan/var/tad/testing/perl-5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so' for module Tk: /home/jkeenan/var/tad/testing/perl-5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so: Undefined symbol \"Perl_to_utf8_lower\" at /home/jkeenan/var/tad/testing/perl-5.31.5/lib/5.31.5/amd64-freebsd-thread-multi/DynaLoader.pm line 193.", "\0 at t/00-basic.t line 24.", "Compilation failed in require at t/00-basic.t line 24.", "BEGIN failed--compilation aborted at t/00-basic.t line 24.", "t/00-basic.t .. ", "Dubious, test returned 2 (wstat 512, 0x200)", "No subtests run ", "", "Test Summary Report", "-------------------", "t/00-basic.t (Wstat: 512 Tests: 0 Failed: 0)", " Non-zero exit status: 2", " Parse errors: No plan found in TAP output", "Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.04 cusr 0.06 csys = 0.12 CPU)", "Result: FAIL", ], via => "App::cpanminus::reporter 0.17 (1.7044)", } This error appears to be new. I did not get it during the September 2019 run against perl-5.31.4. Not yet further analyzed. Thank you very much. Jim Keenan
On Wed Oct 23 04:51:01 2019, JKEENAN wrote: Show quoted text
> In the course of testing the CPAN River 3000 against Perl dev release > perl-5.31.5, I had occasion to test this module. I encountered this > failure: > > ##### > { > author => "SREZIC", > dist => "Tk-FontDialog", > distname => "Tk-FontDialog-0.18", > distversion => 0.18, > grade => "FAIL", > prereqs => undef, > test_output => [ > "Building and testing Tk-FontDialog-0.18", > "cp lib/Tk/FontDialog.pm blib/lib/Tk/FontDialog.pm", > "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl- > 5.31.5/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"- > e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', > 'blib/arch')\" t/*.t", > "Can't load '/home/jkeenan/var/tad/testing/perl- > 5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so' > for module Tk: /home/jkeenan/var/tad/testing/perl- > 5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so: > Undefined symbol \"Perl_to_utf8_lower\" at > /home/jkeenan/var/tad/testing/perl-5.31.5/lib/5.31.5/amd64-freebsd- > thread-multi/DynaLoader.pm line 193.", > "\0 at t/00-basic.t line 24.", > "Compilation failed in require at t/00-basic.t line 24.", > "BEGIN failed--compilation aborted at t/00-basic.t line 24.", > "t/00-basic.t .. ", > "Dubious, test returned 2 (wstat 512, 0x200)", > "No subtests run ", > "", > "Test Summary Report", > "-------------------", > "t/00-basic.t (Wstat: 512 Tests: 0 Failed: 0)", > " Non-zero exit status: 2", > " Parse errors: No plan found in TAP output", > "Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.04 > cusr 0.06 csys = 0.12 CPU)", > "Result: FAIL", > ], > via => "App::cpanminus::reporter 0.17 (1.7044)", > } > > This error appears to be new. I did not get it during the September > 2019 run against perl-5.31.4. > > Not yet further analyzed. > > Thank you very much. > Jim Keenan
Encountered again in CPAN-River-3000 testing against perl-5.31.10.
On 2020-04-29 15:51:50, JKEENAN wrote: Show quoted text
> On Wed Oct 23 04:51:01 2019, JKEENAN wrote:
> > In the course of testing the CPAN River 3000 against Perl dev release > > perl-5.31.5, I had occasion to test this module. I encountered this > > failure: > > > > ##### > > { > > author => "SREZIC", > > dist => "Tk-FontDialog", > > distname => "Tk-FontDialog-0.18", > > distversion => 0.18, > > grade => "FAIL", > > prereqs => undef, > > test_output => [ > > "Building and testing Tk-FontDialog-0.18", > > "cp lib/Tk/FontDialog.pm blib/lib/Tk/FontDialog.pm", > > "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl- > > 5.31.5/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"- > > e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', > > 'blib/arch')\" t/*.t", > > "Can't load '/home/jkeenan/var/tad/testing/perl- > > 5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so' > > for module Tk: /home/jkeenan/var/tad/testing/perl- > > 5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so: > > Undefined symbol \"Perl_to_utf8_lower\" at > > /home/jkeenan/var/tad/testing/perl-5.31.5/lib/5.31.5/amd64-freebsd- > > thread-multi/DynaLoader.pm line 193.", > > "\0 at t/00-basic.t line 24.", > > "Compilation failed in require at t/00-basic.t line 24.", > > "BEGIN failed--compilation aborted at t/00-basic.t line 24.", > > "t/00-basic.t .. ", > > "Dubious, test returned 2 (wstat 512, 0x200)", > > "No subtests run ", > > "", > > "Test Summary Report", > > "-------------------", > > "t/00-basic.t (Wstat: 512 Tests: 0 Failed: 0)", > > " Non-zero exit status: 2", > > " Parse errors: No plan found in TAP output", > > "Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.04 > > cusr 0.06 csys = 0.12 CPU)", > > "Result: FAIL", > > ], > > via => "App::cpanminus::reporter 0.17 (1.7044)", > > } > > > > This error appears to be new. I did not get it during the September > > 2019 run against perl-5.31.4. > > > > Not yet further analyzed. > > > > Thank you very much. > > Jim Keenan
> > Encountered again in CPAN-River-3000 testing against perl-5.31.10.
This is surprising --- does this happen with Tk 804.035 installed?
On Thu Apr 30 02:05:45 2020, SREZIC wrote: Show quoted text
> On 2020-04-29 15:51:50, JKEENAN wrote:
> > On Wed Oct 23 04:51:01 2019, JKEENAN wrote:
> > > In the course of testing the CPAN River 3000 against Perl dev release > > > perl-5.31.5, I had occasion to test this module. I encountered this > > > failure: > > > > > > ##### > > > { > > > author => "SREZIC", > > > dist => "Tk-FontDialog", > > > distname => "Tk-FontDialog-0.18", > > > distversion => 0.18, > > > grade => "FAIL", > > > prereqs => undef, > > > test_output => [ > > > "Building and testing Tk-FontDialog-0.18", > > > "cp lib/Tk/FontDialog.pm blib/lib/Tk/FontDialog.pm", > > > "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl- > > > 5.31.5/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"- > > > e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', > > > 'blib/arch')\" t/*.t", > > > "Can't load '/home/jkeenan/var/tad/testing/perl- > > > 5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so' > > > for module Tk: /home/jkeenan/var/tad/testing/perl- > > > 5.31.5/lib/site_perl/5.31.5/amd64-freebsd-thread-multi/auto/Tk/Tk.so: > > > Undefined symbol \"Perl_to_utf8_lower\" at > > > /home/jkeenan/var/tad/testing/perl-5.31.5/lib/5.31.5/amd64-freebsd- > > > thread-multi/DynaLoader.pm line 193.", > > > "\0 at t/00-basic.t line 24.", > > > "Compilation failed in require at t/00-basic.t line 24.", > > > "BEGIN failed--compilation aborted at t/00-basic.t line 24.", > > > "t/00-basic.t .. ", > > > "Dubious, test returned 2 (wstat 512, 0x200)", > > > "No subtests run ", > > > "", > > > "Test Summary Report", > > > "-------------------", > > > "t/00-basic.t (Wstat: 512 Tests: 0 Failed: 0)", > > > " Non-zero exit status: 2", > > > " Parse errors: No plan found in TAP output", > > > "Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.04 > > > cusr 0.06 csys = 0.12 CPU)", > > > "Result: FAIL", > > > ], > > > via => "App::cpanminus::reporter 0.17 (1.7044)", > > > } > > > > > > This error appears to be new. I did not get it during the September > > > 2019 run against perl-5.31.4. > > > > > > Not yet further analyzed. > > > > > > Thank you very much. > > > Jim Keenan
> > > > Encountered again in CPAN-River-3000 testing against perl-5.31.10.
> > This is surprising --- does this happen with Tk 804.035 installed? >
Slaven, It appears that you solved this problem with the release of Tk 804.035. When I did the CPAN-River-3000 run against perl-5.31.10 in March, the latest available release of Tk was 804.034. As the error message cited documents (but which I did not fully grasp at first), Tk-FontDialog was unable to *load* Tk.so, apparently because it encountered undefined symbol Perl_to_utf8_lower. In Tk-804.035, this symbol is gone as part of major revisions to encGlue.c. In the CPAN-River-3000 run against perl-5.31.11 earlier this week, Tk-FontDialog PASSed, as did two other CPAN distros which started to FAIL several months ago citing undefined symbol Perl_to_utf8_lower in their error messages: Tk-GBARR : https://rt.cpan.org/Ticket/Display.html?id=130789 Tk-ToolBar : https://rt.cpan.org/Ticket/Display.html?id=130808 Only yesterday did I realize that there were aspects of this problem that prevented me from properly understanding it and, perhaps, contributing more quickly to a solution. I'll list these problems here as an aide-memoire and so that others can learn from them. 1. I conduct the CPAN-River-3000 testing on a (FreeBSD) VM for which I have no GUI. 2. Tk's test suite inherently is only relevant if one has a GUI. Tk's test suite recognizes this and sidesteps tests in non-GUI environments with messaging like this: ##### "# couldn't connect to display \":0\" at /usr/home/jkeenan/var/tad/testing/perl-5.31.11/.cpanm/work/1588155283.17683/Tk-804.035/PNG/../blib/lib/Tk/MainWindow.pm line 53.", "MainWindow->new() at ../t/TkTest.pm line 41.", "", "../xt/skip_all_mw.t .. skipped: Cannot create MainWindow (maybe no X11 server is running or DISPLAY is not set?)", "Files=1, Tests=0, 0 wallclock secs ( 0.01 usr + 0.02 sys = 0.03 CPU)", "Result: NOTESTS", ##### cpanm grades this as NOTESTS, which App::cpanminus::reporter converts into a grade of UNKNOWN. So throughout this dev cycle, the CPAN-River-3000 program has always graded Tk as UNKNOWN. I incorrectly assumed that NOTESTS and UNKNOWN meant that Tk has not been *installed* by the River program. And with Tk-FontDialog, Tk-GBARR and Tk-ToolBar all FAILing between perl-5.31.5 and perl-5.31.10 inclusive, I didn't probe deeper. I assumed that these three distros had FAILed because their prerequisite had not been installed. More specifically, when reading the error message reporting that Tk.so could not be *loaded*, I incorrectly assumed that Tk.so could not be *found* -- and if Tk had not been installed, then its shared object file would not exist, could not be found and for that reason could not be loaded. What I should have noted was that between perl-5.31.0 and perl-5.31.4, those three distros were PASSing in the River-program *despite* Tk having been graded UNKNOWN. Now, I still don't know why the three distros, starting in perl-5.31.5, became unable to load Tk.so and therefore FAILed. The same version of Tk, 804.034, was used during River testing in all runs from 5.31.0 to 5.31.10 inclusive. But with the release of Tk-804.035 on March 28, these three distros are finding what they need in Tk and are PASSing once again. I believe this ticket can be marked Resolved. Thank you very much. Jim Keenan