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

Antonio Terceiro terceiro at softwarelivre.org
Wed Jul 6 17:42:43 UTC 2011


Vincent Fourmond escreveu isso aí:
>   Hello,
> 
> 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.

That's a good idea.

-- 
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/20110706/f692079d/attachment.pgp>


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