Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 892559

Summary: sci-geosciences/gpsbabel-1.8.0 fails to compile: Could not find a package configuration file provided by "Qt5Gui" with any
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal CC: nowa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=940440
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-CMakeOutput.log

Description Agostino Sarubbo gentoo-dev 2023-01-30 06:52:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-geosciences/gpsbabel-1.8.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-30 06:52:16 UTC
Created attachment 849443 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-30 06:52:17 UTC
Created attachment 849445 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 3 Larry the Git Cow gentoo-dev 2023-01-30 08:19:50 UTC
The bug has been closed via the following commit(s):

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

commit 612ad41ff7c2e1766aa2e9e807f142fe256b1ce6
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-01-30 08:12:52 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-01-30 08:19:39 +0000

    sci-geosciences/gpsbabel: drop use gui, add use qt6
    
    Though the build system provides separate targets for
    the gui and cli tools, the cmake configure files do not
    reflect this and they will search for qt unconditionally.
    Patching is non-trivial because the source files for the
    gui and for the cli are not completely separated.
    
    The package does support qt6 but the upstream cmake files
    do not provide a means of selecting which to use and will
    choose a version automagically. A simple patch is enough
    to fix this.
    
    Closes: https://bugs.gentoo.org/852836
    Closes: https://bugs.gentoo.org/892559
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../gpsbabel-1.8.0-no-automagic-qt5-qt6.patch      | 34 +++++++++++++++
 ...babel-1.8.0.ebuild => gpsbabel-1.8.0-r1.ebuild} | 48 ++++++++++++++--------
 2 files changed, 64 insertions(+), 18 deletions(-)