[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513996: [checks/binaries] detect binaries from other architectures



merge 236534 513996
tag 513996 patch
thanks

On Tuesday 03 February 2009 02:15:15 Russ Allbery wrote:
> Raphael Geissert <atomo64@gmail.com> writes:
> > While working on the check for prebuilt binaries in source tarballs I
> > was thinking about making it severity: minor as having prebuilt binaries
> > around may cause make to believe it doesn't have to anything on them.
> > Those cases are usually alleviated thanks to the call to debian/rules
> > clean, but just to make sure prebuilt binaries are not accidentally
> > shipped, I think it would be a good idea to check for binaries belonging
> > to another architecture other than the one specified in the binary
> > control file.  Of course binaries in multi arch directories should be
> > ignored, but I can't think about any good reason to for example ship an
> > i386 binary in an armel package.
>
> One does that sort of thing for cross-compilation support packages, but
> they normally use recognizable special directories.  Sure, that sounds
> like a good check; it's no more prone to false positives than the existing
> check for binaries in arch: all packages (which has the same problems).

Patches in attached mbox should do it. Ran it against my 
box's /var/cache/apt/archives plus some others.

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net

Attachment: lintian-other_arch.mbox
Description: application/mbox


Reply to: