Mailinglist Archive: opensuse-packaging (186 mails)

< Previous Next >
Re: [opensuse-packaging] Error: /usr/lib/debug/.build-id" may only be packaged in the -debuginfo subpackage
  • From: Magnus Boman <captain.magnus@xxxxxxxxx>
  • Date: Sun, 15 Feb 2009 06:50:24 +1100
  • Message-id: <1234641024.20492.0.camel@xxxxxxxxxxxxx>
Stephan,

On Sat, 2009-02-14 at 13:20 +0100, Stephan Kulow wrote:
Am Saturday 14 February 2009 08:01:07 schrieb Magnus Boman:
Hello,

I'm building a package in one of my projects [1] and it fails [2] if I
have debuginfo enabled in that project. The failure only happens for
i586, not for x86_64.
Is this a bug in my .spec file or in OBS? Any ideas what I can do to fix
it?

Most often this is created by a %_libdir/* in the file list. In your case
it's
rather the %{_libexecdir}/* because libexecdir=/usr/lib - and so your
%_libexecdir/* turns into a /usr/lib/{debug,*}

It doesn't happen on x86_64, because there it's /usr/lib64 while the debuginfo
stays in /usr/lib/debug

The fix is not to use * but some more concrete pattern

Thanks for the awesomeness, it builds now :-)

Cheers,
Magnus


--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >