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

Bug 880049

Summary: media-sound/qjackctl-0.9.8: configure fails if qt6 is installed
Product: Gentoo Linux Reporter: Viorel Munteanu <ceamac>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED FIXED    
Severity: normal CC: jasmin+gentoo, me
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/31070
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Viorel Munteanu gentoo-dev 2022-11-06 12:29:14 UTC
Created attachment 828043 [details]
build.log

It builds fine with -DCONFIG_QT6=0
Comment 1 Viorel Munteanu gentoo-dev 2022-11-06 12:33:23 UTC
Comment on attachment 828043 [details]
build.log

 * Package:    media-sound/qjackctl-0.9.8:0
 * Repository: gentoo
 * Maintainer: proaudio@gentoo.org
 * USE:        abi_x86_64 alsa amd64 dbus elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qjackctl-0.9.8.tar.gz to /mnt/tmp/portage/media-sound/qjackctl-0.9.8/work
>>> Source unpacked in /mnt/tmp/portage/media-sound/qjackctl-0.9.8/work
>>> Preparing source in /mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8 ...
 * Source directory (CMAKE_USE_DIR): "/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8"
 * Build directory  (BUILD_DIR):     "/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8_build"
 * Applying qjackctl-0.9.1-disable-git.patch ...
patching file CMakeLists.txt
Hunk #1 succeeded at 8 with fuzz 1 (offset 2 lines).
Hunk #2 succeeded at 34 (offset 6 lines).
 [ ok ]
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *    set (CMAKE_BUILD_TYPE "Debug")
>>> Source prepared.
>>> Configuring source in /mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8 ...
 * Source directory (CMAKE_USE_DIR): "/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8"
 * Build directory  (BUILD_DIR):     "/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8_build"
cmake -C /mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_ALSA_SEQ=1 -DCONFIG_DBUS=1 -DCONFIG_DEBUG=0 -DCONFIG_PORTAUDIO=0 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8_build/gentoo_toolchain.cmake /mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8
loading initial cache file /mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - 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/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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.4.1", minimum required is "0.5.0") 
-- Found WrapVulkanHeaders: /usr/include  
CMake Warning at CMakeLists.txt:161 (find_package):
  By not providing "FindQt6LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt6LinguistTools", but CMake did not find one.

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

    Qt6LinguistToolsConfig.cmake
    qt6linguisttools-config.cmake

  Add the installation prefix of "Qt6LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt6LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt6LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.


-- Looking for 3 include files fcntl.h, ..., signal.h
-- Looking for 3 include files fcntl.h, ..., signal.h - found
-- Checking for module 'jack>=0.100.0'
--   Found jack, version 1.9.17
-- Found Jack: /usr/lib64/libjack.so  
-- Looking for jack/statistics.h
-- Looking for jack/statistics.h - found
-- Looking for jack/midiport.h
-- Looking for jack/midiport.h - found
-- Looking for jack/session.h
-- Looking for jack/session.h - found
-- Looking for jack/metadata.h
-- Looking for jack/metadata.h - found
-- Looking for jack_is_realtime
-- Looking for jack_is_realtime - found
-- Looking for jack_free
-- Looking for jack_free - found
-- Looking for jack_set_port_rename_callback
-- Looking for jack_set_port_rename_callback - found
-- Looking for jack_transport_query
-- Looking for jack_transport_query - found
-- Looking for jack_get_xrun_delayed_usecs
-- Looking for jack_get_xrun_delayed_usecs - found
-- Looking for jack_get_max_delayed_usecs
-- Looking for jack_get_max_delayed_usecs - found
-- Looking for jack_port_get_aliases
-- Looking for jack_port_get_aliases - found
-- Found ALSA: /usr/lib64/libasound.so (found version "1.2.7.2") 
CMake Error at src/CMakeLists.txt:109 (qt_add_translation):
  Unknown CMake command "qt_add_translation".


-- Configuring incomplete, errors occurred!
See also "/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8_build/CMakeFiles/CMakeOutput.log".
 * ERROR: media-sound/qjackctl-0.9.8::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  122:  Called src_configure
 *   environment, line 2352:  Called cmake_src_configure
 *   environment, line 1147:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=media-sound/qjackctl-0.9.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/qjackctl-0.9.8::gentoo'`.
 * The complete build log is located at '/mnt/tmp/portage/media-sound/qjackctl-0.9.8/temp/build.log'.
 * The ebuild environment file is located at '/mnt/tmp/portage/media-sound/qjackctl-0.9.8/temp/environment'.
 * Working directory: '/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8_build'
 * S: '/mnt/tmp/portage/media-sound/qjackctl-0.9.8/work/qjackctl-0.9.8'
Comment 2 Larry the Git Cow gentoo-dev 2023-05-30 18:26:33 UTC
The bug has been closed via the following commit(s):

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

commit ca6cb743d24f4aed6d18daf01d566f37247b4787
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2023-05-30 18:26:21 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-05-30 18:26:21 +0000

    media-sound/qjackctl: fix build when qt6 is installed
    
    Closes: https://github.com/gentoo/gentoo/pull/31070
    Closes: https://bugs.gentoo.org/880049
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-sound/qjackctl/qjackctl-0.9.10.ebuild | 1 +
 media-sound/qjackctl/qjackctl-9999.ebuild   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)