Project

General

Profile

Actions

Bug #12934

closed

Make compressed debug section optional

Added by vo.x (Vit Ondruch) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-11-10 trunk 56693) [x86_64-linux]
[ruby-core:78121]

Description

r56445 introduces "--compress-debug-sections=zlib" flag to compress the debug section. Unfortunately, it seems that the compressed sections are not well handled by RPM. Ruby package build log now contains plenty of messages such as:

/usr/lib/rpm/debugedit: /builddir/build/BUILDROOT/ruby-2.4.0-0.1.r56693.fc26.x86_64/usr/lib64/libruby.so.2.4.0: DWARF version 0 unhandled

I am afraid, that the debug sections are not properly stripped of and moved into -debuginfo subpackages as the should.

I opened discussion about this on Fedora devel ML 1, but the only suggestion I get so far was to revert this patch. Since I don't think carrying patches around is good idea, would it be possible to make this configurable? I am also asking RPM guys if they can add support for the compressed debug sections.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0