On my setup, pretty much a vanilla Gentoo, media-sound/strawberry-1.2.6 fails to build (see emerge output at end). I propose to add nls as a use flag to this recipe, to control building against Qt linguist tools. More so ever as the corresponding package doesn't seem to be available yet for Qt6 in Gentoo. There's a patch below. I've tested emerging it both with and without the added nls flag. No test runs yet. ============== BEGIN PATCH --- /var/db/repos/gentoo/media-sound/strawberry/strawberry-1.2.6.ebuild 2025-02-10 21:41:25.000000000 -0000 +++ /var/db/repos/kuroryuu/media-sound/strawberry/strawberry-1.2.6-r1.ebuild 2025-03-06 09:35:57.746594000 -0000 @@ -17,7 +17,7 @@ LICENSE="GPL-3" SLOT="0" -IUSE="alsa cdda chromaprint +dbus debug kde +loudness ipod moodbar mtp +pulseaudio streaming +udisks X" +IUSE="alsa cdda chromaprint +dbus debug kde +loudness ipod moodbar mtp nls +pulseaudio streaming +udisks X" BDEPEND=" sys-devel/gettext @@ -45,6 +45,7 @@ mtp? ( media-libs/libmtp ) loudness? ( media-libs/libebur128 ) pulseaudio? ( media-libs/libpulse ) + nls? ( dev-qt/linguist-tools ) " # Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway; RDEPEND="${COMMON_DEPEND} @@ -92,6 +93,7 @@ -DENABLE_TIDAL="$(usex streaming)" -DENABLE_QOBUZ="$(usex streaming)" -DENABLE_SPOTIFY="$(usex streaming)" + -DENABLE_TRANSLATIONS="$(usex nls)" ) use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT ============== END PATCH ============== >>> Emerging (26 of 26) media-sound/strawberry-1.2.6::gentoo * strawberry-1.2.6.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking strawberry-1.2.6.tar.xz to /var/tmp/portage/media-sound/strawberry-1.2.6/work >>> Source unpacked in /var/tmp/portage/media-sound/strawberry-1.2.6/work >>> Preparing source in /var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6" * Build directory (BUILD_DIR): "/var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6_build" >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6" * Build directory (BUILD_DIR): "/var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6_build" cmake -C /var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DISABLE_FIND_PACKAGE_X11=OFF -DBUILD_WERROR=OFF -DCCACHE_EXECUTABLE=OFF -DENABLE_GIO=ON -DENABLE_GIO_UNIX=ON -DENABLE_ALSA=yes -DENABLE_PULSE=no -DENABLE_DBUS=yes -DENABLE_MPRIS2=yes -DENABLE_KGLOBALACCEL_GLOBALSHORTCUTS=no -DENABLE_SONGFINGERPRINTING=no -DENABLE_MUSICBRAINZ=no -DENABLE_X11_GLOBALSHORTCUTS=yes -DENABLE_AUDIOCD=yes -DENABLE_MTP=no -DENABLE_GPOD=no -DENABLE_MOODBAR=no -DENABLE_UDISKS2=no -DENABLE_EBUR128=yes -DENABLE_SUBSONIC=yes -DENABLE_TIDAL=yes -DENABLE_QOBUZ=yes -DENABLE_SPOTIFY=yes -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6_build/gentoo_toolchain.cmake /var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6 loading initial cache file /var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6_build/gentoo_common_config.cmake -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/lib/distcc/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/lib/distcc/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.3.0") -- Strawberry Version: -- Display: 1.2.6 -- Package: 1.2.6 -- RPM: 1.2.6-1 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Found ICU: /usr/include (found version "76.1") found components: uc i18n -- Found ALSA: /usr/lib64/libasound.so (found version "1.2.13") -- Found X11: /usr/include found components: X11_xcb -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.80.5 -- Checking for module 'gobject-2.0' -- Found gobject-2.0, version 2.80.5 -- Checking for module 'gio-2.0' -- Found gio-2.0, version 2.80.5 -- Checking for module 'gio-unix-2.0' -- Found gio-unix-2.0, version 2.80.5 -- Checking for module 'libcdio' -- Found libcdio, version 2.1.0 -- Checking for module 'gstreamer-1.0' -- Found gstreamer-1.0, version 1.24.11 -- Checking for module 'gstreamer-base-1.0' -- Found gstreamer-base-1.0, version 1.24.11 -- Checking for module 'gstreamer-audio-1.0' -- Found gstreamer-audio-1.0, version 1.24.11 -- Checking for module 'gstreamer-app-1.0' -- Found gstreamer-app-1.0, version 1.24.11 -- Checking for module 'gstreamer-tag-1.0' -- Found gstreamer-tag-1.0, version 1.24.11 -- Checking for module 'gstreamer-pbutils-1.0' -- Found gstreamer-pbutils-1.0, version 1.24.11 -- Checking for module 'sqlite3>=3.9' -- Found sqlite3, version 3.47.2 -- Checking for module 'libpulse' -- Package 'libpulse' not found -- Checking for module 'libchromaprint>=1.4' -- Package 'libchromaprint' not found -- Checking for module 'fftw3' -- Package 'fftw3' not found -- Checking for module 'libebur128' -- Found libebur128, version 1.2.6 -- Checking for module 'libgpod-1.0>=0.7.92' -- Package 'libgpod-1.0' not found -- Checking for module 'libmtp>=1.0' -- Package 'libmtp' not found -- Checking for module 'gdk-pixbuf-2.0' -- Found gdk-pixbuf-2.0, version 2.42.12 CMake Warning at CMakeLists.txt:198 (find_package): By not providing "FindTagLib.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "TagLib", but CMake did not find one. Could not find a package configuration file provided by "TagLib" (requested version 2.0) with any of the following names: TagLibConfig.cmake taglib-config.cmake Add the installation prefix of "TagLib" to CMAKE_PREFIX_PATH or set "TagLib_DIR" to a directory containing one of the above files. If "TagLib" provides a separate development package or SDK, be sure it has been installed. -- Checking for module 'taglib>=1.12' -- Found taglib, version 1.13.1 -- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.14.0") -- 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 -- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR) CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:257 (message): Failed to find optional Qt component "LinguistTools". Expected Config file at "/usr/lib64/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT exist Call Stack (most recent call first): CMakeLists.txt:219 (find_package) -- Have qpa/qplatformnativeinterface.h header. -- Performing Test HAVE_QX11APPLICATION -- Performing Test HAVE_QX11APPLICATION - Success -- Using system KDSingleApplication (Version 1.1.0) CMake Error at cmake/OptionalComponent.cmake:84 (message): Translations (missing Qt LinguistTools), to disable this optional feature, pass -DENABLE_TRANSLATIONS=OFF to CMake Call Stack (most recent call first): CMakeLists.txt:346 (optional_component) -- Configuring incomplete, errors occurred! * ERROR: media-sound/strawberry-1.2.6::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 2095: Called cmake_src_configure * environment, line 986: 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/strawberry-1.2.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/strawberry-1.2.6::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-sound/strawberry-1.2.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/strawberry-1.2.6/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6_build' * S: '/var/tmp/portage/media-sound/strawberry-1.2.6/work/strawberry-1.2.6' ===============