Summary: | x11-misc/projecteur-0.10 - [slibtool] -- Configuring incomplete, errors occurred! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Conrad Kostecki <conikost> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, pascal.rebreyend |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.portage.tar.xz qlist-info.txt.xz temp.tar.xz x11-misc:projecteur-0.10:20231213-010023.log |
Description
Toralf Förster
2023-12-13 20:42:53 UTC
Created attachment 879062 [details]
emerge-info.txt
Created attachment 879063 [details]
emerge-history.txt.xz
Created attachment 879064 [details]
environment
Created attachment 879065 [details]
etc.portage.tar.xz
Created attachment 879066 [details]
qlist-info.txt.xz
Created attachment 879067 [details]
temp.tar.xz
Created attachment 879068 [details]
x11-misc:projecteur-0.10:20231213-010023.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7c2bf3c1917b086d7f5c05932dde2d46156aab commit 7a7c2bf3c1917b086d7f5c05932dde2d46156aab Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-01-06 01:54:34 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-01-06 01:55:39 +0000 x11-misc/projecteur: force Qt5 Closes: https://bugs.gentoo.org/919826 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> x11-misc/projecteur/projecteur-0.10.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) cmake files seem to be confused, if I try to build this with Qt6 (using -DPROJECTEUR_QT_VERSION=6) but *without* having Qt5 installed, it still tries to use Qt5: -- Detecting CXX compile features - done CMake Error at cmake/modules/Translation.cmake:1 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one. Sure enough, if look at modules/Translation.cmake, there's a hardcoded check: find_package(Qt5 REQUIRED COMPONENTS Core) And then, if we look at why Qt6Quick is failing: -- Found WrapVulkanHeaders: /usr/include CMake Error at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:2415 (message): qt_generate_foreign_qml_types() is only available in Qt 6. And if look at Qt6QmlMacros: if(NOT QT_NO_CREATE_VERSIONLESS_FUNCTIONS) if(QT_DEFAULT_MAJOR_VERSION EQUAL 6) function(qt_generate_foreign_qml_types) qt6_generate_foreign_qml_types(${ARGV}) endfunction() else() message(FATAL_ERROR "qt_generate_foreign_qml_types() is only available in Qt 6.") endif() endif() That happens if QT_DEFAULT_MAJOR_VERSION is not EQUAL 6. So if we put all this together, the "bad" Qt5 check likely set QT_DEFAULT_MAJOR_VERSION to 5 despite trying to use Qt6. Haven't experimented for workarounds / fixes, I'd say forcing is the right move until upstream sorts this out. |