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

Bug#431545: shebang checks should skip Ruby libraries



Package: lintian
Version: 1.23.32
Severity: minor

Ruby libraries (.rb files in /usr/lib/ruby/...) often contain unit tests
used during the development phase.  For this purpose they carry a shebang
at the top and checks at the bottom.  When installed, the libs are
installed non-executable (logically).  However, this leads to the warning
'script-not-executable' and even the error 'wrong-path-for-ruby'.  The
check, however, is irrelevant for these non-executable libs because the
shebang will never be interpreted. 

After agreeing with Russ that an exception for Ruby library files should be
made, he asked me to file this bug report as a reminder.

Regards,
Paul

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (102, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-4-powerpc
Locale: LANG=C, LC_CTYPE=nl_NL.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils               2.17cvs20070426-8 The GNU assembler, linker and bina
ii  diffstat               1.43-2            produces graph of changes introduc
ii  dpkg-dev               1.14.4            package building tools for Debian
ii  file                   4.21-1            Determines file type using "magic"
ii  gettext                0.16.1-2          GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libparse-debianchangel 1.0-1             parse Debian changelogs and output
ii  man-db                 2.4.4-3           The on-line manual pager
ii  perl [libdigest-md5-pe 5.8.8-7           Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information



Reply to: