Your message dated Tue, 10 May 2011 22:25:32 +0000 with message-id <E1QJvMy-0002p2-22@franck.debian.org> and subject line Bug#626210: fixed in lintian 2.5.0 has caused the Debian Bug report #626210, regarding lintian: check /usr/bin/ruby scripts for dependency on 'ruby | ruby-interpreter' 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.) -- 626210: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626210 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lintian: check /usr/bin/ruby scripts for dependency on 'ruby | ruby-interpreter'
- From: Antonio Terceiro <terceiro@softwarelivre.org>
- Date: Mon, 9 May 2011 14:03:05 -0700
- Message-id: <[🔎] 20110509210305.GA5213@softwarelivre.org>
Package: lintian Version: 2.5.0~rc4 Severity: wishlist Tags: patch Hello lintian maintainers, As it was announced some time ago [1], the Debian Ruby team is working on a new policy and a new packaging helper for Ruby software. The changes are summarized in the Debian Wiki [2]. One of these changes is that we introduced a pseudo-package called 'ruby-interpreter', which is currently provided by ruby1.8 and ruby1.9.1, and may be provided by other implementations in the future (such as jruby, rubinius etc). Packages providing ruby-interpreter should also include an alternatives entry for /usr/bin/ruby, so that users can switch which interpreter is used by default when one runs plain 'ruby' and not rubyX.Y explicitly. This way, we concluded that packages that are supposed to work on any reasonable Ruby implementation must depend on 'ruby | ruby-interpreter' in order to make this work. The attached patch changes this in lintian, and changes the description of the corresponding tag to match the new status. Please consider including this patch in the next lintian release: it will be very usefull to the Ruby team to have this updated in lintian. [1] http://lists.debian.org/debian-devel/2011/03/msg00210.html [2] http://wiki.debian.org/Teams/Ruby/RubyInWheezy -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.21.51.20110421-4 The GNU assembler, linker and bina ii diffstat 1.54-1 produces graph of changes introduc ii dpkg-dev 1.16.0.3 Debian package development tools ii file 5.04-5+b1 Determines file type using "magic" ii gettext 0.18.1.1-3 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl 0.1.24+b2 Perl interface to libapt-pkg ii libclass-accessor-per 0.34-1 Perl module that automatically gen ii libemail-valid-perl 0.184-1 Perl module for checking the valid ii libipc-run-perl 0.89-1 Perl module for running processes ii libparse-debianchange 1.2.0-1 parse Debian changelogs and output ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.58-1 module to manipulate and access UR ii locales 2.13-2 Embedded GNU C Library: National L ii man-db 2.6.0.2-1 on-line manual pager ii perl [libdigest-sha-p 5.12.3-6 Larry Wall's Practical Extraction ii unzip 6.0-4 De-archiver for .zip files lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarch <none> (no description available) ii libhtml-parser-perl 3.68-1+b1 collection of modules that parse H ii libtext-template-perl 1.45-2 Text::Template perl module ii man-db 2.6.0.2-1 on-line manual pager -- no debconf information -- Antonio Terceiro <terceiro@softwarelivre.org> http://softwarelivre.org/terceiroFrom b505ee89b74bb154a86f4d3d639ae45a7d703aa7 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro <terceiro@softwarelivre.org> Date: Mon, 9 May 2011 12:43:44 -0700 Subject: [PATCH] Update Ruby scripts for new Ruby policy --- checks/scripts | 2 +- checks/scripts.desc | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/checks/scripts b/checks/scripts index e512031..2a49c86 100644 --- a/checks/scripts +++ b/checks/scripts @@ -95,7 +95,7 @@ our %interpreters = rep => [ '/usr/bin' ], rexx => [ '/usr/bin', 'regina-rexx' ], rrdcgi => [ '/usr/bin', 'rrdtool' ], - ruby => [ '/usr/bin' ], + ruby => [ '/usr/bin', 'ruby | ruby-interpreter' ], runhaskell => [ '/usr/bin', 'ghc | ghc6' ], runhugs => [ '/usr/bin', 'hugs | hugs98' ], sed => [ '/bin', '' ], diff --git a/checks/scripts.desc b/checks/scripts.desc index 19c8ec9..7e9d955 100644 --- a/checks/scripts.desc +++ b/checks/scripts.desc @@ -266,14 +266,18 @@ Info: Packages with Python scripts should depend on the package Tag: ruby-script-but-no-ruby-dep Severity: important Certainty: certain -Info: Packages with Ruby scripts must depend on the package ruby. Those - that have Ruby scripts that run under a specific version of Ruby need a +Info: Packages with Ruby scripts must depend on a valid Ruby interpreter. + Those that have Ruby scripts that run under a specific version of Ruby need a dependency on the equivalent version of Ruby. . - For example, if a script in the package uses <tt>#!/usr/bin/ruby</tt>, - the package needs a dependency on "ruby". If a script uses - <tt>#!/usr/bin/ruby1.9</tt>, then the package need a dependency on - "ruby1.9". + If a script in the package uses <tt>#!/usr/bin/ruby</tt>, the package needs a + dependency on "ruby | ruby-interpreter". This allows users to choose which + interpreter to use by default. If the package is intended to be used with a + specific Ruby version, its scripts should use that version directly, such + as <tt>#!/usr/bin/ruby1.8</tt> + . + If a script uses <tt>#!/usr/bin/ruby1.9</tt>, then the package needs a + dependency on "ruby1.9". . In some cases a weaker relationship, such as Suggests or Recommends, will be more appropriate. -- 1.7.5.1Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 626210-close@bugs.debian.org
- Subject: Bug#626210: fixed in lintian 2.5.0
- From: Niels Thykier <niels@thykier.net>
- Date: Tue, 10 May 2011 22:25:32 +0000
- Message-id: <E1QJvMy-0002p2-22@franck.debian.org>
Source: lintian Source-Version: 2.5.0 We believe that the bug you reported is fixed in the latest version of lintian, which is due to be installed in the Debian FTP archive: lintian_2.5.0.dsc to main/l/lintian/lintian_2.5.0.dsc lintian_2.5.0.tar.gz to main/l/lintian/lintian_2.5.0.tar.gz lintian_2.5.0_all.deb to main/l/lintian/lintian_2.5.0_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 626210@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Niels Thykier <niels@thykier.net> (supplier of updated lintian package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 10 May 2011 20:44:32 +0200 Source: lintian Binary: lintian Architecture: source all Version: 2.5.0 Distribution: unstable Urgency: low Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org> Changed-By: Niels Thykier <niels@thykier.net> Description: lintian - Debian package checker Closes: 588873 607694 614715 617991 622888 623390 623780 623878 624149 626038 626210 Changes: lintian (2.5.0) unstable; urgency=low . * Summary of tag changes: + Added: - duplicate-files - format-3.0-but-debian-changes-patch - extended-description-contains-empty-paragraph - git-patches-not-exported . * checks/binaries: + [NT] Fixed false-positive embedded-library. Lintian incorrectly assumed that none of these binary packages would contain a source version in their source field. (Closes: #626038) * checks/copyright-file.desc: + [ADB] Correct a spelling mistake ("coypright" -> "copyright") in the description of copyright-refers-to-deprecated-bsd-license-file; thanks, Kees Cook. (Closes: #623780) * checks/description{,.desc}: + [NT] Check for empty paragraphs in extended description. Thanks to Gerfried Fuchs for the patch. * checks/duplicate-files{,.desc}: + [NT] Added to check for duplicate files in usr/share/doc. Thanks to Axel Beckert for the suggestion. (Closes: #614715) * check/fields: + [NT] Accepted pach from Antonio Terceiro to add Ruby-Version as a accepted field in binary packages. Thanks to Vincent Carmona for the report. (Closes: #623390) * check/files: + [NT] Accepted multiple patches (merged into one) from Marcelo Jorge Vieira to detect a number of new javascript libraries. (Closes: #623878) * checks/patch-systems{,.desc}: + [NT] Detect when 3.0 (quilt) packages have a debian-changes-VERSION patch without a patch header. Thanks to Iain Lane for suggestion and patch. (Closes: #588873) * checks/debian-source-dir{,.desc}: + [NT] Applied patch from David Bremner to enable git-patches-not-exported. (Closes: #607694) * checks/java: + [NT] Tightened the regex for finding java libraries and restricted missing-classpath tag to only be emitted for packages that actually contain at least one jar file we check. This fixes false-positives for packages that depended on libX-java-doc packages or packages that only contain jar files we ignore. * check/scripts{,.desc}: + [NT] Accepted patch from Antonio Terceiro to allow ruby-interpreter as alternative to ruby for /usr/bin/ruby scripts. (Closes: #626210) . * data/common/source-fields: + [NT] Accepted pach from Antonio Terceiro to add Ruby-Version as a accepted field in binary packages. Thanks to Vincent Carmona for the report. . * lib/Lintian/ProcessableGroup.pm: + [NT] Properly handle if the changes file is located directly in the file system root. Thanks to Trent W. Buck for the bug report. (Closes: #624149) * lib/Lintian/Tags.pm: + [NT] Allow overrides to use wildcards anywhere instead of only in the beginning or the end. Thanks to Steve R. Langasek for the report. (Closes: #617991) + [NT] Allow simple architecture overrides such as [i386] or [!i386]. Architecture wildcards are not supported yet. The actual syntax for the architecture the same as the one used in the Build-Depends. Thanks to Andreas Beckmann for the bug report and the solution proposal. (Closes: #622888) Checksums-Sha1: e5ff5d46d2b702f03b72849c4bbf1100f93b3915 2402 lintian_2.5.0.dsc fa7a65c2fdf28b4b70aae5ce866a08f49b571fe9 924659 lintian_2.5.0.tar.gz 5c5cc472d276835bc8e28f11bfb548ba26803d2c 585644 lintian_2.5.0_all.deb Checksums-Sha256: e343e2d8bebb2c5b5315c3c0e70948a988919364bfe4be8918bdc62f0dcd7af5 2402 lintian_2.5.0.dsc 22b2ae111fd45809f7c8933b25069079cbbbfa0352b1212c12f4fd8235f97dea 924659 lintian_2.5.0.tar.gz e70932268f2ac11f2be032ad2dc07a761205940dbd71959cbf578ca75302082c 585644 lintian_2.5.0_all.deb Files: 087aa590f74b65781e24571c3c31da07 2402 devel optional lintian_2.5.0.dsc bccd22190c9f171116eadb45322c6a65 924659 devel optional lintian_2.5.0.tar.gz 29b06fe0632a663d9c096f4a2cb644ad 585644 devel optional lintian_2.5.0_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJNyZlrAAoJEAVLu599gGRCylgP/1T6fvHkeDgKv1pET+jiDGG7 WTCr3UTTja3Wo0Nz/8Zx1OP0r7pCpqvIod4+YLvXWa+Nd1ZG3rskgGX83zMM065n aYdIrhUsv7XauT0A509Ddpj6yOTeTZv9wx1/Vn6qu3CkiPx6oc+DrOs5F/8CXz+E fhq6l5pwPUkvqYpx29DpHW/levX8nuSk8h7yexDMAZ6c5hQn4I7EoOBrhOHpU5QM NkveAkmYe+ZnpoKF3QW9mQVy8wkx9WdBST0ivmDI3Zpz1bNYArkJfEWL+CbvL85V QF6LjToQywItQk8l9X639by3YFt3SF4esVjA7L8f7/ZvUCdhkkY1BZxX+mnDavKr TWkFQTYaz/RLB9kEU7RqrSG1y6nsFOnj7kkWOZaQ0rT6D+mScL1rzojP96C9cWEf Gl+8Y/INrEXfmX4uVrBXyCSQWBBOoucEl1C12MxI1dcDAi11a9YVYG0pl0XWeiJR ZIGad5t5PxRuI3LpJtM9r+022Bf6lFP76SfCShe5rlGbY7ApxUSTT7tDlWJYfJfO +StB4A8eR6EBGwCSRLD1eXHz2hzy4nHoHTyygwNGPodhp23eY9DrzIYXlxySedZe tNygnS6XujZcS0CRTrtSpf9EYuyncvQBLFJeMwLD+Y+z9FnHyTJlup2j0fp0vwg0 P4IzHcH96P7xPCrVOCbZ =sKoJ -----END PGP SIGNATURE-----
--- End Message ---