Bug#917430: libconfig-model-dpkg-perl: test failures with newer Config::Model

Dominique Dumont dod at debian.org
Sun Dec 30 17:57:26 GMT 2018


On Thu, 27 Dec 2018 17:56:46 +0100 gregor herrmann <gregoa at debian.org> wrote:
> libconfig-model-dpkg-perl (both 2.119 in the archive and the version
> in git) doesn't build anymore, probably due to changes in or around
> Config::Model.

More likely, lintian was updated and some tests are too pedantic to handle 
well the new value of standard-version. I've updated the tests, not by 
increasing the standard-version values set in the test fixtures (aka the 
debian/control files used by the tests), but by changing the tests to expect a 
warning about standard-version. This way the tests won't break at the next 
policy update.

> 
> Backend error: YAML::XS::Load Error: The problem:
> 
>     invalid trailing UTF-8 octet
> 
> was found at document: 0
> Prototype mismatch: sub Config::Model::Tester::DEBUG () vs none at /usr/
share/perl5/Log/Log4perl.pm line 564.

This is another error where UTF-8 data was not handled properly with YAML::XS. 
This is fixed in libconfig-model-backend-yaml-perl 2.133. I've not updated the 
versioned dependency on libconfig-model-dpkg-perl because libconfig-model-
backend-yaml-perl is only in unstable at version 2.133.

Thanks for the report.

All the best



More information about the pkg-perl-maintainers mailing list