[DRE-maint] Bug#632553: gem2deb: dh_ruby ignores install directory
Stig Sandbeck Mathisen
ssm at debian.org
Sun Jul 3 13:50:44 UTC 2011
Package: gem2deb
Version: 0.2.5
Severity: normal
*** Please type your report below this line ***
dh_ruby installs to a directory first binary package, and not to the
directory given as argument to --install
(on a multi package, this will be [...]/debian/tmp)
Example from build log, using the default debian/rules created by gem2deb:
# dh_auto_install -O--buildsystem=ruby
# dh_ruby --install /home/ssm/Code/tmp/build-area/puppet-2.7.1/debian/tmp
# Entering dh_ruby --install
# install -d /home/ssm/Code/tmp/build-area/puppet-2.7.1/debian/puppet-common/usr/bin
# install -D -m755 bin/puppetca /home/ssm/Code/tmp/build-area/puppet-2.7.1/debian/puppet-common/usr/bin/puppetca
# install -D -m755 bin/puppetdoc /home/ssm/Code/tmp/build-area/puppet-2.7.1/debian/puppet-common/usr/bin/puppetdoc
# install -D -m755 bin/filebucket /home/ssm/Code/tmp/build-area/puppet-2.7.1/debian/puppet-common/usr/bin/filebucket
# install -D -m755 bin/puppetd /home/ssm/Code/tmp/build-area/puppet-2.7.1/debian/puppet-common/usr/bin/puppetd
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.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-9-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages gem2deb depends on:
ii build-essential 11.5 Informational list of build-essent
ii debhelper 8.1.6 helper programs for debian/rules
ii devscripts 2.11.0 scripts to make the life of a Debi
ii perl 5.12.3-7+b1 Larry Wall's Practical Extraction
ii ruby1.8 1.8.7.334-5 Interpreter of object-oriented scr
ii ruby1.8-dev 1.8.7.334-5 Header files for compiling extensi
ii ruby1.9.1 1.9.2.180-5 Interpreter of object-oriented scr
ii ruby1.9.1-dev 1.9.2.180-5 Header files for compiling extensi
ii rubygems [rubygems1.8] 1.7.2-1 package management framework for R
ii rubygems1.8 1.7.2-1 Transitional package for rubygems
gem2deb recommends no packages.
gem2deb suggests no packages.
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list