Bug#870236: libnet-dns-perl: autopkgtest broken in 1.10

Niko Tyni ntyni at debian.org
Mon Jul 31 08:19:40 UTC 2017


On Sun, Jul 30, 2017 at 11:28:40PM -0700, Steve Langasek wrote:
> Package: libnet-dns-perl
> Version: 1.10-1
> Severity: important
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu artful ubuntu-patch autopkgtest

> In Ubuntu, the libnet-dns-perl autopkgtests are failing:
> 
> t/00-version.t ................ 
> 1..1
> ok 1 - file version: 0.01	blib/lib/Debian/pkgperl/Foobar.pm
> No such file or directory at t/00-version.t line 40.
> END failed--call queue aborted.
> # Looks like your test exited with 2 just after 1.
> Dubious, test returned 2 (wstat 512, 0x200)
> 
> <http://autopkgtest.ubuntu.com/packages/libn/libnet-dns-perl/artful/amd64>
> 
> This is a regression vs. 1.07, which is the last version that has been
> tested so far on ci.debian.net.
> 
> I've tracked down the regression to the fact that the autopkgtest references
> 'Makefile' in the current directory, but when run as part of the generic
> perl autopkgtests, we won't have done a package build so there is no
> Makefile only Makefile.PL.  To resolve this, I've created the attached patch
> which checks for the existence of Makefile before attempting to open it.

Thanks. The test doesn't make much sense for the autopkgtest setup,
so skipping it makes sense. An easier way to do that would be just
to put it in debian/tests/pkg-perl/smoke-skip, which I've just done
with 1.10-2.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list