[Bug 1212909] New: unstripped-binary-or-object for binary libraries in Python directories
https://bugzilla.suse.com/show_bug.cgi?id=1212909 Bug ID: 1212909 Summary: unstripped-binary-or-object for binary libraries in Python directories Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Python Assignee: python-maintainers@suse.com Reporter: mcepl@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- There is a zillion packages which end up with the warning like python311-scipy.x86_64: W: unstripped-binary-or-object /usr/lib64/python3.11/site-packages/scipy/spatial/_qhull.cpython-311-x86_64-linux-gnu.so (this is from https://build.opensuse.org/package/live_build_log/home:gladiac:mailman/pytho...) Interestingly the same package in the devel project doesn’t seem to present the same problem (https://build.opensuse.org/build/devel:languages:python:numeric/openSUSE_Tum...). Could we find out why these happen and do something about it? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212909 Matej Cepl <mcepl@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement Priority|P5 - None |P4 - Low -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212909 Daniel Garcia <daniel.garcia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|python-maintainers@suse.com |daniel.garcia@suse.com CC| |daniel.garcia@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212909 https://bugzilla.suse.com/show_bug.cgi?id=1212909#c1 --- Comment #1 from Daniel Garcia <daniel.garcia@suse.com> --- I've detected that this happens when the project configuration in obs has <debuginfo><disabled/></debuginfo> In that case the rpmbuild command is run with "--undefine _enable_debug_packages" and looks like this is the cause of non fully stripped binaries. When the debuginfo is enabled the script /usr/lib/rpm/find-debuginfo is run and for each .so file it runs objcopy with the --strip-all flag. The brp-15-strip-debug [1] script is run even if the debuginfo is disabled, but looks like this script doesn't strip all the symbols so just with this, rpmlint find the 'no stripped' string in the file magic. [1] https://github.com/openSUSE/brp-check-suse/blob/master/brp-15-strip-debug#L2... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212909 Daniel Garcia <daniel.garcia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1212909 https://bugzilla.suse.com/show_bug.cgi?id=1212909#c2 Daniel Garcia <daniel.garcia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Daniel Garcia <daniel.garcia@suse.com> --- I think we can close this bug. This warning is related to the project configuration and building with debuginfo enabled. In that case this warning can be ignored. Detailed info in comment #1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com