Bug#892548: dhelp: /usr/sbin/dhelp_parse broken with ruby 2.5

2018-04-05 Thread Antonio Terceiro
Control: unmerge 892548
Control: reassign 892548 dhelp

On Wed, Apr 04, 2018 at 11:30:11PM +0200, gregor herrmann wrote:
> On Wed, 04 Apr 2018 00:48:59 +0300, Коля Гурьев wrote:
> 
> > 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.
> 
> Indeed, I can confirm that "my" original output is gone, and I now
> see what you've copied below.

From that output my evaluation is that dhelp has issues with ruby2.5,
even after the lack of dbm support has been fixed. I'm returning this
bug to dhelp.


signature.asc
Description: PGP signature


Bug#892548: dhelp: /usr/sbin/dhelp_parse broken with ruby 2.5

2018-04-04 Thread gregor herrmann
On Wed, 04 Apr 2018 00:48:59 +0300, Коля Гурьев wrote:

> 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.

Indeed, I can confirm that "my" original output is gone, and I now
see what you've copied below.

Cheers,
gregor
 

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Die Toten Hosen: Sascha


signature.asc
Description: Digital Signature


Bug#892548: dhelp: /usr/sbin/dhelp_parse broken with ruby 2.5

2018-04-04 Thread Коля Гурьев
tags 892548 - unreproducible
reassign 892548 libruby2.5
forcemerge 892099 892548
stop

It appears the bug with very similar issue was fixed in the libruby2.5
package so I merge these bugs. If your error still exists, let us know.



Bug#892548: dhelp: /usr/sbin/dhelp_parse broken with ruby 2.5

2018-04-03 Thread Коля Гурьев
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: 

Bug#892548: dhelp: /usr/sbin/dhelp_parse broken with ruby 2.5

2018-03-10 Thread gregor herrmann
Package: dhelp
Version: 0.6.24
Severity: grave
Justification: renders package unusable

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

After the upgrade from ruby 2.3 to 2.5, /usr/sbin/dhelp_parse fails:


# 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
Traceback (most recent call last):
5: from /usr/sbin/dhelp_parse:32:in `'
4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
2: from /usr/lib/ruby/vendor_ruby/dhelp.rb:21:in `'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot 
load such file -- dbm (LoadError)
+ /usr/sbin/dhelp_parse -i
Traceback (most recent call last):
5: from /usr/sbin/dhelp_parse:32:in `'
4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
2: from /usr/lib/ruby/vendor_ruby/dhelp.rb:21:in `'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot 
load such file -- dbm (LoadError)



Cheers,
gregor



- -- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 
'oldoldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages dhelp depends on:
ii  doc-base0.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-perl2.24-1.2+b5
ii  liburi-perl 1.73-1
ii  perl5.26.1-5
ii  poppler-utils   0.62.0-2
ii  pstotext1.9-6+b2
ii  ruby1:2.5.0
ii  ruby-debian 0.3.9+b7
ii  ruby-gettext3.2.4-1
ii  swish++ 6.1.5-5
ii  ucf 3.0038

dhelp recommends no packages.

Versions of packages dhelp suggests:
pn  catdvi  
ii  chromium [www-browser]  64.0.3282.119-2+b2
ii  elinks [www-browser]0.12~pre6-13
ii  firefox [www-browser]   58.0.1-1+b1
ii  html2text   1.3.2a-21
pn  httpd-cgi   
pn  info2www
ii  lynx [www-browser]  2.8.9dev16-3
pn  man2html
ii  w3m [www-browser]   0.5.3-36

- -- no debconf information

-BEGIN PGP SIGNATURE-

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlqj3qpfFIAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgaXmA//UUbajGicQrfaab3ELRpxO33bif0LRxP6Zlps9CHvKQa0D4I8d6EwsoUo
ENTmHDhKBiwG05q+374BGXbekdOD+HlMAHN1qVcQVQiLuavzock7uescLmJTkNZV
l48sFXrJpEAtr6BlXSmQ4vMa9bKUPYkE9oxjmVpQ3j+5/XuCxc1PnviZDymW1g4Q
SsEoJZ3WhJrh0PmbtXIH5eKeiofUvGGC0cIrZ2Ppv+ogd2fzzTfuy6XHqFnGS+ix
eEpD6ZEjiSFq7EMzKM0Apenxgg4qtZ+fmSIbkEORPUvQUdm3p3Y73WyDPYNmEJX0
qSPJ6dwTpaEIrFe1xpOJx9RXnDEUWou1fdSqrv7GRE3yQprRynl6MsHltAdLH1PI
a5KzCXjv48Stij2y/2OVUbmHJ3/2mu7k3KWXaIbx4SoaQUUrH3ebKNRap7+Of3vw
eJBmy1JiysVVuUrvdrAsbHYGpSj3/7hUhm5R383yqp1//RKrZxH/iJ3Q2RDSVV/H
Rq+klpYT4A7Xkfgum7AD7CVnhu/Vz6bge3b1tCf1trAtpjCNcRYiX/qoU6x7Dgya
Q4QeqyhsExRzoHdU9a9EZd9McN40Bc3fFA6QMnITTyrIUvAVUV5PUvDEBjW/GcJU
yxeS6GIDwnEODvuIosOrN23VLVsuMSqdqDEgEX5WOQINDOAhjNg=
=JTAF
-END PGP SIGNATURE-