Bug#752355: liblucy-perl: FTBFS with Perl 5.20: alternative build dependencies

Niko Tyni ntyni at debian.org
Sun Jun 22 20:59:37 UTC 2014


Package: liblucy-perl
Version: 0.3.3-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.20-transition

This package fails to build with sbuild with perl_5.20.0-1 from
experimental:

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

The offending build dependency is
 perl (<< 5.19.0) | libmodule-build-perl,

as sbuild (including, I believe, the buildds) only looks at the first
alternative (at least when at least some version of that package is
installable /already installed?)

In this case, as the libmodule-build-perl dependency is unversioned,
I think there's a simple fix: just use libmodule-build-perl alone.
This is provided as a virtual package by perl before 5.20, and after that
the dependency will pull in the separate package as intended
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list