hyperhdr-common-0:20.0.0.0-0.5.fc41.x86_64 incorrectly RPM-provides "libcap.so.2()(64bit)", breaking the system. See <https://pagure.io/releng/issue/11986>. Th That library belongs to libcap: # dnf5 --disable-repo=rawhide --enable-repo=f41-build repoquery --whatprovides 'libcap.so.2()(64bit)' Updating and loading repositories: Repositories loaded. hyperhdr-common-0:20.0.0.0-0.5.fc41.x86_64 libcap-0:2.69-3.fc40.x86_64 # dnf5 --disable-repo=rawhide --enable-repo=f41-build repoquery --list hyperhdr-common |grep cap /usr/share/hyperhdr/lib/libcap.so.2 /usr/share/hyperhdr/lib/libcap.so.2.69 Please stop providing that library. Preferably stop bundling that library.
Moreover architecture-specific files (libraries) are forbidden to be installed into /usr/share
It's not just libcap, it's claiming to provide *hundreds* of libraries, all the way from libEGL.so.1()(64bit) to libzstd.so.1()(64bit). See the list at https://koji.fedoraproject.org/koji/rpminfo?rpmID=37902254 . Clearly something went seriously wrong with this build.
It looks like the bump dropped a weird giant patch just called "fix.patch", which did a lot of nonsensical messing around with whitespace but *also* seems to have been preventing the hyperhdr install scripts from copying a whole bunch of system libraries to /usr/share/hyperhdr/lib . So now the patch is gone, the install process does copy all those libraries to /usr/share/hyperhdr/lib , and the package includes them, so the auto-provides helper adds provides for them.
Per https://pagure.io/releng/issue/11986 the build was untagged from f41 rawhide
I am reverted change https://koji.fedoraproject.org/koji/taskinfo?taskID=114174695
thanks for that. to get back to the beta5 build you'll probably need to rediff fix.patch , dropping the bits that are useless whitespace changes but keeping the bits that stop it doing bad things like bundling hundreds of system libraries :)
Yes. My mistake.
Why does "fix.patch" have such an unhelpful name? Why does it have no explanation of what it's for, either in the spec file or the git logs? Could that be improved please?