Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933594 - app-emulation/qtrvsim-0.9.7: Could not find a package configuration file provided by Qt5Widgets with
Summary: app-emulation/qtrvsim-0.9.7: Could not find a package configuration file prov...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-05 08:03 UTC by Toralf Förster
Modified: 2024-07-04 11:47 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.27 KB, text/plain)
2024-06-05 08:03 UTC, Toralf Förster
Details
app-emulation:qtrvsim-0.9.7:20240605-001127.log (app-emulation:qtrvsim-0.9.7:20240605-001127.log,3.82 KB, text/plain)
2024-06-05 08:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,96.28 KB, text/plain)
2024-06-05 08:03 UTC, Toralf Förster
Details
environment (environment,96.77 KB, text/plain)
2024-06-05 08:03 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-06-05 08:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.12 KB, application/x-xz)
2024-06-05 08:03 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,198.09 KB, text/plain)
2024-06-05 08:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.60 KB, application/x-xz)
2024-06-05 08:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-05 08:03:28 UTC
-- 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
Comment 1 Toralf Förster gentoo-dev 2024-06-05 08:03:29 UTC
Created attachment 895111 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-05 08:03:29 UTC
Created attachment 895112 [details]
app-emulation:qtrvsim-0.9.7:20240605-001127.log
Comment 3 Toralf Förster gentoo-dev 2024-06-05 08:03:31 UTC
Created attachment 895113 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-06-05 08:03:33 UTC
Created attachment 895114 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-06-05 08:03:33 UTC
Created attachment 895115 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-05 08:03:35 UTC
Created attachment 895116 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-05 08:03:36 UTC
Created attachment 895117 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-06-05 08:03:37 UTC
Created attachment 895118 [details]
temp.tar.xz
Comment 9 Andreas Sturmlechner gentoo-dev 2024-07-03 17:21:15 UTC
ebuild claims to be Qt6, yet build system checks for Qt5 deps? How did you stabilise this?
Comment 10 Florian Schmaus gentoo-dev 2024-07-04 09:43:09 UTC
(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.
Comment 11 Andreas Sturmlechner gentoo-dev 2024-07-04 11:47:00 UTC
> 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.