Bug#892548: dhelp: /usr/sbin/dhelp_parse broken with ruby 2.5
Control: tag -1 unreproducible
Unfortunately, I can't reproduce this error. However, I've faced the
other error related to dhelp's cron script. It fails to build a document
index, and so search doesn't work. But at least the dhelp_parse utility
can rebuild its documentation directory, and a home page is still
available. It seems some of the next warnings aren't linked to dhelp.
But these issues are already reported, see Bug#803342 and Bug#889651.
(dhelp)root@barberry:/# sh -x /etc/cron.weekly/dhelp
+ [ -d /var/lib/dhelp ]
+ [ -x /usr/sbin/dhelp_parse ]
+ [ -x /usr/bin/index++ ]
+ rm --force /var/lib/dhelp/documents.index
+ /usr/sbin/dhelp_parse -r
/usr/lib/ruby/vendor_ruby/debian.rb:223: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:224: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:227: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:230: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:233: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:236: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:348: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:557: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:577: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:578: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:743: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:753: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:763: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:772: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:799: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:1004: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
+ /usr/sbin/dhelp_parse -i
/usr/lib/ruby/vendor_ruby/debian.rb:223: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:224: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:227: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:230: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:233: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:236: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:348: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:557: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:577: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:578: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:743: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:753: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:763: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:772: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:799: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
/usr/lib/ruby/vendor_ruby/debian.rb:1004: warning: parentheses after
method name is interpreted as an argument list, not a decomposed argument
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase: __pos (which is 18446744073709551615) >
this->size() (which is 8)
Dhelp::IndexerError: Couldn't index
/usr/share/doc/base-passwd/users-and-groups.html
, /usr/share/doc/base-passwd/users-and-groups.html
, /usr/share/doc/base-passwd/users-and-groups.txt.gz
, /usr/share/doc/man-db/man-db-manual.ps.gz
, /usr/share/doc/man-db/man-db-manual.txt.gz
, /usr/share/doc/doc-base/doc-base.html/about.html
, /usr/share/doc/doc-base/doc-base.html/index.html
, /usr/share/doc/doc-base/doc-base.html/informations.html
, /usr/share/doc/doc-base/doc-base.html/interface.html
, /usr/share/doc/doc-base/doc-base.html/todo.html
, /usr/share/doc/doc-base/doc-base.html/index.html
, /usr/share/doc/doc-base/doc-base.txt.gz
, /usr/share/doc/nano/faq.html
, /usr/share/doc/nano/faq.html
, /usr/share/doc/doc-base/install-docs.html
, /usr/share/doc/doc-base/install-docs.html
, /usr/share/doc/libpng16-16/libpng-manual.txt.gz
, /usr/share/doc/po-debconf/manpages.vi/debconf-gettextize.1.html
, /usr/share/doc/po-debconf/manpages.vi/debconf-updatepo.1.html
, /usr/share/doc/po-debconf/manpages.vi/po-debconf.7.html
, /usr/share/doc/po-debconf/manpages.vi/po2debconf.1.html
, /usr/share/doc/po-debconf/manpages.vi/podebconf-display-po.1.html
, /usr/share/doc/po-debconf/manpages.vi/podebconf-report-po.1.html
using /usr/bin/index++ --config-file
/usr/share/dhelp/config/swish++.conf --index-file
/var/lib/dhelp/documents.index --follow-links -
(/usr/lib/ruby/vendor_ruby/dhelp.rb:616:in `index'
/usr/sbin/dhelp_parse:171:in `do_deferred_indexing'
/usr/sbin/dhelp_parse:205:in `main'
/usr/sbin/dhelp_parse:221:in `<main>')
(dhelp)root@barberry:/#
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-116-generic (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8),
LANGUAGE=ru (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages dhelp depends on:
ii doc-base 0.10.8
ii libcgi-pm-perl 4.38-1
ii libdata-page-perl 2.02-1
ii libhtml-parser-perl 3.72-3+b2
ii liblocale-gettext-perl 1.07-3+b3
ii libtemplate-perl 2.27-1
ii liburi-perl 1.73-1
ii perl 5.26.1-5
ii poppler-utils 0.62.0-2
ii pstotext 1.9-6+b2
ii ruby 1:2.5.1
ii ruby-debian 0.3.9+b8
ii ruby-gettext 3.2.9-1
ii swish++ 6.1.5-5
ii ucf 3.0038
dhelp recommends no packages.
Versions of packages dhelp suggests:
pn catdvi <none>
pn httpd-cgi <none>
pn info2www <none>
pn man2html <none>
pn www-browser | html2text <none>
-- no debconf information
Reply to: