Mailinglist Archive: opensuse-buildservice (137 mails)

< Previous Next >
Re: [opensuse-buildservice] Fedora 23 treats empty debugfiles.list as an error
Am 09.11.2015 um 00:18 schrieb Neal Gompa <ngompa13@xxxxxxxxx>:

On Sun, Nov 8, 2015 at 6:15 PM, Jan Engelhardt <jengelh@xxxxxxx> wrote:

On Monday 2015-11-09 00:07, Neal Gompa wrote:
This issue comes from a change in behavior from RPM 4.13. It'll
propagate into OpenSUSE Tumbleweed and other distros soon enough.

If you want to tell it to not generate debug information, add the
following to your spec:

%global debug_package %{nil}

This will tell _every_ distribution target capable of generating
debuginfo packages to not do so.

And will therefore probably lead to a giant fireball, because
OBS is in charge of enabling/disabling the debug flags.
Whenever there was a debuginfo issue in OBS, removal of any
override like the one you suggest made the errors go away.

Well, unfortunately, RPM no longer allows for empty debuginfo
packages. This was permitted in RPM < 4.13, which allowed people to
make packages like OP did. If you *know* that a package isn't going to
have debug info, then set it and put a comment explaining why it is
there.

Thank you for the advice and the detailed explanation. The packages are still
rebuilding, so far it looks pretty good. I will have to make that change on a
few other packages as well.

One follow up question: In the package gnustep-libobjc2, the only one we
compile with clang, there is the same issue with missing debug files, but in
that case there should be. Is it possible that the mechanism does not work with
clang?

Fred--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups