Am 28.12.23 um 17:30 schrieb Sarah Julia Kriesch:
Hello together,
I hope you all had a nice Christmas!
I have received a request[0] by the Linux Distributions Working Group regarding problems with the package unicorn (only with s390x). Therefore, I wanted to update it also for openSUSE in my home repo as a first step: https://build.opensuse.org/package/show/home:AdaLovelace:branches:Virtualiza... Anyways, I can not add the required debug files. I have added a debug package after the hint for not packaged debug files.
The files are referenced on this way at the moment: %files -n %{name}-debuginfo debugfiles.list %{python3_sitelib}/%{name}/lib/libunicorn.so.2.debug
I am receiving these rpm warnings/errors: [ 381s] RPM build warnings: [ 381s] line 157: multiple %files for package 'unicorn-debuginfo' [ 381s] [ 381s] RPM build errors: [ 381s] Installed (but unpackaged) file(s) found: [ 381s] /usr/lib/debug/usr/lib/python3.11/site-packages/unicorn/lib/libunicorn.so.2.debug
What do I do wrong? Thank you for your feedback!
Best regards, Sarah
[0] https://lists.openmainframeproject.org/g/wg-linux-distros/message/157
The buildservice takes care of the debug packages on its own when the debuginfo flags are set in the projconf. Which is the case for your project. Don't specify them in the specfile.