Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914732

Summary: dev-qt/qt-creator-11.0.2 fails to build with >=yaml-cpp-0.8.0 (CMake Error at cmake/Findyaml-cpp.cmake:18 (set_target_properties))
Product: Gentoo Linux Reporter: email200202
Component: Current packagesAssignee: Davide Pesavento (RETIRED) <pesa>
Status: RESOLVED FIXED    
Severity: normal CC: eugene.shalygin, ionen, qt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/qt-creator/qt-creator/commit/170f9acfb41704b68e2ba98690fd6d5e98addd85
See Also: https://bugs.gentoo.org/show_bug.cgi?id=914716
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge -pqv '=dev-qt/qt-creator-11.0.2::gentoo'
emerge --info '=dev-qt/qt-creator-11.0.2::gentoo'

Description email200202 2023-09-26 06:49:07 UTC
dev-qt/qt-creator-11.0.2 failed to emerge with message:

CMake Error at cmake/Findyaml-cpp.cmake:18 (set_target_properties):
set_target_properties Can not find target to add properties to: yaml-cpp
Call Stack (most recent call first):
src/plugins/clangtools/CMakeLists.txt:1 (find_package)


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world

Actual Results:  
Failed

Expected Results:  
Not to fail
Comment 1 email200202 2023-09-26 06:49:37 UTC
Created attachment 871470 [details]
build.log
Comment 2 email200202 2023-09-26 06:50:40 UTC
Created attachment 871471 [details]
emerge -pqv '=dev-qt/qt-creator-11.0.2::gentoo'
Comment 3 email200202 2023-09-26 06:51:45 UTC
Created attachment 871472 [details]
emerge --info '=dev-qt/qt-creator-11.0.2::gentoo'
Comment 4 Ionen Wolkens gentoo-dev 2023-09-26 07:15:11 UTC
Broken by new yaml-cpp-0.8 it looks like, yaml-cpp-0.7.0-r2 is still fine.
Comment 5 Ionen Wolkens gentoo-dev 2023-09-26 07:22:47 UTC
And looks like upstream already has a fix, will backport in a few.
Comment 6 Larry the Git Cow gentoo-dev 2023-09-26 08:06:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95fef56ce3e655745b52a9bd19da12f63b004b77

commit 95fef56ce3e655745b52a9bd19da12f63b004b77
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-26 07:26:54 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-26 08:06:26 +0000

    dev-qt/qt-creator: fix build with yaml-cpp-0.8
    
    Closes: https://bugs.gentoo.org/914732
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/qt-creator-11.0.2-yaml-cpp-0.8.patch     | 29 ++++++++++++++++++++++
 dev-qt/qt-creator/qt-creator-11.0.2.ebuild         |  1 +
 2 files changed, 30 insertions(+)
Comment 7 Ionen Wolkens gentoo-dev 2023-09-26 08:58:22 UTC
*** Bug 914735 has been marked as a duplicate of this bug. ***