Bug 2517507 - CMake configuration fails due to missing c4core dependency
Summary: CMake configuration fails due to missing c4core dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rapidyaml
Version: 45
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL: https://download.copr.fedorainfraclou...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-17 17:21 UTC by tellowkrinkle
Modified: 2026-09-14 00:14 UTC (History)
1 user (show)

Fixed In Version: rapidyaml-0.16.0-2.fc46 rapidyaml-0.16.0-2.fc45
Clone Of:
Environment:
Last Closed: 2026-09-05 08:22:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github biojppm rapidyaml issues 659 0 None open Missing find_package() for c4core with RYML_SYSTEM_C4CORE=ON? 2026-08-18 05:56:34 UTC

Description tellowkrinkle 2026-08-17 17:21:37 UTC
In the F44 ryml 0.10.0 package, `/usr/lib64/cmake/ryml/rymlConfig.cmake` starts with `find_dependency(c4core REQUIRED)`, which makes cmake find c4core so when ryml attempts to link against it, everything works.

In F45's ryml 0.16.0, this line is missing, but `/usr/lib64/cmake/ryml/rymlTargets.cmake` still specifies `INTERFACE_LINK_LIBRARIES "c4core::c4core"`.  As a result, cmake fails to find rapidyaml

Reproducible: Always

Steps to Reproduce:
1. Attempt to build a project that uses rapidyaml via cmake find_package, like PCSX2
Actual Results:
CMake Error at /usr/lib64/cmake/ryml/rymlTargets.cmake:70 (set_target_properties):
  The link interface of target "ryml::ryml" contains:

    c4core::c4core

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib64/cmake/ryml/rymlConfig.cmake:31 (include)
  cmake/SearchForStuff.cmake:24 (find_package)
  CMakeLists.txt:39 (include)

(This can probably be worked around by manually find_package-ing c4core in the outer project, but this shouldn't be required.)

Expected Results:
cmake configuration finds c4core and succeeds

Comment 1 Ben Beasley 2026-08-18 05:56:35 UTC
Thank you for filing this bug, and especially for testing the package so early in the Fedora 45 release cycle. I’ve raised the issue upstream at https://github.com/biojppm/rapidyaml/issues/659. Upstream has been consistently helpful in the past.

Comment 2 tellowkrinkle 2026-08-18 15:24:40 UTC
> and especially for testing the package so early in the Fedora 45 release cycle

The magic of seeing "status: failed" on your copr

I don't actually have any computers running F45 but if you do end up needing more info I'll try to get a VM set up for testing

Comment 3 Fedora Update System 2026-09-05 08:18:02 UTC
FEDORA-2026-09bf9cf707 (rapidyaml-0.16.0-2.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-09bf9cf707

Comment 4 Fedora Update System 2026-09-05 08:22:39 UTC
FEDORA-2026-09bf9cf707 (rapidyaml-0.16.0-2.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-09-05 09:03:18 UTC
FEDORA-2026-35b8626d8a (rapidyaml-0.16.0-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-35b8626d8a

Comment 6 Ben Beasley 2026-09-05 09:05:57 UTC
Can you please try https://bodhi.fedoraproject.org/updates/FEDORA-2026-35b8626d8a in your COPR and let me know if it works properly for you? An equivalent way to test the update would be to just build the rapidyaml package in your COPR using the f45 or rawhide branch of Fedora’s dist-git, and then see if your dependent packages are happy.

Comment 7 Fedora Update System 2026-09-06 01:07:16 UTC
FEDORA-2026-35b8626d8a has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-35b8626d8a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-35b8626d8a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 tellowkrinkle 2026-09-07 08:37:09 UTC
Seems to be working!

Comment 9 Ben Beasley 2026-09-07 13:21:46 UTC
(In reply to tellowkrinkle from comment #8)
> Seems to be working!

Excellent! Glad to hear it. Thanks again for reporting this.

Comment 10 Fedora Update System 2026-09-14 00:14:59 UTC
FEDORA-2026-35b8626d8a (rapidyaml-0.16.0-2.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.