[DRE-maint] Bug#867599: gem2deb fails to install pure ruby part when a gem has both pure ruby and native libs

Pirate Praveen praveen at onenetbeyond.org
Wed Jul 12 14:42:17 UTC 2017


On Mon, 10 Jul 2017 01:22:39 +0530 Pirate Praveen
<praveen at onenetbeyond.org> wrote:
> make[2]: *** No rule to make target
> '/home/pravi/forge/debian/gitlab/grpc-1.3.2/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2/src/ruby/ext/grpc/libs/opt/libgrpc.a'.
>  Stop.

This is happening because Makefile was not copied to
/home/pravi/forge/debian/gitlab/grpc-1.3.2/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2/
even though grpc.gemspec includes the Makefile.

after adding the following line to debian/rules,
export DH_RUBY_GEM_INSTALL_WHITELIST_APPEND=Makefile

build is succeeding

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170712/66242af1/attachment.sig>


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