Your message dated Sun, 06 Jan 2008 10:52:15 -0800 with message-id <4781235F.2050900@freedesktop.org> and subject line Bug#459407: lintian: unusual-interpreter /usr/bin/env has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lintian: unusual-interpreter /usr/bin/env
- From: Josh Triplett <josh@freedesktop.org>
- Date: Sun, 06 Jan 2008 02:07:04 -0800
- Message-id: <[🔎] 20080106100704.3403.66308.reportbug@josh-mobile>
Package: lintian Version: 1.23.41 Severity: normal Lintian reports /usr/bin/env as an unusual-interpreter. However, many python scripts use "#!/usr/bin/env python" to find python on the path rather than assuming a particular location. Lintian should allow /usr/bin/env as an interpreter. Better yet, it should special-case /usr/bin/env and look at the second argument to determine the interpreter, with a whitelist of permissible env-indirect interpreters; to start with, that list should include python. - Josh Triplett -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages lintian depends on: ii binutils 2.18.1~cvs20080103-1 The GNU assembler, linker and bina ii diffstat 1.45-2 produces graph of changes introduc ii dpkg-dev 1.14.14 package building tools for Debian ii file 4.21-4 Determines file type using "magic" ii gettext 0.17-2 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libparse-debianchan 1.1.1-1 parse Debian changelogs and output ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin ii man-db 2.5.0-4 on-line manual pager ii perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction lintian recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---
- To: Russ Allbery <rra@debian.org>
- Cc: 459407-done@bugs.debian.org
- Subject: Re: Bug#459407: lintian: unusual-interpreter /usr/bin/env
- From: Josh Triplett <josh@freedesktop.org>
- Date: Sun, 06 Jan 2008 10:52:15 -0800
- Message-id: <4781235F.2050900@freedesktop.org>
- In-reply-to: <[🔎] 87myrix1a0.fsf@windlord.stanford.edu>
- References: <[🔎] 20080106100704.3403.66308.reportbug@josh-mobile> <[🔎] 87myrix1a0.fsf@windlord.stanford.edu>
Russ Allbery wrote: > Josh Triplett <josh@freedesktop.org> writes: >> Package: lintian >> Version: 1.23.41 >> Severity: normal >> >> Lintian reports /usr/bin/env as an unusual-interpreter. However, many >> python scripts use "#!/usr/bin/env python" to find python on the path >> rather than assuming a particular location. Lintian should allow >> /usr/bin/env as an interpreter. Better yet, it should special-case >> /usr/bin/env and look at the second argument to determine the >> interpreter, with a whitelist of permissible env-indirect interpreters; >> to start with, that list should include python. > > #!/usr/bin/env python is one of the test cases in lintian's test suite, so > I'm pretty sure it works in general. lintian's script checking logic > already does implement pretty much exactly what you describe. As Chris > says, we'll need to see the specific problem that triggered this. Sigh. Clearly I should have checked more carefully; the script in question really does just have "#!/usr/bin/env", unlike all the other scripts in the same package which have "#!/usr/bin/env python". Sorry I missed that; lintian seems to have done its job here. (Not my package; non-Debian source which provided a debian directory.) Closing this bug. - Josh TriplettAttachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---