-- Debug prints globally suppressed. -- Found LibElf: /usr/lib64/libelf.so -- Looking for EM_RISCV -- Looking for EM_RISCV - found -- Using system libelf CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5Widgets" with any of the following names: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_systemd-20240602-172254 UNMASKED: ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.6 Python 3.12.3 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.78.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-17 [2] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.3 linux/amd64 HEAD of ::gentoo commit 49f723e06f37f5f95c76362576739d134c57edd0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Jun 4 20:34:05 2024 +0000 2024-06-04 20:34:04 UTC emerge -qpvO app-emulation/qtrvsim [ebuild N ] app-emulation/qtrvsim-0.9.7
Created attachment 895111 [details] emerge-info.txt
Created attachment 895112 [details] app-emulation:qtrvsim-0.9.7:20240605-001127.log
Created attachment 895113 [details] emerge-history.txt
Created attachment 895114 [details] environment
Created attachment 895115 [details] etc.clang.tar.xz
Created attachment 895116 [details] etc.portage.tar.xz
Created attachment 895117 [details] qlist-info.txt
Created attachment 895118 [details] temp.tar.xz
ebuild claims to be Qt6, yet build system checks for Qt5 deps? How did you stabilise this?
(In reply to Andreas Sturmlechner from comment #9) > ebuild claims to be Qt6, yet build system checks for Qt5 deps? How did you > stabilise this? By not running into this issue. Probably because Qt5 was also present. As far as I can tell, qtrvsim supports Qt5 and Qt6. Or at least tries to at https://github.com/cvut/qtrvsim/blob/853dcc991621125906f3a6817c0bdfb67a388e3e/CMakeLists.txt#L240-L250. I am sorry, if I missed something. Your assistance with this is appreciated.
> find_package(QT NAMES Qt5 Qt6 COMPONENTS Core REQUIRED) This is essentially automagic for "use whatever we find first". If Qt5Core is present, it would probably first use Qt5 and link with that instead of Qt6, but since in Qt5 the base package is split in many parts, if one like Qt5Widgets is missing, it fails to configure as seen in this bug. Obviously we can't have automagic in Portage. kid3-3.9.5.ebuild does this to hard-disable Qt6 in the same, very unfortunate, build system mechanism: > sed -e "/^ *find_package.*QT NAMES/s/Qt6 //" \ > -i CMakeLists.txt || die # ensure Qt5 build You could adapt it to your needs to de-select either-or.