Bug 2188009 - CMAKE variables are not set properly
Summary: CMAKE variables are not set properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yaml-cpp
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Vitaly
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-19 13:04 UTC by kerkovitskrisztian
Modified: 2023-04-21 02:09 UTC (History)
5 users (show)

Fixed In Version: yaml-cpp-0.7.0-3.fc38
Clone Of:
Environment:
Last Closed: 2023-04-21 02:09:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description kerkovitskrisztian 2023-04-19 13:04:51 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Build Identifier: 

CMAKE variables YAML_CPP_INCLUDE_DIR and YAML_CPP_LIBRARIES are empty strings.

Reproducible: Always

Steps to Reproduce:
Open /usr/lib64/cmake/yaml-cpp-static/yaml-cpp-config.cmake
Actual Results:  
set(YAML_CPP_INCLUDE_DIR "")
set(YAML_CPP_LIBRARIES "")

Expected Results:  
set(YAML_CPP_INCLUDE_DIR "${YAML_CPP_CMAKE_DIR}/../../../include")
set(YAML_CPP_LIBRARIES "yaml-cpp")

(Or something like this. Copied from Fedora 37.)

It is impossible to build against yaml-cpp-static.

The last verison that worked correctly was 0.6.3 at Fedora 37.

Comment 1 Fedora Update System 2023-04-19 15:03:49 UTC
FEDORA-2023-63bcdc4fe5 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-63bcdc4fe5

Comment 2 Fedora Update System 2023-04-19 15:07:06 UTC
FEDORA-2023-63bcdc4fe5 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Vitaly 2023-04-19 15:08:27 UTC
Good catch. Thanks. Fixed in yaml-cpp-0.7.0-3.fc38.

Comment 4 Fedora Update System 2023-04-19 15:11:17 UTC
FEDORA-2023-9766a0c4f5 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9766a0c4f5

Comment 5 Fedora Update System 2023-04-20 04:30:06 UTC
FEDORA-2023-9766a0c4f5 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-9766a0c4f5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9766a0c4f5

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

Comment 6 Fedora Update System 2023-04-21 02:09:17 UTC
FEDORA-2023-9766a0c4f5 has been pushed to the Fedora 38 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.