Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906874 - dev-libs/quazip-1.3-r2: Failed to find required Qt component "Core5Compat" with USE="qt6 -test"
Summary: dev-libs/quazip-1.3-r2: Failed to find required Qt component "Core5Compat" wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-20 21:18 UTC by Alfred Wingate
Modified: 2023-05-22 12:05 UTC (History)
0 users

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


Attachments
quazip-1.3-r2 build.log with USE="-test" (quazip-1.3-r2:20230520-210226.log.gz,3.29 KB, application/gzip)
2023-05-20 21:18 UTC, Alfred Wingate
Details
emerge --info (emerge_info,20.83 KB, text/plain)
2023-05-20 21:19 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2023-05-20 21:18:36 UTC
Created attachment 862066 [details]
quazip-1.3-r2 build.log with USE="-test"

Dependencies slightly wrong https://github.com/stachenov/quazip/blob/v1.3/CMakeLists.txt#L53..L54

Reproducible: Always

Steps to Reproduce:
1. USE="qt6 -test" emerge quazip without having qt5compat previously installed
Actual results:
CMake Error at CMakeLists.txt:54 (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".
Comment 1 Alfred Wingate 2023-05-20 21:19:58 UTC
Created attachment 862067 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-05-22 06:33:04 UTC
The bug has been referenced in the following commit(s):

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

commit 0b6762c837779e02790a66c76bf4e80b4c07a389
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-05-21 12:15:39 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-05-22 06:31:01 +0000

    dev-libs/quazip: move Qt5Compat dependency
    
    * New revision as this modifies RDEPEND. This change is correct as
      Qt5Compat is required unconditionally if qt6 is used, its not a test
      dependecy and its linked against in the finished build.
    
    Bug: https://bugs.gentoo.org/906874
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31110
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-libs/quazip/quazip-1.3-r3.ebuild | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)