Skip Menu |

This queue is for tickets about the Text-SimpleTable CPAN distribution.

Report information
The Basics
Id: 125547
Status: open
Priority: 0/
Queue: Text-SimpleTable

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

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



Subject: t/05tables_cjk.t failures
http://matrix.cpantesters.org/?dist=Text-SimpleTable+2.05 shows a random fail/pass pattern. It's always t/05tables_cjk.t which is failing and it seems that this happens if Unicode::LineBreak and/or Unicode::GCString is not installed.
I've created a patch to resolve this issue and submitted it via github: https://github.com/marcusramberg/text-simpletable/pull/5
Note that this module is a prereq for Catalyst among others, and thus this failing test blocks one-touch `cpanm Catalyst` install. (This probably explains the bug 125744 naming Docker in title too?) (`cpanm --force Text::SimpleTable` is adequate to bypass, but no longer automated.) ( aside: in retrospect, this big a Unicode/CJK feature release probably should have been in a 2.04_099 ish dev release before being made stable 2.05 ? ) cpanm build.log attached.
Subject: build.log
cpanm (App::cpanminus) 1.7043 on perl 5.024003 built for x86_64-linux Work directory is /home/wdr/.cpanm/work/1530914802.26560 You have make /usr/bin/make You have /usr/bin/wget You have /bin/tar: tar (GNU tar) 1.28 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Text::SimpleTable () on cpanmetadb ... --> Working on Text::SimpleTable Fetching http://www.cpan.org/authors/id/M/MR/MRAMBERG/Text-SimpleTable-2.05.tar.gz -> OK Unpacking Text-SimpleTable-2.05.tar.gz Entering Text-SimpleTable-2.05 Checking configure dependencies from META.json Configuring Text-SimpleTable-2.05 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Text::SimpleTable Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10_02) Checking if you have Test::More 0 ... Yes (1.001014) Building and testing Text-SimpleTable-2.05 cp lib/Text/SimpleTable.pm blib/lib/Text/SimpleTable.pm Manifying 1 pod document PERL_DL_NONLAZY=1 "/home/wdr/perl5/perlbrew/perls/perl-5.24.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01use.t .......... ok t/02pod.t .......... skipped: Test::Pod 1.14 required t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required t/04tables.t ....... ok # Failed test 'right table' # at t/05tables_cjk.t line 26. Wide character in print at /home/wdr/perl5/perlbrew/perls/perl-5.24.3/lib/5.24.3/Test/Builder.pm line 1826. # got: '.------------+-------------. # | あいうえおかきくけこ | あいうえおかきくけこ | # +------------+-------------+ # | あいうえおかきくけ- | あいうえおかきくけこa | # | こa | | # +------------+-------------+ # | あいうえおかきくけ- | あいうえおかきくけこ- | # | こab | ab | # +------------+-------------+ # | xあいうえおかきく- | xあいうえおかきくけこ | # | けこ | | # +------------+-------------+ # | xyあいうえおかき- | xyあいうえおかきく- | # | くけこ | けこ | # '------------+-------------' # ' # expected: '.------------+-------------. # | あいうえ- | あいうえお- | # | おかきく- | かきくけこ | # | けこ | | # +------------+-------------+ # | あいうえ- | あいうえお- | # | おかきく- | かきくけこa | # | けこa | | # +------------+-------------+ # | あいうえ- | あいうえお- | # | おかきく- | かきくけこ- | # | けこab | ab | # +------------+-------------+ # | xあいうえ- | xあいうえ- | # | おかきく- | おかきくけ- | # | けこ | こ | # +------------+-------------+ # | xyあいう- | xyあいうえ- | # | えおかき- | おかきくけ- | # | くけこ | こ | # '------------+-------------' # ' # Looks like you failed 1 test of 2. t/05tables_cjk.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/05tables_cjk.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=5, Tests=12, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.22 cusr 0.03 csys = 0.33 CPU) Result: FAIL Failed 1/5 test programs. 1/12 subtests failed. Makefile:856: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 1 -> FAIL Installing Text::SimpleTable failed. See /home/wdr/.cpanm/work/1530914802.26560/build.log for details. Retry with --force to force install it.
On Fri Jul 06 18:31:58 2018, BRICKER wrote: Show quoted text
> Note that this module is a prereq for Catalyst among others, and thus > this failing test blocks one-touch `cpanm Catalyst` install. > > (This probably explains the bug 125744 naming Docker in title too?) > > (`cpanm --force Text::SimpleTable` is adequate to bypass, but no > longer automated.) > > ( aside: in retrospect, this big a Unicode/CJK feature release > probably should have been in a 2.04_099 ish dev release before being > made stable 2.05 ? ) > > cpanm build.log attached.
I got burned by this today as well. I cloned from github.com, then called 'perl Makefile.PL && make && make test'. Am attaching 'make test' output. As the previous poster has noted, this constitutes a severe impediment to automated installation of Catalyst runtime and, hence, of the entire Catalyst ecosystem. It also is an impediment to automated testing of CPAN river modules against Perl 5 blead. Thank you very much. Jim Keenan
Subject: text-simpletable-rtc-125547.output.txt
PERL_DL_NONLAZY=1 "/home/jkeenan/perl5/perlbrew/perls/perl-5.28.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01use.t .......... ok t/02pod.t .......... skipped: Test::Pod 1.14 required t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required t/04tables.t ....... ok # Failed test 'right table' # at t/05tables_cjk.t line 26. Wide character in print at /home/jkeenan/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/Test2/Formatter/TAP.pm line 113. # got: '.------------+-------------. # | あいうえおかきくけこ | あいうえおかきくけこ | # +------------+-------------+ # | あいうえおかきくけ- | あいうえおかきくけこa | # | こa | | # +------------+-------------+ # | あいうえおかきくけ- | あいうえおかきくけこ- | # | こab | ab | # +------------+-------------+ # | xあいうえおかきく- | xあいうえおかきくけこ | # | けこ | | # +------------+-------------+ # | xyあいうえおかき- | xyあいうえおかきく- | # | くけこ | けこ | # '------------+-------------' # ' # expected: '.------------+-------------. # | あいうえ- | あいうえお- | # | おかきく- | かきくけこ | # | けこ | | # +------------+-------------+ # | あいうえ- | あいうえお- | # | おかきく- | かきくけこa | # | けこa | | # +------------+-------------+ # | あいうえ- | あいうえお- | # | おかきく- | かきくけこ- | # | けこab | ab | # +------------+-------------+ # | xあいうえ- | xあいうえ- | # | おかきく- | おかきくけ- | # | けこ | こ | # +------------+-------------+ # | xyあいう- | xyあいうえ- | # | えおかき- | おかきくけ- | # | くけこ | こ | # '------------+-------------' # ' # Looks like you failed 1 test of 2. t/05tables_cjk.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/05tables_cjk.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=5, Tests=12, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.20 cusr 0.02 csys = 0.24 CPU) Result: FAIL Failed 1/5 test programs. 1/12 subtests failed. Makefile:862: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 1
On Sat Jul 21 23:11:15 2018, JKEENAN wrote: Show quoted text
> On Fri Jul 06 18:31:58 2018, BRICKER wrote:
> > Note that this module is a prereq for Catalyst among others, and thus > > this failing test blocks one-touch `cpanm Catalyst` install. > > > > (This probably explains the bug 125744 naming Docker in title too?) > > > > (`cpanm --force Text::SimpleTable` is adequate to bypass, but no > > longer automated.) > > > > ( aside: in retrospect, this big a Unicode/CJK feature release > > probably should have been in a 2.04_099 ish dev release before being > > made stable 2.05 ? ) > > > > cpanm build.log attached.
> > I got burned by this today as well. I cloned from github.com, then > called 'perl Makefile.PL && make && make test'. Am attaching 'make > test' output. > > As the previous poster has noted, this constitutes a severe impediment > to automated installation of Catalyst runtime and, hence, of the > entire Catalyst ecosystem. It also is an impediment to automated > testing of CPAN river modules against Perl 5 blead. > > Thank you very much. > Jim Keenan
I can confirm that waterkip's p.r. at https://github.com/marcusramberg/text-simpletable/pull/5 works. Before installing Unicode::GCString, t/05tables_cjk.t is SKIPped. After it is installed, the file runs and all tests PASS. Thank you very much. Jim Keenan