[DRE-maint] Bug#721674: gem2deb: should build extensions in verbose mode

Cédric Boutillier boutil at debian.org
Mon Sep 30 20:59:00 UTC 2013


Hi,


there is no (clean) way to have in a programmatic way a Makefile with "V = 1"
during extension building, since in rubygems/ext/ext_conf_builder.rb,
make is run the next line just after the creation of the Makefile with
"V = 0".

The only way to override the value of V is to pass V=1 to make as an
argument. Ruby1.9.1 and ruby2.0 check the environment variable 'make' to
determine how to invoke make. The attached patch overrides this
environment variable to append V=1 (and defaults to 'make V=1' if it was
not set) the time for gem2deb to build the extension, and then restore
its value.

This patch is committed in the verbose-build branch of the gem2deb
repository at git.debian.org/git/pkg-ruby-extras/gem2deb.git.

Cheers,

Cédric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: verbose-build.diff
Type: text/x-diff
Size: 800 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20130930/e79abf4d/attachment.diff>
-------------- 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/20130930/e79abf4d/attachment.sig>


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