[opensuse-packaging] unstripped binary or object
Hello, i have an question about the RPMLINT Error "unstripped binary or object". The Project is home:saigkill Package: mountmanager. I tried: find $RPM_BUILD_ROOT%{_libdir}/mountmanager/plugins -type f \( -name '*.so' -o -name '*.so.*' \) \ -exec chmod 755 {} \; but the same error. Has anyone ideas? -- 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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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. HTH -Suman -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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 -- 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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Samstag 24 Januar 2009 22:44:36 Sascha 'saigkill' Manns wrote:
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.s rc .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. Has anyone ideas?
-- 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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
/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. Has anyone ideas?
The mountmanager.src: W: no-spec-file is because the spec file needs to be named mountmanager.spec I think (and not mountmanager-xxx.spec). The issue above might be related to the duplication in the filelists, but I am not sure. Btw, listing directories there will automaitcally include everything in this directory. You might be able to fix the dups by prefixing %dir to the directories listed in %files. I do not see the unstripped notice in the SUSE internal buildsystem, so it is probably a transient error. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Sascha 'saigkill' Manns escribió:
Has anyone ideas?
Yes, using chmod over binaries of course do not strip them.. ;) you have to enable debuginfo in your project. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
participants (4)
-
Cristian Rodríguez
-
Marcus Meissner
-
Sascha 'saigkill' Manns
-
Suman Manjunath