Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937284 - media-sound/musescore-9999 fails to configure: Could not find a package configuration file provided by "Qt6StateMachine"
Summary: media-sound/musescore-9999 fails to configure: Could not find a package confi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-04 11:42 UTC by Miroslav Šulc
Modified: 2024-08-28 07:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2024-08-04 11:42:54 UTC
>>> Emerging (1 of 1) media-sound/musescore-9999::gentoo
 * MuseScore_General-0.2.0.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                                                      [ ok ]
 * Checking for at least 3500 MiB disk space at "/var/tmp/portage/media-sound/musescore-9999/temp" ...                                                                                                                                                                                                                                                              [ ok ]
>>> Unpacking source...
 * Repository id: musescore_MuseScore.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_MUSESCORE_MUSESCORE
 *   EGIT_OVERRIDE_BRANCH_MUSESCORE_MUSESCORE
 *   EGIT_OVERRIDE_COMMIT_MUSESCORE_MUSESCORE
 *   EGIT_OVERRIDE_COMMIT_DATE_MUSESCORE_MUSESCORE
 * 
 * Fetching https://github.com/musescore/MuseScore.git ...
git fetch https://github.com/musescore/MuseScore.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/media-sound/musescore/0/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/musescore/MuseScore.git to /var/tmp/portage/media-sound/musescore-9999/work/musescore-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/musescore/MuseScore.git
   at the commit:            cc49f212373728f3d8ed6cbac212ffbc075a42a9
>>> Unpacking MuseScore_General-0.2.0.tar.bz2 to /var/tmp/portage/media-sound/musescore-9999/work
>>> Source unpacked in /var/tmp/portage/media-sound/musescore-9999/work
>>> Preparing source in /var/tmp/portage/media-sound/musescore-9999/work/musescore-9999 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-sound/musescore-9999/work/musescore-9999"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-sound/musescore-9999/work/musescore-9999_build"
 * Applying musescore-4.4.0-uncompressed-man-pages.patch ...                                                                                                                                                                                                                                                                                                        [ ok ]
 * Applying musescore-4.4.0-unbundle-deps.patch ...                                                                                                                                                                                                                                                                                                                 [ ok ]
 * Applying musescore-4.2.0-dynamic_cast-crash.patch ...                                                                                                                                                                                                                                                                                                            [ ok ]
 * Hardcoded definition(s) removed in src/framework/audio/thirdparty/flac/flac-1.4.3/CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, opti
 * Hardcoded definition(s) removed in src/framework/audio/thirdparty/fluidsynth/fluidsynth-2.3.3/src/gentables/CMakeLists.txt:
 *  set ( CMAKE_BUILD_TYPE Debug )
 * Hardcoded definition(s) removed in src/framework/dockwindow/thirdparty/KDDockWidgets/CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type 
 *      set(CMAKE_INSTALL_PREFIX "/usr/local/KDAB/${PROJECT_NAME}-${${PROJECT_NAM
 *      set(CMAKE_INSTALL_PREFIX "C:\KDAB\${PROJECT_NAME}-$$VERSION" CACHE INTE
 * Hardcoded definition(s) removed in tools/fonttools/CMakeLists.txt:
 *  set(CMAKE_VERBOSE_MAKEFILE OFF)
renamed '/var/tmp/portage/media-sound/musescore-9999/work/sound/MuseScore_General.sf3' -> '/var/tmp/portage/media-sound/musescore-9999/work/musescore-9999/share/sound/MuseScore_General.sf3'
renamed '/var/tmp/portage/media-sound/musescore-9999/work/sound/MuseScore_General_License.md' -> '/var/tmp/portage/media-sound/musescore-9999/work/musescore-9999/share/sound/MuseScore_General_License.md'
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/musescore-9999/work/musescore-9999 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-sound/musescore-9999/work/musescore-9999"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-sound/musescore-9999/work/musescore-9999_build"
cmake -C /var/tmp/portage/media-sound/musescore-9999/work/musescore-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS_RELEASE=-march=alderlake -mpopcnt -mlzcnt -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk -O2 -pipe -frecord-gcc-switches -DCMAKE_C_FLAGS_RELEASE=-march=alderlake -mpopcnt -mlzcnt -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk -O2 -pipe -frecord-gcc-switches -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=TRUE -DMUE_BUILD_CRASHPAD_CLIENT=OFF -DMUE_BUILD_UNIT_TESTS=yes -DMUE_BUILD_UPDATE_MODULE=OFF -DMUE_BUILD_VIDEOEXPORT_MODULE=no -DMUE_COMPILE_USE_CCACHE=OFF -DMUE_COMPILE_USE_SYSTEM_FLAC=ON -DMUE_COMPILE_USE_SYSTEM_FREETYPE=ON -DMUE_COMPILE_USE_SYSTEM_OPUSENC=ON -DMUE_COMPILE_USE_SYSTEM_TINYXML=ON -DMUE_DOWNLOAD_SOUNDFONT=OFF -DMUE_ENABLE_AUDIO_JACK=yes -DMUSESCORE_BUILD_MODE=release -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-sound/musescore-9999/work/musescore-9999_build/gentoo_toolchain.cmake /var/tmp/portage/media-sound/musescore-9999/work/musescore-9999
loading initial cache file /var/tmp/portage/media-sound/musescore-9999/work/musescore-9999_build/gentoo_common_config.cmake
CMake Deprecation Warning at CMakeLists.txt:23 (cmake_policy):
  The OLD behavior for policy CMP0091 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is Clang 20.0.0
-- The CXX compiler identification is Clang 20.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm/20/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm/20/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected CPU Architecture: x86_64
-- MUSE_APP_RELEASE_CHANNEL devel
-- MUSE_APP_VERSION 4.4.0
-- MUSESCORE_BUILD_CONFIGURATION: app
-- MUSE_APP_BUILD_MODE: dev
-- MUSESCORE_BUILD_NUMBER: 
-- Using Compiler CLANG 20.0.0
QMake version 3.1
Using Qt version 6.7.2 in /usr/lib64
-- 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/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
CMake Error at buildscripts/cmake/FindQt6.cmake:50 (find_package):
  By not providing "FindQt6StateMachine.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt6StateMachine", but CMake did not find one.

  Could not find a package configuration file provided by "Qt6StateMachine"
  with any of the following names:

    Qt6StateMachineConfig.cmake
    qt6statemachine-config.cmake

  Add the installation prefix of "Qt6StateMachine" to CMAKE_PREFIX_PATH or
  set "Qt6StateMachine_DIR" to a directory containing one of the above files.
  If "Qt6StateMachine" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:154 (include)


-- Configuring incomplete, errors occurred!
Comment 1 Larry the Git Cow gentoo-dev 2024-08-04 11:59:28 UTC
The bug has been closed via the following commit(s):

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

commit f895a6c52e021e2c0a60681fa8d3e9a4e6219504
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-08-04 11:59:10 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-08-04 11:59:23 +0000

    media-sound/musescore: added missing dep in live
    
    Closes: https://bugs.gentoo.org/937284
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/musescore/musescore-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Xavier Miller 2024-08-27 20:22:30 UTC
Hi!

musescore-4.4.0 has the same problem.
Comment 3 Miroslav Šulc gentoo-dev 2024-08-27 20:36:19 UTC
(In reply to Xavier Miller from comment #2)
> Hi!
> 
> musescore-4.4.0 has the same problem.

well, it has dev-qt/qtscxml:6 in the deps, so how can it be?
Comment 4 Xavier Miller 2024-08-28 07:42:05 UTC
(In reply to Miroslav Šulc from comment #3)
> (In reply to Xavier Miller from comment #2)
> > Hi!
> > 
> > musescore-4.4.0 has the same problem.
> 
> well, it has dev-qt/qtscxml:6 in the deps, so how can it be?

this is qt5compat that is missing in 4.4.0. 
I created #938586