Hi, On Mon, Jul 08, 2019 at 11:52:14PM +0200, Cédric Boutillier wrote: > 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: > 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 I tried to update ruby-gnome2 with db compat 12 and encountered same issue. dwz: debian/ruby-glib2/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0/glib2.so: Found compressed .debug_aranges section, not attempting dwz compression dh_dwz: dwz -q -- debian/ruby-glib2/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0/glib2.so returned exit code 1 > 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. I remove `-Wl,--compress-debug-sections=zlib` from RbConfig::CONFIG['DLDFLAGS'], it has been built successfully. I do not know any side effects, but do we need to pass `--compress-debug-sections=no` to ruby2.5's configure for dh compat 12? [RFE] Add support for compressed debug sections. https://bugzilla.redhat.com/show_bug.cgi?id=1394759 Make compressed debug section optional https://bugs.ruby-lang.org/issues/12934 -- Regards, dai GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
Attachment:
signature.asc
Description: PGP signature