Your message dated Sun, 08 Mar 2009 19:27:04 -0700 with message-id <87vdqjph1j.fsf@windlord.stanford.edu> and subject line Re: Bug#516858: lintian: false negative arch-dependent-file-in-usr-share (nsis) has caused the Debian Bug report #516858, regarding lintian: false negative arch-dependent-file-in-usr-share (nsis) to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 516858: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516858 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lintian: false negative arch-dependent-file-in-usr-share (nsis)
- From: Paul Wise <pabs@debian.org>
- Date: Tue, 24 Feb 2009 01:51:09 +0000
- Message-id: <1235440270.30954.167.camel@chianamo>
Package: lintian Version: 2.2.6 Severity: normal NSIS contains the following architecture-specific files in /usr/share. These are all binaries for Microsoft Windows built with the mingw32 cross-compiler we have in Debian. nsis is a tool to create installers for Windows applications and so it needs some Windows binaries to make those installers work. These files are architecture specific (win32) but currently the files are stored in /usr/share/nsis since that is where upstream puts them. I think lintian should warn about these Win32-specific files being in /usr/share. I'll be overriding the warnings though, until I can figure out where to install them (Debian needs multi-arch support too) and patch upstream appropriately. $ find debian/nsis/usr/share -type f -print0 | xargs -0 file | grep PE32 debian/nsis/usr/share/nsis/Bin/RegTool.bin: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Bin/zip2exe.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Bin/makensisw.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Bin/MakeLangId.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Stubs/lzma: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Stubs/bzip2_solid: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Stubs/zlib: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Stubs/lzma_solid: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Stubs/bzip2: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Stubs/zlib_solid: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Contrib/UIs/modern_smalldesc.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Contrib/UIs/default.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Contrib/UIs/modern_headerbmpr.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Contrib/UIs/modern_headerbmp.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Contrib/UIs/modern_nodesc.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Contrib/UIs/modern.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Contrib/UIs/sdbarker_tiny.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/InstallOptions.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/Dialer.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/TypeLib.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/AdvSplash.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/BgImage.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/LangDLL.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/Math.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/NSISdl.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/Splash.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/UserInfo.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/nsDialogs.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/System.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/StartMenu.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/nsExec.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/VPatch.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit debian/nsis/usr/share/nsis/Plugins/Banner.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina ii diffstat 1.45-2 produces graph of changes introduc ii dpkg-dev 1.14.25 Debian package development tools ii file 4.26-1 Determines file type using "magic" ii gettext 0.17-4 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libipc-run-perl 0.80-2 Perl module for running processes ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output ii libtimedate-perl 1.1600-9 Time and date functions for Perl ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin ii man-db 2.5.2-4 on-line manual pager ii perl [libdigest-sha 5.10.0-19 Larry Wall's Practical Extraction Versions of packages lintian suggests: pn binutils-multiarch <none> (no description available) ii libtext-template-perl 1.44-1.2 Text::Template perl module ii man-db 2.5.2-4 on-line manual pager -- bye, pabs http://wiki.debian.org/PaulWiseAttachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
- To: Paul Wise <pabs@debian.org>
- Cc: 516858-done@bugs.debian.org
- Subject: Re: Bug#516858: lintian: false negative arch-dependent-file-in-usr-share (nsis)
- From: Russ Allbery <rra@debian.org>
- Date: Sun, 08 Mar 2009 19:27:04 -0700
- Message-id: <87vdqjph1j.fsf@windlord.stanford.edu>
- In-reply-to: <1235442614.30954.178.camel@chianamo> (Paul Wise's message of "Tue\, 24 Feb 2009 02\:30\:14 +0000")
- References: <1235440270.30954.167.camel@chianamo> <87ljrwinq1.fsf@windlord.stanford.edu> <1235442614.30954.178.camel@chianamo>
Paul Wise <pabs@debian.org> writes: > On Mon, 2009-02-23 at 18:16 -0800, Russ Allbery wrote: >> Hm. I'm somewhat torn on this -- my guess was that whenever there are >> non-ELF binaries in an architecture-independent package like this, it's >> most likely that they're for some purpose that doesn't make them >> *really* architecture-specific. For example, firmware for embedded >> devices, which from the perspective of the host system is legitimate >> /usr/share content. Since they're not ELF, we know that they're not >> just misplaced compiled helpers or libraries, since they're not >> executable directly on the host. > > Well, you can execute PE files on Linux too, just need the right loader > and libraries :) > > I agree about this though, probably all/most of the cases of PE > executables in Debian would have to override this. I'm going to go ahead and close this bug based on the discussion. I think that for the most part PE executables in Debian packages are likely there to be copied to other places, run in special ways, or otherwise used in ways that don't involve directly executing them, which means that nearly all Lintian tags in this area would be false positives, so the current Lintian behavior of ignoring them is correct. -- Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
--- End Message ---