[opensuse-packaging] Error: /usr/lib/debug/.build-id" may only be packaged in the -debuginfo subpackage
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? Thanks, Magnus [1] https://build.opensuse.org/package/show?package=DeviceKit-power&project=home%3AMBoman%3Abranches%3AGNOME%3AFactory [2] ... checking filelist DeviceKit-power: "/usr/lib/debug/.build-id" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/.build-id/0c" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/.build-id/0c/687bb71e10f3e3d518987685149ac136abf158" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/.build-id/0c/687bb71e10f3e3d518987685149ac136abf158.debug" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/.build-id/27" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/.build-id/27/afe55ba779c59b4c85eeb47c76a5f9112bf478" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/.build-id/27/afe55ba779c59b4c85eeb47c76a5f9112bf478.debug" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/usr" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/usr/bin" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/usr/bin/devkit-power.debug" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/usr/lib" may only be packaged in the -debuginfo subpackage DeviceKit-power: "/usr/lib/debug/usr/lib/devkit-power-daemon.debug" may only be packaged in the -debuginfo subpackage -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Magnus Boman
-
Stephan Kulow