I installed c4core-0.1.11-12.fc39.x86_64 and c4core-devel-0.1.11-12.fc39.x86_64. I discovered that the -devel RPM contains: c4coreTargets-release.cmake: IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libc4core.so.0.1.11" Which of course doesn't work because the x86-84 version is in /lib64/libc4core.so. Looks like somebody just copied the -devel.i686 version over and didn't fix the all the /lib/ references in /usr/lib64/cmake/c4core/ I locally changed it thus: [/usr/lib64/cmake/c4core] sed -i.bak -e 's?/lib/?/lib64/?g' * and things started working. Note: It looks like rapidyaml-devel has the exact same problem in /usr/lib64/cmake/ryml. Reproducible: Always
Thanks for reporting this. The problem comes from the very complicated set of bespoke CMake scripts, https://github.com/biojppm/cmake, shared by all these projects; those scripts are packaged in Fedora as c4project. As you surmised, everything is incorrectly installed in /usr/lib, and then the spec file forcibly moves things to /usr/lib64 on multilib architectures. The problem has been reported upstream as https://github.com/biojppm/rapidyaml/issues/256 and https://github.com/biojppm/cmake/pull/7, but there hasn’t been a fix even though upstream is generally responsive and helpful. I’m not a CMake expert, but I’ll try again to see if I can figure out how to patch this properly in the CMake scripts. Otherwise, I’ll just patch the generated .cmake files with something like the sed command you suggested.
I tried to patch this and failed in a quick initial attempt (https://github.com/biojppm/cmake/pull/7#issuecomment-1637086373). I reminded upstream of the issue and will proceed with a sed-patch of the generated .cmake files in c4core, c4fs, c4log, and rapidyaml.
FEDORA-2023-345631714a has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-345631714a
FEDORA-2023-345631714a has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-f93d10b375 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f93d10b375
FEDORA-2023-a69f33a1ff has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a69f33a1ff
FEDORA-EPEL-2023-3c1a8b13de has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-3c1a8b13de
FEDORA-EPEL-2023-59ede754f8 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-59ede754f8
I think I’ve patched this correctly in all releases, but please let me know if you find I overlooked something. Thanks again for the report.
FEDORA-EPEL-2023-59ede754f8 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-59ede754f8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-a69f33a1ff has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a69f33a1ff` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a69f33a1ff See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-f93d10b375 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-f93d10b375` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f93d10b375 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2023-3c1a8b13de has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-3c1a8b13de See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2023-59ede754f8 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-f93d10b375 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2023-3c1a8b13de has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-a69f33a1ff has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.