Bug#578551: libauthen-sasl-cyrus-perl: FTBFS with Perl 5.12: strange version number
Dominic Hargreaves
dom at earth.li
Sun May 2 14:24:05 UTC 2010
[CCing CPAN maintainers]
On Tue, Apr 20, 2010 at 09:20:33PM +0300, Niko Tyni wrote:
> This package fails to build on amd64 with perl 5.12.0-1 from experimental:
>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
> t/*.t
> Can't locate object method "listmech" via package "Authen::SASL::Perl::PLAIN" at t/plain.t line 39.
> # Looks like you planned 5 tests but ran 2.
> # Looks like your test exited with 255 just after 2.
> t/plain.t ..
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 3/5 subtests
>
> Digging into this a bit, loading Authen::SASL::Cyrus fails because of its version number:
>
> # perl -Iblib/lib -Iblib/arch -e 'use Authen::SASL::Cyrus'
> Invalid version format (non-numeric data) at /usr/lib/perl/5.12/DynaLoader.pm line 215.
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
>
> and the loader in Authen::SASL falls back to Authen::SASL::Perl::PLAIN,
> which doesn't implement the "listmech" method.
>
> Changing $VERSION in Cyrus.pm to a numeric value fixes the issue.
This is an awkward one. The -server suffix is intended to distinguish
a fork of the code against the main CPAN line. Both versions (
http://www.cpan.org/authors/id/P/PB/PBOETTCH/ and
http://search.cpan.org/~adamson/Authen-SASL-Cyrus-0.12/Cyrus.pod)
look fairly quiet, and there have been no new release of mainline since
the fork was made. Perhaps it would be appropriate to see whether
the -server variant could take over the main line. and a 0.14 be
released?
See
http://perldoc.perl.org/perldelta.html#Version-number-formats
for full details of the version number requirements of Perl 5.12
(with a few exceptions for v-prefix and decimal points/underscores,
they must be entirely numeric).
Cheers,
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
More information about the pkg-perl-maintainers
mailing list