Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Coolercontrol does not compile. (Read 171 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Coolercontrol does not compile.

Hello, I cannot compile coolercontrol. Here's a log.
Code: [Select]
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The CXX compiler identification is GNU 14.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.8.1", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
CMake Error at /usr/lib/cmake/Qt6QmlMeta/Qt6QmlMetaTargets.cmake:42 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: Qt6::QmlMeta

  Targets not yet defined: Qt6::QmlMetaPrivate

Call Stack (most recent call first):
  /usr/lib/cmake/Qt6QmlMeta/Qt6QmlMetaConfig.cmake:65 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:145 (find_dependency)
  /usr/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /usr/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:53 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:145 (find_dependency)
  /usr/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /usr/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake:53 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:145 (find_dependency)
  /usr/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /usr/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake:53 (include)
  /usr/lib/cmake/Qt6/Qt6Config.cmake:200 (find_package)
  CMakeLists.txt:4 (find_package)


CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake

  but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
  be NOT FOUND.
Call Stack (most recent call first):
  /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:145 (find_dependency)
  /usr/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /usr/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake:53 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:145 (find_dependency)
  /usr/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /usr/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake:53 (include)
  /usr/lib/cmake/Qt6/Qt6Config.cmake:200 (find_package)
  CMakeLists.txt:4 (find_package)


CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake

  but it set Qt6WebEngineCore_FOUND to FALSE so package "Qt6WebEngineCore" is
  considered to be NOT FOUND.
Call Stack (most recent call first):
  /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:145 (find_dependency)
  /usr/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
  /usr/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake:53 (include)
  /usr/lib/cmake/Qt6/Qt6Config.cmake:200 (find_package)
  CMakeLists.txt:4 (find_package)


CMake Warning at /usr/lib/cmake/Qt6/Qt6Config.cmake:200 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake

  but it set Qt6WebEngineWidgets_FOUND to FALSE so package
  "Qt6WebEngineWidgets" is considered to be NOT FOUND.
Call Stack (most recent call first):
  CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'coolercontrol-2.0.0-1':
Quote
Thanks for that. Apologies if that request seemed pedantic. To explain my reasoning, I was looking for the result here:

==> Checking runtime dependencies...
==> Checking buildtime dependencies...
Since the dependency can't be found, I wanted to ascertain whether it was actually not present (where we would see an error there of it failing to install, and we'd need to resolve that, so it installs it) or was just unable to be located (where we would not see an error, which implies the system believes it to be there, and we need to look at cmake and why it can't find it)
This is quite odd because the package definitely works on Arch proper, and Artix's qt6-webengine package is identical to Arch's. I guess artix must be doing something different with cmake? You may do well to bring this up with artix folk, perhaps they can suggest what could be changed to make the package work across both distros.

Gitlab.

EDIT
SOLVED with QT update.

 
Artix forum uses a single cookie to remember youOK