[DRE-maint] Bug#632553: Bug#632553: gem2deb: dh_ruby ignores install directory

Vincent Fourmond fourmond at gmail.com
Wed Jul 6 06:58:59 UTC 2011


On Tue, Jul 5, 2011 at 9:18 PM, Antonio Terceiro
>> In the file /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb, it gets argv
>> from the caller, but does not pull the installation directory from
>> there. Rather, it sets "package" to the result of "packages.first", and
>> installs to that instead.
>> debhelper's dh_auto_install will supply the install directory to dh_ruby
>> --install (se excerpt from build log). Please check if gem2deb can use
>> this to make source packages with multiple binary packages.
> Perhaps gem2deb should always use debian/tmp as intallation target
> whenever there is more than one binary package in debian/control,
> except any transitional packages.

  Hmmm. That's a rather common situation (concerning any ruby package
with, say, a -doc package), and it means that changing gem2deb will
lead to FTBS for those packages -- or even worse, empty packages
without warning.

  Could this just be an option, triggered using a
GEM2DEB_INSTALL_DIR=debian/tmp variable in debian/rules ? That would
not cause FTBFSes while allowing more control over file installation
when that is needed.



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