Bug#858439: pinto: please fix autopkgtestsuite

Gianfranco Costamagna locutusofborg at debian.org
Wed Mar 22 11:51:52 UTC 2017


Source: pinto
Version: 0.97+dfsg-4
tags: patch

Hello,
the following patch makes the testsuite succeed because Moose is deprecated
(yes, removing Moose is the correct fix I know, but I have no knowledge on that topic)

But since the testsuite fails because an uncatched warning is thrown, whitelisting it seems
a good workaround for now.
http://launchpadlibrarian.net/311871614/pinto_0.97+dfsg-4_0.97+dfsg-4ubuntu1.diff.gz

diff -Nru pinto-0.97+dfsg/debian/changelog pinto-0.97+dfsg/debian/changelog
--- pinto-0.97+dfsg/debian/changelog	2015-05-29 16:09:56.000000000 +0000
+++ pinto-0.97+dfsg/debian/changelog	2017-03-22 11:48:31.000000000 +0000
@@ -1,3 +1,12 @@
+pinto (0.97+dfsg-4ubuntu1) zesty; urgency=medium
+
+  [ Iain Lane ]
+  * debian/tests/pkg-perl/use-whitelist: 
+    - Ignore warning of deprecated Moose, making testsuite fail
+      with new perl
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Wed, 22 Mar 2017 12:46:48 +0100
+
pinto (0.97+dfsg-4) unstable; urgency=medium

* Team upload.
diff -Nru pinto-0.97+dfsg/debian/tests/pkg-perl/use-whitelist pinto-0.97+dfsg/debian/tests/pkg-perl/use-whitelist
--- pinto-0.97+dfsg/debian/tests/pkg-perl/use-whitelist	1970-01-01 00:00:00.000000000 +0000
+++ pinto-0.97+dfsg/debian/tests/pkg-perl/use-whitelist	2017-03-22 11:46:45.000000000 +0000
@@ -0,0 +1 @@
+Any::Moose is deprecated. Please use Moo instead at /usr/share/perl5/Term/EditorEdit.pm line 13.

thanks for considering it!

Gianfranco



More information about the pkg-perl-maintainers mailing list