Subject: | configure and test failures with perl-5.27.11 on FreeBSD-11.1 |
This is a two-part bug report.
I. Timeout during configuration
I attempted to install this module against perl-5.27.11 on FreeBSD-11.1 using cpanm as the installer. I got a timeout during the configuration stage, i.e., during 'perl Makefile.PL':
#####
...
Fetching http://www.cpan.org/authors/id/D/DA/DANKOGAI/Unicode-Unihan-0.04.tar.gz
-> OK
Unpacking Unicode-Unihan-0.04.tar.gz
Entering Unicode-Unihan-0.04
Checking configure dependencies from META.yml
Configuring Unicode-Unihan-0.04
Running Makefile.PL
-> FAIL Timed out (> 60s). Use --verbose to retry.
-> N/A
-> FAIL Configure failed for Unicode-Unihan-0.04.
#####
I don't see anything in Makefile.PL that should cause a timeout.
II. Test failure
I entered the directory and ran perl Makefile.PL manually, without any problem. I then ran make manually. When I ran 'make test', I got this test failure:
#####
$ make test
PERL_DL_NONLAZY=1 "/usr/home/jkeenan/var/tad/testing/perl-5.27.11/bin/perl5.27.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0-useme.t ..... ok
t/1-autoload.t .. 1/176
# Failed test '$db->TotalStrokes'
# at t/1-autoload.t line 24.
# got: '/usr/home/jkeenan/var/tad/testing/perl-5.27.11/.cpanm/work/1526753273.89959/Unicode-Unihan-0.04/blib/lib/Unicode/Unihan/TotalStrokes.db: Inappropriate file type or format at /usr/home/jkeenan/var/tad/testing/perl-5.27.11/.cpanm/work/1526753273.89959/Unicode-Unihan-0.04/blib/lib/Unicode/Unihan.pm line 33.
# '
# expected: ''
# Looks like you failed 1 test of 176.
t/1-autoload.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/176 subtests
Test Summary Report
-------------------
t/1-autoload.t (Wstat: 256 Tests: 176 Failed: 1)
Failed test: 165
Non-zero exit status: 1
Files=2, Tests=178, 0 wallclock secs ( 0.02 usr 0.03 sys + 0.12 cusr 0.05 csys = 0.22 CPU)
Result: FAIL
Failed 1/2 test programs. 1/178 subtests failed.
*** Error code 1
Stop.
#####
Thank you very much.
Jim Keenan