Subject: | undefined symbol: unac_debug_callback |
Since perl 5.27.6 the test suite has another failure:
...
"/opt/perl-5.27.9/bin/perl5.27.9" -MExtUtils::Command::MM -e 'cp_nonempty' -- Unaccent.bs blib/arch/auto/Text/Unaccent/Unaccent.bs 644
PERL_DL_NONLAZY=1 "/opt/perl-5.27.9/bin/perl5.27.9" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/unac.t .. Can't load '/home/cpansand/.cpan/build/2018031809/Text-Unaccent-1.08-0/blib/arch/auto/Text/Unaccent/Unaccent.so' for module Text::Unaccent: /home/cpansand/.cpan/build/2018031809/Text-Unaccent-1.08-0/blib/arch/auto/Text/Unaccent/Unaccent.so: undefined symbol: unac_debug_callback at /opt/perl-5.27.9/lib/5.27.9/x86_64-linux/DynaLoader.pm line 193.
at t/unac.t line 20.
Compilation failed in require at t/unac.t line 20.
BEGIN failed--compilation aborted at t/unac.t line 20.
t/unac.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
...
It seems that perl does not define HAS_VPRINTF anymore. Adding
#define HAS_VPRINTF
to unac.c seems to workaround the problem.