The following commit has been merged in the master branch:
commit d11b5e425f02cb250354d47a2631430024cfbba8
Author: Niels Thykier <[email protected]>
Date:   Sat Jul 9 00:11:14 2011 +0200

    Do not assume the architecture field is present in c/binaries

diff --git a/checks/binaries b/checks/binaries
index 049323f..7a3db14 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -139,7 +139,7 @@ my $has_php_ext = 0;
 
 my %SONAME;
 
-$arch = $info->field('architecture');
+$arch = $info->field('architecture')//'';
 
 foreach my $file (sort keys %{$info->objdump_info}) {
     my $objdump = $info->objdump_info->{$file};
diff --git a/debian/changelog b/debian/changelog
index f431502..aa05e93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ lintian (2.5.2) UNRELEASED; urgency=low
     + [NT] Recognise .gox files as object files that cannot be
       stripped.  Thanks to Matthias Klose for the report.
       (Closes: #624521)
+    + [NT] Do not assume that the architecture field is present.
   * checks/circular-deps.desc:
     + [NT] Fixed typo; thanks to Nicolás Alvarez for the report
       and patch.  (Closes: #630925)

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to