Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923958 - media-gfx/freecad-9999 with qt6 needs qt5compat
Summary: media-gfx/freecad-9999 with qt6 needs qt5compat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-06 22:40 UTC by Alexey Korepanov
Modified: 2024-03-09 07:23 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 Alexey Korepanov 2024-02-06 22:40:47 UTC
I know this is a bug report on a live package built with a masked use flag,
but this is just a ping to the maintainers about a missing dependency:

-- Could NOT find Qt6Core5Compat (missing: Qt6Core5Compat_DIR)
CMake Error at cMake/FreeCAD_Helpers/SetupQt.cmake:34 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "Core5Compat".

  Expected Config file at
  "/usr/lib64/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake" does NOT exist

  Configuring with --debug-find-pkg=Qt6Core5Compat might reveal details why
  the package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.

Having emerged dev-qt/qt5compat, this problem goes away. Freecad still does not
compile, but for a different reason.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-07 00:34:22 UTC
Please do include the full build.log and emerge --info.
Comment 2 Larry the Git Cow gentoo-dev 2024-03-09 07:23:50 UTC
The bug has been closed via the following commit(s):

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

commit ab7ba7c063d9d8e22c5eb76f08da5daff5949640
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2024-03-09 07:23:12 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-03-09 07:23:18 +0000

    media-gfx/freecad: add dep on qt5compat for qt6
    
    Closes: https://bugs.gentoo.org/923958
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 media-gfx/freecad/freecad-0.21.2-r1.ebuild | 1 +
 media-gfx/freecad/freecad-9999.ebuild      | 1 +
 2 files changed, 2 insertions(+)