Discussion:
Bug#870236: libnet-dns-perl: autopkgtest broken in 1.10
Steve Langasek
2017-07-31 06:28:40 UTC
Permalink
Package: libnet-dns-perl
Version: 1.10-1
Severity: important
Tags: patch
User: ubuntu-***@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch autopkgtest

Hi Ondřej,

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.

Hope that helps,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
***@ubuntu.com ***@debian.org
Niko Tyni
2017-07-31 08:19:40 UTC
Permalink
Post by Steve Langasek
Package: libnet-dns-perl
Version: 1.10-1
Severity: important
Tags: patch
Usertags: origin-ubuntu artful ubuntu-patch autopkgtest
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 ***@debian.org
Loading...