Bug#832840: license-reconcile: FTBFS: dh_auto_test: perl Build test --verbose 1 returned exit code 255

Petter Reinholdtsen pere at hungry.com
Wed Aug 24 11:42:39 UTC 2016


Control: tags -1 + patch

[Petter Reinholdtsen]
> My problem is that Debian::LicenseReconcile::App::suggest_stanzas isn't a subroutine,
> it is a boolean variable.  I have no idea how to convince the coverage test that
> it isn't supposed to have any coverage.  Or perhaps I completly misunderstand how
> this test work?

I figured this one out.  The message was misleading, and the fix is to list the
object member variable in the POD block below the 'files' entry like this:

diff --git a/lib/Debian/LicenseReconcile/App.pm b/lib/Debian/LicenseReconcile/App.pm
index f9fa59f..993a12b 100644
--- a/lib/Debian/LicenseReconcile/App.pm
+++ b/lib/Debian/LicenseReconcile/App.pm
@@ -289,6 +289,8 @@ This contains the core logic of the tool.
 
 =head2 files
 
+=head2 suggest_stanzas
+
 =head1 AUTHOR
 
 Nicholas Bamber, C<< <nicholas at periapt.co.uk> >>

With this change in place, the package build as it should in Unstable.
-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-perl-maintainers mailing list