On 2026/05/21 7:03, Cristian Le via devel wrote:
On May 21, 2026 6:44:58 AM GMT+02:00, Orion Poplawski<[email protected]> wrote:
binary octave packages create shared libraries with a .oct extension.
rpminspect is complaining that they still contain debug symbols
(seehttps://artifacts.dev.testing-farm.io/0b323ef4-fd4b-490a-960c-ed58066320f6/)
I've spent some time looking at the debuginfo/strip process but can't figure
out why they are not getting stripped. They do have the execute bit set.
Any ideas?
Mkoctfile does seem to support debug symbol stripping, but I do not see it
connected in the autotools [1]. Afaict these are built during the make phase
right? Don't know if there is a generic flag where you can pass more flags to
mkoctfile.
[1]:<https://github.com/search?q=repo%3Agnu-octave%2Foctave+strip+debug&type=code>
Well, it got me thinking some more, since we do not do similar stripping
at the `%cmake_install`, so I am not sure if doing the strip manually
would be the best since it would not land the stuff in debug* packages IIUC.
Some pointers I've found so far:
- There's a debuginfo guideline on these [1] where it hints at looking
into `|find-debuginfo.sh`|
- There are quite a few references that tweak this [2], but I did not
find a good reference about it
- Was also pointed to `/usr/lib/rpm/brp-strip` and `debugedit` that
interact with these, but I am not aware of those having control knobs
[1]: https://docs.fedoraproject.org/en-US/packaging-guidelines/Debuginfo/
[2]:
https://sourcegraph.com/search?q=context:global+repo:src.fedoraproject.org+find%5B_-%5D%3Fdebug&patternType=regexp&sm=0
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new