On Wed, 04 Jan 2012 14:25:32 -0500 Sam Ruby wrote: > On 01/04/2012 02:00 PM, Francesco Poli wrote: > > > > As far as the test-unit library is concerned, it is used in a test > > suite currently run at package build time. > > It was mentioned as one of the libraries dropped from ruby 1.9.x in > > http://lists.debian.org/debian-ruby/2011/06/msg00050.html > > No further investigation has been carried out on this front yet. > > test-unit was bundled with Ruby 1.8. With Ruby 1.9, an alternate > library, minitest, is bundled instead. You can still get test/unit on > 1.9 if you install the gem. The reverse is also true: you can use > minitest on 1.8 simply by installing the gem. It seems to me that the test-unit library for ruby 1.9.x is already packaged: http://packages.debian.org/ruby-test-unit Hence, if I understand correctly, I will be able to use it, as long as I include that package in the build-dependencies of apt-listbugs... > > > I see that Sam Ruby has offered help: > > http://lists.debian.org/debian-ruby/2012/01/msg00012.html > > but he seems to be unable to reproduce the issue: > > http://lists.debian.org/debian-ruby/2012/01/msg00023.html > > I think that this may be explained by the fact that apt-listbugs > > currently forces the use of ruby 1.8.x, through dependencies and with > > the shebang (#!/usr/bin/ruby1.8). > > You'll probably see the crash, as soon as you modify that shebang so > > that apt-listbugs gets interpreted by ruby 1.9.x > > I should be able to get the same results by typing "ruby apt-listbugs"? [...] > After installation, it runs, albeit with a few deprecation warnings: > > $ ruby /usr/sbin/apt-listbugs [...] > E: You need to specify a command. > Usage: apt-listbugs [options] <command> [arguments] [...] As the error message says... you need to specify a command! ;-) Please try with a list command. On my Debian testing box, with ruby1.8 installed, I get: $ ruby /usr/sbin/apt-listbugs list apt Retrieving bug reports... Done Parsing Found/Fixed information... Done serious bugs of apt (-> ) <unfixed> #649451 - hard-coded gzip-only support in apt-cdrom #558784 - apt: re-adds removed keys #633351 - apt: Hash Sum mismatch Summary: apt(3 bugs) -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
Attachment:
pgp3YdJNQHBhS.pgp
Description: PGP signature