Package: ruby1.8 Version: 1.8.6-1+b1 Severity: normal Tags: patch Due to the change of the output of dot -V (--version), rdoc does not detect any version of dot present and thus fails to run. dh_rdoc uses rdoc --diagrams and therefore can no longer build -ruby-doc packages. I have attached a patch that fixes the regular expressions.
-- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (102, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 2.6.18-4-powerpc Locale: LANG=C, LC_CTYPE=nl_NL.UTF8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ruby1.8 depends on: ii libc6 2.5-7 GNU C Library: Shared libraries ii libruby1.8 1.8.6-1+b1 Libraries necessary to run Ruby 1. ruby1.8 recommends no packages. -- no debconf information
--- /usr/lib/ruby/1.8/rdoc/options.rb.orig 2007-05-18 13:29:00.000000000 +0200 +++ /usr/lib/ruby/1.8/rdoc/options.rb 2007-05-18 13:29:15.000000000 +0200 @@ -550,7 +550,7 @@ ver = nil IO.popen("dot -V 2>&1") do |io| ver = io.read - if ver =~ /dot\s+version(?:\s+gviz)?\s+(\d+)\.(\d+)/ + if ver =~ /dot.*version(?:\s+gviz)?\s+(\d+)\.(\d+)/ ok = ($1.to_i > 1) || ($1.to_i == 1 && $2.to_i >= 8) end end