Bug#752989: libio-callback-perl: FTBFS with Perl 5.20: alternative dependencies

Niko Tyni ntyni at debian.org
Sat Jun 28 07:03:08 UTC 2014


Package: libio-callback-perl
Version: 1.12-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.20-transition

This package fails to build from source with Perl 5.20 (currently in
experimental) and sbuild:

  The following packages have unmet dependencies:
   sbuild-build-depends-libio-callback-perl-dummy : Depends: perl (< 5.19) but 5.20.0-1 is to be installed
  E: Unable to correct problems, you have held broken packages.

The problem is this dependency:

  Build-Depends: perl (<< 5.19) | libmodule-build-perl (>= 0.40),

Perhaps something like this (untested) could work?

  Build-Depends: perl (>= 5.17.1~) | libmodule-build-perl (>= 0.40), libmodule-build-perl

(The unversioned dependency would guarantee either a perl version with
 the bundled M::B, or a separate package. The versioned alternative
 would guarantee that the M::B version is new enough.)

I suppose we'll have to teach lintian new tricks too at some point...
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list