Bug#578551: libauthen-sasl-cyrus-perl: FTBFS with Perl 5.12: strange version number

Niko Tyni ntyni at debian.org
Tue Apr 20 18:20:33 UTC 2010


Package: libauthen-sasl-cyrus-perl
Version: 0.13-server-5
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.12-transition

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.
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list