Mailinglist Archive: opensuse-packaging (129 mails)

< Previous Next >
Re: [opensuse-packaging] unstripped binary or object
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Sat, 24 Jan 2009 19:13:14 +0100
  • Message-id: <20090124181314.GA29888@xxxxxxx>
On Sat, Jan 24, 2009 at 07:07:43PM +0100, Sascha 'saigkill' Manns wrote:
On Samstag 24 Januar 2009 16:40:19 Suman Manjunath wrote:
On Sat, 2009-01-24 at 15:24 +0100, Sascha 'saigkill' Manns wrote:
Hello,

i have an question about the RPMLINT Error "unstripped binary or
object".

Enabling your project/package for debuginfo will get rid of this
RPMLINT error.
You can also insert

%debug_package

anywhere (in a separate line by itself) in your spec file. However,
this macro does not work for cross distro packages AFAIR.
I have included %debug in the Specfile. But the same error. And the osc
build an debuginfo Package.

mountmanager.i586: W: unstripped-binary-or-object
/usr/lib/mountmanager/plugins/libdocumentationpanel.so
mountmanager.i586: W: unstripped-binary-or-object
/usr/lib/mountmanager/plugins/libimagesmounting.so
mountmanager.i586: W: unstripped-binary-or-object
/usr/lib/mountmanager/plugins/libsharesmount.so
mountmanager.i586: W: unstripped-binary-or-object
/usr/lib/mountmanager/plugins/libtips.so
mountmanager.i586: W: unstripped-binary-or-object
/usr/lib/mountmanager/plugins/libfstabpreview.so
2 packages and 0 specfiles checked; 0 errors, 6 warnings.
.... build is finished

/var/tmp/build-root/usr/src/packages/SRPMS/mountmanager-0.2.6-1.src.rpm

/var/tmp/build-root/usr/src/packages/RPMS/i586/mountmanager-
debuginfo-0.2.6-1.i586.rpm
/var/tmp/build-
root/usr/src/packages/RPMS/i586/mountmanager-0.2.6-1.i586.rpm

Remove the -brp-check-suse part. Do not work around the buildchecks,
they are good for you!

The brk-check-suse also strips the binaries correctly.

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

< Previous Next >