[Pkg-libvirt-maintainers] Bug#819261: ruby-hivex: LoadError: cannot load such file -- _hivex
Christian Hofstaedtler
zeha at debian.org
Fri Mar 25 17:24:44 UTC 2016
Package: ruby-hivex
Version: 1.3.13-1
Severity: serious
Hi,
Loading the 'hivex' module installed by ruby-hivex in irb2.2 gives:
% irb2.2
irb(main):001:0> require 'hivex'
LoadError: cannot load such file -- _hivex
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/lib/ruby/vendor_ruby/2.2.0/hivex.rb:18:in `<top (required)>'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from (irb):1
from /usr/bin/irb2.2:11:in `<main>'
Indeed, the package only installs hivex.rb, but no C extension.
Also it installs hivex.rb into usr/lib/ruby/vendor_ruby/2.2.0 without
declaring a dependency on (lib)ruby2.2.
I've also noticed that in d/control, ruby-hivex has Depends:
${python:Depends}, which looks odd.
If possible, please use dh_ruby to build + install (it's part of the
gem2deb package).
Best,
--
,''`. Christian Hofstaedtler <zeha at debian.org>
: :' : Debian Developer
`. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03
`-
More information about the Pkg-libvirt-maintainers
mailing list