Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938315 - media-libs/phonon-4.12.0-r3: CMake Error at CMakeLists.txt:135 (add_library): add_library cannot create ALIAS target "Qt::OpenGLWidgets" because target "Qt6::OpenGLWidgets" does not already exist.
Summary: media-libs/phonon-4.12.0-r3: CMake Error at CMakeLists.txt:135 (add_library):...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://invent.kde.org/libraries/phon...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2024-08-22 13:59 UTC by Agostino Sarubbo
Modified: 2024-08-22 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,82.57 KB, text/plain)
2024-08-22 13:59 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-08-22 13:59:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/phonon-4.12.0-r3 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-22 13:59:11 UTC
Created attachment 900915 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-22 13:59:12 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  Could not find a package configuration file provided by "Qt5Designer"
  Could not find a package configuration file provided by "Qt6Designer"
  Could not find a package configuration file provided by "Qt6OpenGLWidgets"
fatal: not a git repository (or any parent up to mount point /var/tmp)
Comment 3 Andreas Sturmlechner gentoo-dev 2024-08-22 19:10:32 UTC
That looks like KDE compensating for a Qt cmake module omission ...
Comment 4 Larry the Git Cow gentoo-dev 2024-08-22 19:40:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=364bb9166135bf355c5d34556924daa692efb584

commit 364bb9166135bf355c5d34556924daa692efb584
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-08-22 19:23:11 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-08-22 19:40:17 +0000

    media-libs/phonon: Fix upstream's cmake logic w/ IUSE -designer
    
    Closes: https://bugs.gentoo.org/938315
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/phonon/files/phonon-4.12.0-cmake.patch | 69 +++++++++++++++++++++++
 media-libs/phonon/phonon-4.12.0-r3.ebuild         |  6 +-
 2 files changed, 72 insertions(+), 3 deletions(-)