Bug#514697: [lib/Lintian/Collect/Binary.pm] missing "use Lintian::Colection"
Package: lintian
Version: 2.2.4
Severity: important
Tags: patch
Hi all,
Again bad news:
Can't locate object method "new" via package "Lintian::Relation" (perhaps you
forgot to load "Lintian::Relation"?)
at /home/raphael/Deb/lintian/lib/Lintian/Collect/Binary.pm line 285.
internal error: cannot run copyright_file check on package php5-cli
warning: skipping check of binary package php5-cli
$ git diff
diff --git a/lib/Lintian/Collect/Binary.pm b/lib/Lintian/Collect/Binary.pm
index e054655..fb404d1 100644
--- a/lib/Lintian/Collect/Binary.pm
+++ b/lib/Lintian/Collect/Binary.pm
@@ -26,6 +26,7 @@ use base 'Lintian::Collect';
use Carp qw(croak);
use Util;
+use Lintian::Relation;
# Initialize a new binary package collect object. Takes the package name,
# which is currently unused.
Cheers,
--
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net
Reply to: