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: Stephan Kulow <coolo@xxxxxxx>
  • Date: Sat, 14 Feb 2009 13:20:02 +0100
  • Message-id: <200902141320.03583.coolo@xxxxxxx>
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

Greetings, Stephan

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

< Previous Next >
Follow Ups
References