[Bug 591955] New: rpmbuild: avoidance of strip
http://bugzilla.novell.com/show_bug.cgi?id=591955 http://bugzilla.novell.com/show_bug.cgi?id=591955#c0 Summary: rpmbuild: avoidance of strip Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de CC: prusnak@novell.com Found By: Beta-Customer Blocker: --- coccinelle/spatch (devel:tools/coccinelle) won't run when it's symbol tables are stripped (even at the -g level). What is the preferred procedure in a .spec to have rpmbuild not run /usr/lib/rpm/brp-strip afterwards? There was a time where one could set NO_BRP_* environment variables but I can't find one for brp-strip. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=591955 http://bugzilla.novell.com/show_bug.cgi?id=591955#c Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |mls@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=591955 http://bugzilla.novell.com/show_bug.cgi?id=591955#c1 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@novell.com |ro@novell.com --- Comment #1 from Michael Schröder <mls@novell.com> 2010-04-07 15:02:59 UTC --- Rudi, I seem to remember that you had to do this in some package. Can you give advice here? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=591955 http://bugzilla.novell.com/show_bug.cgi?id=591955#c2 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #2 from Ruediger Oertel <ro@novell.com> 2010-04-07 23:59:20 UTC --- #start of %install section: %install export NO_BRP_STRIP_DEBUG=true export NO_DEBUGINFO_STRIP_DEBUG=true %define __debug_install_post %{nil} [... normal install section code here ... ] #end of install section # HACK FOR DISABLED DEBUG echo "/usr/lib/debug" > debugfiles.list mkdir -p $RPM_BUILD_ROOT/usr/lib/debug echo "/usr/src/debug" > debugsources.list mkdir -p $RPM_BUILD_ROOT/usr/src/debug -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=591955 http://bugzilla.novell.com/show_bug.cgi?id=591955#c3 --- Comment #3 from Jan Engelhardt <jengelh@medozas.de> 2010-04-24 19:14:11 UTC --- What file checks for NO_BRP_STRIP_DEBUG? rpm -ql rpm | xargs grep BRP_STRIP grep -r BRP_STRIP /usr/lib/rpm yields nothing. As for %install, seems like export NO_BRP_STRIP_DEBUG=true export NO_DEBUGINFO_STRIP_DEBUG=true %define __debug_install_post %{nil}
debugfiles.list debugsources.list
was enough, dealing with /usr/{lib,src}/debug was not needed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=591955 http://bugzilla.novell.com/show_bug.cgi?id=591955#c4 --- Comment #4 from Ruediger Oertel <ro@novell.com> 2010-04-25 17:17:36 UTC --- for NO_BRP_STRIP_DEBUG: that's in brp-strip-debug from package "brp-check-suse" as for /usr/..../debug: that depends, if build debuginfo is enabled or not in the config and which distro you are building for. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=591955 http://bugzilla.novell.com/show_bug.cgi?id=591955#c5 --- Comment #5 from Jan Engelhardt <jengelh@medozas.de> 2010-04-26 12:07:26 UTC --- debuginfo was activated. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=591955 https://bugzilla.novell.com/show_bug.cgi?id=591955#c Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com