Mailinglist Archive: opensuse-packaging (129 mails)

< Previous Next >
Re: [opensuse-packaging] unstripped binary or object
  • From: "Sascha 'saigkill' Manns" <samannsml@xxxxxxxxxxxxx>
  • Date: Sat, 24 Jan 2009 22:44:36 +0100
  • Message-id: <200901242244.37284@xxxxxxxxxxxxxxxxxxxxx>
Project: home:saigkill
Package: mountmanager

On Samstag 24 Januar 2009 19:13:14 Marcus Meissner wrote:
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.
I have included %debug_package in Spec, and have deleted -brp-suse-
check. Now the OBS builds fine for 11.0 and 11.1 but in Factory is the
same Problem as i reported. But only Factory Build says unstripped
binary or object.

--
Sincereley yours

Sascha Manns
openSUSE Marketing Team (Weekly News)
openSUSE Build Service
Web: http://saschamanns.gulli.to
Blog: http://lizards.opensuse.org/author/saigkill

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

< Previous Next >