Skip Menu |

This queue is for tickets about the Char-Big5Plus CPAN distribution.

Report information
The Basics
Id: 129343
Status: resolved
Priority: 0/
Queue: Char-Big5Plus

People
Owner: ina [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: test.pl fails with perl 5.16.3
On an old freebsd 9.x system with a self-compiled 5.16.3 (threaded) installed, the test suite fails: ... PERL_DL_NONLAZY=1 "/usr/perl5.16.3t/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl blib/lib/Big5Plus.pm: Can't close file: test.pl.e BEGIN failed--compilation aborted at test.pl line 1. *** [test_dynamic] Error code 9 ... First: there is not enough diagnostics. I added a "$!" to the die() after the problematic close and see now: blib/lib/Big5Plus.pm: Can't close file: test.pl.e: Bad file descriptor So I removed the gensym() call for $fh and let perl autogenerate the filehandle --- now the test suite started to pass. This seems to be the case also for all the other Char-* distributions.
On 2019-04-28 01:50:11, SREZIC wrote: Show quoted text
> On an old freebsd 9.x system with a self-compiled 5.16.3 (threaded) > installed, the test suite fails: > > ... > PERL_DL_NONLAZY=1 "/usr/perl5.16.3t/bin/perl" "-Iblib/lib" "- > Iblib/arch" test.pl > blib/lib/Big5Plus.pm: Can't close file: test.pl.e > BEGIN failed--compilation aborted at test.pl line 1. > *** [test_dynamic] Error code 9 > ... > > First: there is not enough diagnostics. I added a "$!" to the die() > after the problematic close and see now: > > blib/lib/Big5Plus.pm: Can't close file: test.pl.e: Bad file descriptor > > So I removed the gensym() call for $fh and let perl autogenerate the > filehandle --- now the test suite started to pass. > > This seems to be the case also for all the other Char-* distributions.
A variation (?) of the problem, seen on centos7 systems: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*/*.t print() on closed filehandle _ at /home/cpansand/.cpan/build/2019042809/Char-Big5Plus-1.13-U_5RQ9/blib/lib/Big5Plus.pm line 225. /home/cpansand/.cpan/build/2019042809/Char-Big5Plus-1.13-U_5RQ9/blib/lib/Big5Plus.pm: Can't close file: t/Big5Plus/001_big5plushtm.t.e BEGIN failed--compilation aborted at t/Big5Plus/001_big5plushtm.t line 5. t/Big5Plus/001_big5plushtm.t .............. Dubious, test returned 9 (wstat 2304, 0x900) No subtests run
Subject: Re: [rt.cpan.org #129343] test.pl fails with perl 5.16.3
Date: Wed, 1 May 2019 14:45:30 +0900
To: bug-Char-Big5Plus [...] rt.cpan.org
From: ina cpan <ina.cpan [...] gmail.com>
Dear, Slaven_Rezicina I thank your reporting and advice about my Char-* distributions. I had released version 1.14, and this close-isuue closed. Thank you. ina
Dear, Slaven_Rezicina I thank your reporting and advice about my Char-* distributions. I had released version 1.14, and this close-isuue closed. Thank you. ina http://matrix.cpantesters.org/?dist=Char-Big5Plus+1.14