Subject: | test failures with 5.22.0 |
...
Configuring L/LD/LDACHARY/Text-Unaccent-1.08.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -liconv
Generating a Unix-style Makefile
Writing Makefile for Text::Unaccent
Writing MYMETA.yml and MYMETA.json
LDACHARY/Text-Unaccent-1.08.tar.gz
/usr/local/perl-forge/v/5.22.0/bin/perl Makefile.PL -- OK
Running make for L/LD/LDACHARY/Text-Unaccent-1.08.tar.gz
...
PERL_DL_NONLAZY=1 "/usr/local/perl-forge/v/5.22.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/unac.t ..
Failed 4/4 subtests
Test Summary Report
-------------------
t/unac.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 4 tests but ran 0.
Files=1, Tests=0, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.03 cusr 0.00 csys = 0.08 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 255
LDACHARY/Text-Unaccent-1.08.tar.gz
/usr/bin/make test -- NOT OK
Note that there are some compilation warnings. I doubt that these are the reason for the test failures, though:
...
gcc -c -I. -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/in
clude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC "-I/usr/local/perl-forge/v/5.22.0/lib/CORE" -DHAVE_CONFIG_H Unaccent.c
Unaccent.xs: In function ‘XS_Text__Unaccent_unac_string’:
Unaccent.xs:71: warning: passing argument 5 of ‘unac_string’ from incompatible pointer type
unac.h:94: note: expected ‘size_t *’ but argument is of type ‘int *’
Unaccent.xs: In function ‘XS_Text__Unaccent_unac_string_utf16’:
Unaccent.xs:88: warning: passing argument 4 of ‘unac_string_utf16’ from incompatible pointer type
unac.h:78: note: expected ‘size_t *’ but argument is of type ‘int *’
...
gcc -c -I. -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/in
clude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC "-I/usr/local/perl-forge/v/5.22.0/lib/CORE" -DHAVE_CONFIG_H unac.c
unac.c: In function ‘unac_string’:
unac.c:13888: warning: passing argument 6 of ‘convert’ from incompatible pointer type
unac.c:13771: note: expected ‘size_t *’ but argument is of type ‘int *’
unac.c:13892: warning: passing argument 4 of ‘unac_string_utf16’ from incompatible pointer type
unac.c:13672: note: expected ‘size_t *’ but argument is of type ‘int *’