Your message dated Mon, 28 Jan 2008 15:32:04 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#462902: fixed in ruby1.8 1.8.6.111-4 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: libruby1.8 Version: 1.8.6.111-3 Severity: normal Tags: upstream patch Hi, When using rcov on an up-to-date sid box, I get the following crash: ----------------------8<-------------------------8<--------------------- 47 tests, 85 assertions, 0 failures, 0 errors /usr/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private method `gsub' called for 0:Fixnum (NoMethodError) from /usr/lib/ruby/1.8/rexml/element.rb:1085:in `[]=' from /usr/lib/ruby/1.8/rexml/element.rb:586:in `add_attribute' from (eval):490:in `table_' from (eval):490:in `each' from (eval):490:in `table_' from (eval):490:in `each' from (eval):490:in `table_' from /usr/lib/ruby/1.8/rcov/report.rb:702:in `format_overview' ... 62 levels... from /usr/lib/ruby/1.8/rcov.rb:628:in `each' from /usr/lib/ruby/1.8/rcov.rb:628:in `dump_coverage_info' from /usr/bin/rcov:405 from /usr/lib/ruby/1.8/test/unit.rb:278 ----------------------8<-------------------------8<--------------------- As discussed in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/275177, the problem is that REXML stopped accepting non-String objects as content. The following patch against /usr/lib/ruby/1.8/rexml/text.rb fixes the problem: ----------------------8<-------------------------8<--------------------- --- text.rb.orig 2008-01-28 01:48:11.316310817 -0300 +++ text.rb 2008-01-28 01:48:28.162089584 -0300 @@ -286,7 +286,7 @@ EREFERENCE = /&(?!#{Entity::NAME};)/ # Escapes all possible entities def Text::normalize( input, doctype=nil, entity_filter=nil ) - copy = input + copy = input.to_s # Doing it like this rather than in a loop improves the speed #copy = copy.gsub( EREFERENCE, '&' ) copy = copy.gsub( "&", "&" ) ----------------------8<-------------------------8<--------------------- You can see that this change was already applied in upstream's trunk, cf: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rexml/text.rb?r1=14826&r2=15141 It would be nice if this patch could be included in the package. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core) Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libruby1.8 depends on: ii libc6 2.7-6 GNU C Library: Shared libraries ii libncurses5 5.6+20080105-1 Shared libraries for terminal hand ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime libruby1.8 recommends no packages. -- no debconf information -- Antonio Terceiro <[EMAIL PROTECTED]> http://people.softwarelivre.org/~terceiro/ GnuPG ID: 0F9CB28F
--- End Message ---
--- Begin Message ---Source: ruby1.8 Source-Version: 1.8.6.111-4 We believe that the bug you reported is fixed in the latest version of ruby1.8, which is due to be installed in the Debian FTP archive: irb1.8_1.8.6.111-4_all.deb to pool/main/r/ruby1.8/irb1.8_1.8.6.111-4_all.deb libdbm-ruby1.8_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/libdbm-ruby1.8_1.8.6.111-4_amd64.deb libgdbm-ruby1.8_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/libgdbm-ruby1.8_1.8.6.111-4_amd64.deb libopenssl-ruby1.8_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/libopenssl-ruby1.8_1.8.6.111-4_amd64.deb libreadline-ruby1.8_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/libreadline-ruby1.8_1.8.6.111-4_amd64.deb libruby1.8-dbg_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/libruby1.8-dbg_1.8.6.111-4_amd64.deb libruby1.8_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/libruby1.8_1.8.6.111-4_amd64.deb libtcltk-ruby1.8_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/libtcltk-ruby1.8_1.8.6.111-4_amd64.deb rdoc1.8_1.8.6.111-4_all.deb to pool/main/r/ruby1.8/rdoc1.8_1.8.6.111-4_all.deb ri1.8_1.8.6.111-4_all.deb to pool/main/r/ruby1.8/ri1.8_1.8.6.111-4_all.deb ruby1.8-dev_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/ruby1.8-dev_1.8.6.111-4_amd64.deb ruby1.8-elisp_1.8.6.111-4_all.deb to pool/main/r/ruby1.8/ruby1.8-elisp_1.8.6.111-4_all.deb ruby1.8-examples_1.8.6.111-4_all.deb to pool/main/r/ruby1.8/ruby1.8-examples_1.8.6.111-4_all.deb ruby1.8_1.8.6.111-4.diff.gz to pool/main/r/ruby1.8/ruby1.8_1.8.6.111-4.diff.gz ruby1.8_1.8.6.111-4.dsc to pool/main/r/ruby1.8/ruby1.8_1.8.6.111-4.dsc ruby1.8_1.8.6.111-4_amd64.deb to pool/main/r/ruby1.8/ruby1.8_1.8.6.111-4_amd64.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. Daigo Moriwaki <[EMAIL PROTECTED]> (supplier of updated ruby1.8 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: Mon, 28 Jan 2008 23:44:29 +0900 Source: ruby1.8 Binary: ruby1.8 libruby1.8 libruby1.8-dbg ruby1.8-dev libdbm-ruby1.8 libgdbm-ruby1.8 libreadline-ruby1.8 libtcltk-ruby1.8 libopenssl-ruby1.8 ruby1.8-examples ruby1.8-elisp ri1.8 rdoc1.8 irb1.8 Architecture: source all amd64 Version: 1.8.6.111-4 Distribution: unstable Urgency: low Maintainer: akira yamada <[EMAIL PROTECTED]> Changed-By: Daigo Moriwaki <[EMAIL PROTECTED]> Description: irb1.8 - Interactive Ruby (for Ruby 1.8) libdbm-ruby1.8 - DBM interface for Ruby 1.8 libgdbm-ruby1.8 - GDBM interface for Ruby 1.8 libopenssl-ruby1.8 - OpenSSL interface for Ruby 1.8 libreadline-ruby1.8 - Readline interface for Ruby 1.8 libruby1.8 - Libraries necessary to run Ruby 1.8 libruby1.8-dbg - Debugging symbols for Ruby 1.8 libtcltk-ruby1.8 - Tcl/Tk interface for Ruby 1.8 rdoc1.8 - Generate documentation from Ruby source files (for Ruby 1.8) ri1.8 - Ruby Interactive reference (for Ruby 1.8) ruby1.8 - Interpreter of object-oriented scripting language Ruby 1.8 ruby1.8-dev - Header files for compiling extension modules for the Ruby 1.8 ruby1.8-elisp - ruby-mode for Emacsen ruby1.8-examples - Examples for Ruby 1.8 Closes: 462902 Changes: ruby1.8 (1.8.6.111-4) unstable; urgency=low . [ Lucas Nussbaum ] * Fixed debian/watch file to correctly report versions with -p. Also use FTP PASV mode, so it works even in firewalled networks. . [ Daigo Moriwaki ] * applied debian/patches/904_rexml_text.dpatch: - rcov may crash because of backwards incompatibility. This fix is a back port from the upstream (r14826-15141). Thanks to Antonio Terceiro. (closes: #462902) Files: 5afc3e957392c2c736280f7e0e3ebcb6 1104 interpreters optional ruby1.8_1.8.6.111-4.dsc 7bda2ba12531577110375bb96a3d2f60 44586 interpreters optional ruby1.8_1.8.6.111-4.diff.gz 15aa14eb628bc1794d468ea01880f9f3 267962 interpreters optional ruby1.8-examples_1.8.6.111-4_all.deb d3afc47b8a67b08aad885cb4b3b39108 236304 interpreters optional ruby1.8-elisp_1.8.6.111-4_all.deb 6361ad1d262f80e6114709986a0ba787 1292642 interpreters optional ri1.8_1.8.6.111-4_all.deb 0561035267e4ec9b8f7d9fad5a8f761e 336128 doc optional rdoc1.8_1.8.6.111-4_all.deb a6bac2ee208279239ce474a117bbac18 261822 interpreters optional irb1.8_1.8.6.111-4_all.deb 0192cef9ccc28e0e0fb63f880b5fb01b 241846 interpreters optional ruby1.8_1.8.6.111-4_amd64.deb b7f6f16d5761c6d1279515cb4c325a7d 1635282 libs optional libruby1.8_1.8.6.111-4_amd64.deb 9b48c833acbc7ed330c8f41366ec59d2 1389030 libdevel extra libruby1.8-dbg_1.8.6.111-4_amd64.deb 449b109eb240105c7b258f12d8efaf8b 781682 devel optional ruby1.8-dev_1.8.6.111-4_amd64.deb b8b3e6d9e8f455c88a550282ca25b52b 223760 interpreters optional libdbm-ruby1.8_1.8.6.111-4_amd64.deb 9b321b9b67712ed3cba8fc1b8ca31b8d 223364 interpreters optional libgdbm-ruby1.8_1.8.6.111-4_amd64.deb 6d9ccf998997390f527eeeadb7df1615 222784 interpreters optional libreadline-ruby1.8_1.8.6.111-4_amd64.deb 112e6bad6de46677c1316da0edc2908a 1880116 interpreters optional libtcltk-ruby1.8_1.8.6.111-4_amd64.deb 6b391dfbe5f4d2d1a62247816bf6c9c3 334416 interpreters optional libopenssl-ruby1.8_1.8.6.111-4_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHnfKzNcPj+ukc0lARAnMQAJ9J23Z1fDx4GvLBPtmr9QH9e8GjBwCgwXTv KEnvOG5FeikNRYwXOvrzNGQ= =sEhX -----END PGP SIGNATURE-----
--- End Message ---

