[xml/sgml-pkgs] Bug#837745: xml-core: Makes packages to FTBFS with 'Unexpected debhelper version format'

Santiago Vila sanvila at unex.es
Fri Sep 23 10:29:57 UTC 2016


Dear Perl maintainers:

This package has not had a maintainer upload in some time, so maybe it
will eventually need to be NMUed again.

Would be possible for you to suggest a good fix for this bug?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837745#10

The regexp quoted by Sven is used in this way:

$1 > 9 or ($1 == 9 and $2 >= '20120909') or error('debhelper 9.20120909 or later required');

So what is really required here is to check that this is true:

$Debian::Debhelper::Dh_Version::version >= "9.20120909"

in the dpkg-version sense, but surely there is already a perl module
to compare Debian version numbers "the right way"...

Thanks.



More information about the debian-xml-sgml-pkgs mailing list