Your message dated Thu, 12 Dec 2019 03:40:55 +0000 with message-id <[email protected]> and subject line Bug#946593: Removed package(s) from unstable has caused the Debian Bug report #534721, regarding libhpricot-ruby1.8: Hpricot's XML parser fails to parse simple, valid XML 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 [email protected] immediately.) -- 534721: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534721 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libhpricot-ruby1.8 Version: 0.8-2 Severity: grave Justification: renders package unusable This bug also applies to libhpricot-ruby1.9. Problems: - Valid XML is rendered invalid. - XML is no longer parseable. - Invalid XML is not rejected by default (required by the standard). (minor) Workaround: $ aptitude install libhpricot-ruby1.8=0.6-2 Discussion: Closing tags are sometimes not parsed correctly; causing the parser to "helpfully" add closing tags. Whether this happens or not seems to be pseudorandom: $ ruby -e "require 'hpricot'; print Hpricot.XML('<aaaa></aaaa>')" <aaaa></aaaa> $ ruby -e "require 'hpricot'; print Hpricot.XML('<zzzz></zzzz>')" <zzzz></zzzz></zzzz> The effect is similar to the (incorrect) behaviour when it detects malformed XML: $ ruby -e "require 'hpricot'; print Hpricot.XML('<a></b>')" <a></b></a> $ ruby -e "require 'hpricot'; print Hpricot.XML('<a>b')" <a>b</a> The unparsed tag appears to be treated like <zzzz/>: $ ruby -e "require 'hpricot'; print Hpricot.XML('<zzzz></zzzz>').search('/zzzz')" <zzzz></zzzz></zzzz> $ ruby -e "require 'hpricot'; print Hpricot.XML('<zzzz></zzzz>').search('/zzzz/zzzz')" </zzzz> This causes the nesting to break, rendering most XML completely unparseable: $ ruby -e "require 'hpricot'; print Hpricot.XML('<a><zzzz></zzzz><b></b></a>')" <a><zzzz></zzzz><b></b></zzzz></a> $ ruby -e "require 'hpricot'; print Hpricot.XML('<a><zzzz></zzzz><b></b></a>').search('/a/b')" (no output) $ ruby -e "require 'hpricot'; print Hpricot.XML('<a><zzzz></zzzz><b></b></a>').search('/a/zzzz/b')" <b></b> This might be related to how Hpricot treats uncrecognized closing tags. 0.6-2 closes the correct tag, ignoring the contents of the closing tag (this is also invalid behaviour for an XML parse): $ ruby -e "require 'hpricot'; print Hpricot.XML('<a></b>')" <a></a> 0.8-2 is broken as above: $ ruby -e "require 'hpricot'; print Hpricot.XML('<a></b>')" <a></b></a> I suspect the problem is in hpricot_scan.so, but hpricot_scan.c is full of auto-generated code. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable') Architecture: i386 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libhpricot-ruby1.8 depends on: ii libc6 2.9-12 GNU C Library: Shared libraries ii libruby1.8 1.8.7.174-1 Libraries necessary to run Ruby 1. libhpricot-ruby1.8 recommends no packages. libhpricot-ruby1.8 suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 0.8.6-6+rm Dear submitter, as the package ruby-hpricot has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/946593 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
