Lucas Nussbaum escreveu isso aĆ­:
> Package: gem2deb
> Version: 0.2.4
> Severity: important
> 
> Hi,
> 
> for ruby-xmlparser (found in the pkg-ruby-extras repo, not uploaded yet
> because of that problem), gem2deb installs the files in lib/ to
> /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/ and
> /usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/.
> 
> This might be related to the fact that extconf.rb is in the root dir.

It happens exactly because of that. The extconf.rb in the root dir will
be invoked once for each supported Ruby interpreter, and it will install
the lib/ files in the arch-specific dirs. And if I am not mistaken,
gem2deb itself will *also* install the files under lib/ to the
arch-independent dir ...

Moving extconf.rb and the C files to an ext/ dir it probably the best
solution, and will work ok for Rubygems as well.

I don't know if there is a sane way to handle this in gem2deb ... the
problem is a broken upstream build system.

-- 
Antonio Terceiro <terce...@softwarelivre.org>
http://softwarelivre.org/terceiro


Attachment: signature.asc
Description: Digital signature

Reply via email to