[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

arch-dependent Ruby packages with dh_compat 12



Dear team,

Has any of you tried to build an arch-dependent Ruby package with
debhelper compatibility level 12?

I tried to update ruby-oj to a new (patchlevel) version, and bumped
debhelper compat to 12, and the build failed with the following message:

┌──────────────────────────────────────────────────────────────────────────────┐
│ dh_ruby --install finished                                                   │
└──────────────────────────────────────────────────────────────────────────────┘

   dh_installdocs -O--buildsystem=ruby
   dh_ruby_fixdocs -O--buildsystem=ruby
   dh_installchangelogs -O--buildsystem=ruby
   dh_installinit -O--buildsystem=ruby
   dh_installsystemduser -O--buildsystem=ruby
   dh_perl -O--buildsystem=ruby
   dh_link -O--buildsystem=ruby
   dh_strip_nondeterminism -O--buildsystem=ruby
   dh_compress -X.rb -O--buildsystem=ruby
   dh_fixperms -O--buildsystem=ruby
   dh_missing -O--buildsystem=ruby
   dh_dwz -O--buildsystem=ruby
dwz: debian/ruby-oj/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0/oj/oj.so: Found compressed .debug_aranges section, not attempting dwz compression
dh_dwz: dwz -q -- debian/ruby-oj/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0/oj/oj.so returned exit code 1
make: *** [debian/rules:15: binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2019-07-08T21:30:03Z

(it builds fine with compat level 11)

The dwz step seems new and causes the build to fail. I will investigate
further. In the mean time, I was wondering if someone already
encountered this, and if this should imply some changes for gem2deb if
we want to adapt it for debhelper-compat level 12.

Cheers,

Cédric

Attachment: signature.asc
Description: PGP signature


Reply to: