Your message dated Thu, 11 May 2006 11:02:06 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#366202: fixed in dpkg-ruby 0.3.2 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 ---Package: libdpkg-ruby1.8 Version: 0.3.1 Severity: important The Packages and Sources classes have trouble with package names that contain '+' characters. /usr/lib/ruby/1.8/debian.rb:900:in `initialize': nested *?+ in regexp: /Package:\s(libsigc++-1.2-5c102) (RegexpError) / from /usr/lib/ruby/1.8/debian.rb:900:in `initialize' from /usr/lib/ruby/1.8/debian.rb:1031:in `initialize' from /usr/lib/ruby/1.8/debian.rb:59:in `listfiles' from ./dpkg-test:26 from ./dpkg-test:25 The attached patch fixes it for me, but I'm new to Ruby so I'm sure there is a more elegant solution. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (900, 'unstable'), (500, 'testing'), (400, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages libdpkg-ruby1.8 depends on: ii libruby1.8 1.8.4-2 Libraries necessary to run Ruby 1. libdpkg-ruby1.8 recommends no packages. -- no debconf information -- Eric Evans [EMAIL PROTECTED]--- /usr/lib/ruby/1.8/debian.rb 2006-05-05 22:14:12.000000000 -0500 +++ /usr/lib/ruby/1.8/debian.rb 2006-05-05 22:38:36.000000000 -0500 @@ -879,7 +879,8 @@ class Sources < Archives def initialize(file = "", pkgs = [], fields = []) unless pkgs.empty? - pkgre = Regexp.new("(Package|Source):\\s(#{pkgs.join('|')})\n") + joined = pkgs.join('|').gsub(/[+]/, "\\\\+") + pkgre = Regexp.new("(Package|Source):\\s(#{joined})\n") end @lists = Archives.parseArchiveFile(file) {|info| if !pkgre || pkgre =~ info @@ -897,7 +898,8 @@ class Packages < Archives def initialize(file = "", pkgs = [], fields = []) unless pkgs.empty? - pkgre = Regexp.new("Package:\\s(#{pkgs.join('|')})\n") + joined = pkgs.join('|').gsub(/[+]/, "\\\\+") + pkgre = Regexp.new("Package:\\s(#{joined})\n") end @provides = {} @file = [file]
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: dpkg-ruby Source-Version: 0.3.2 We believe that the bug you reported is fixed in the latest version of dpkg-ruby, which is due to be installed in the Debian FTP archive: dpkg-ruby_0.3.2.dsc to pool/main/d/dpkg-ruby/dpkg-ruby_0.3.2.dsc dpkg-ruby_0.3.2.tar.gz to pool/main/d/dpkg-ruby/dpkg-ruby_0.3.2.tar.gz dpkg-ruby_0.3.2_all.deb to pool/main/d/dpkg-ruby/dpkg-ruby_0.3.2_all.deb libdpkg-ruby1.8_0.3.2_all.deb to pool/main/d/dpkg-ruby/libdpkg-ruby1.8_0.3.2_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 [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Fumitoshi UKAI <[EMAIL PROTECTED]> (supplier of updated dpkg-ruby 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 [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 12 May 2006 02:40:56 +0900 Source: dpkg-ruby Binary: libdpkg-ruby1.8 dpkg-ruby Architecture: source all Version: 0.3.2 Distribution: unstable Urgency: low Maintainer: Fumitoshi UKAI <[EMAIL PROTECTED]> Changed-By: Fumitoshi UKAI <[EMAIL PROTECTED]> Description: dpkg-ruby - ruby interface for dpkg libdpkg-ruby1.8 - modules/classes for dpkg on ruby 1.8 Closes: 220934 272760 351000 351001 351002 366202 366583 Changes: dpkg-ruby (0.3.2) unstable; urgency=low . * man/dpkg-checkdeps. fix typo 'packges' closes: Bug#351000 * man/dpkg-ruby.1. fix typos closes: Bug#351001 * man/dpkg.rb.1. fix typo. closes: Bug#351002 * rename programs without .rb suffixes dpkg.rb is shipped as an example only. closes: Bug#220934 * stop building ruby1.6 module closes: Bug#366583 * lib/debian.rb: pkgs_re_escape() fix package names with '+' characters cause errors closes: Bug#366202 * lib/debian.rb: fix wrong instance variable usage debian.rb:712: warning: instance variable @file not initialized closes: Bug#272760 Files: 7f48b19352a226649c871d1c7936d2bd 556 devel optional dpkg-ruby_0.3.2.dsc 26f92427d70631d927c29e7f19667929 40747 devel optional dpkg-ruby_0.3.2.tar.gz 814d01459bb25edc8ceb82329d99b716 9588 devel optional dpkg-ruby_0.3.2_all.deb 6b9ff8652add9c63dac59850c590c9ad 14250 devel optional libdpkg-ruby1.8_0.3.2_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEY3jY9D5yZjzIjAkRAmMYAKCNV4HQ2Ym9g2IAaBzX8gy/nFiaVACeJisL kX8ju9letyles+CiWWISPR8= =uH8N -----END PGP SIGNATURE-----
--- End Message ---

