[DRE-maint] Bug#630641: gem2deb: duplicate install of files in lib/

Antonio Terceiro terceiro at softwarelivre.org
Wed Jun 15 23:00:04 UTC 2011


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 <terceiro at softwarelivre.org>
http://softwarelivre.org/terceiro


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20110615/d4f679ea/attachment-0001.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list