On Thursday 2023-12-28 17:30, Sarah Julia Kriesch wrote:
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
Questions to be answered before we're even talking about debuginfo: Why are they duplicating /usr/lib64/libunicorn.so.2 and %{python3_sitelib}/%{name}/lib/libunicorn.so.2 libunicorn.so.2 is arch-dependent, so ought to be in %python3_sitearch not %python3_sitelib. Also problem: %files -n %{name}-debuginfo debuginfo.list that should be %files -n debuginfo -f debuginfo.list, or more specifially, drop the entire thing because debuginfo is all autogenerated.