Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925596 - sci-geosciences/gpxsee-13.16 - WARNING: Project ERROR: Unknown module(s) in QT: openglwidgets
Summary: sci-geosciences/gpxsee-13.16 - WARNING: Project ERROR: Unknown module(s) in Q...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords: PullRequest
: 946586 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-27 09:06 UTC by Toralf Förster
Modified: 2025-01-12 20:36 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.89 KB, text/plain)
2024-02-27 09:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.18 KB, text/plain)
2024-02-27 09:06 UTC, Toralf Förster
Details
environment (environment,70.90 KB, text/plain)
2024-02-27 09:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,968 bytes, application/x-xz)
2024-02-27 09:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.22 KB, application/x-xz)
2024-02-27 09:06 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,54.96 KB, application/x-xz)
2024-02-27 09:06 UTC, Toralf Förster
Details
sci-geosciences:gpxsee-13.16:20240227-022606.log (sci-geosciences:gpxsee-13.16:20240227-022606.log,6.18 KB, text/plain)
2024-02-27 09:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,17.55 KB, application/x-xz)
2024-02-27 09:06 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-02-27 09:06:32 UTC
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-geosciences/gpxsee-13.16/work/GPXSee-13.16 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-geosciences/gpxsee-13.16/work/GPXSee-13.16 ...
Info: creating stash file /var/tmp/portage/sci-geosciences/gpxsee-13.16/work/GPXSee-13.16/.qmake.stash
WARNING: Project ERROR: Unknown module(s) in QT: openglwidgets
Updating '/var/tmp/portage/sci-geosciences/gpxsee-13.16/work/GPXSee-13.16/lang/gpxsee_en.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20240224-165502

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0
  [2]   rust-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.0 linux/amd64

  HEAD of ::gentoo
commit 601ebb3e33ac161143242295c5836aa611a37c4d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 26 22:34:17 2024 +0000

    2024-02-26 22:34:16 UTC

emerge -qpvO sci-geosciences/gpxsee
[ebuild  N    ] sci-geosciences/gpxsee-13.16  USE="qt6"
Comment 1 Toralf Förster gentoo-dev 2024-02-27 09:06:33 UTC
Created attachment 886089 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-27 09:06:36 UTC
Created attachment 886090 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-02-27 09:06:40 UTC
Created attachment 886091 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-27 09:06:41 UTC
Created attachment 886092 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-27 09:06:42 UTC
Created attachment 886093 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-27 09:06:44 UTC
Created attachment 886094 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-27 09:06:45 UTC
Created attachment 886095 [details]
sci-geosciences:gpxsee-13.16:20240227-022606.log
Comment 8 Toralf Förster gentoo-dev 2024-02-27 09:06:46 UTC
Created attachment 886096 [details]
temp.tar.xz
Comment 9 Andreas Sturmlechner gentoo-dev 2025-01-01 12:50:36 UTC
*** Bug 946586 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Sturmlechner gentoo-dev 2025-01-01 12:53:04 UTC
Andrey, seriously please improve your package dependency game and git messages. Just look at the diff in my PR.
Comment 11 Andrey Grozin gentoo-dev 2025-01-01 15:09:07 UTC
(In reply to Andreas Sturmlechner from comment #10)
> Just look at the diff in my PR.
Why do you think qtserialport should be in DEPEND but not RDEPEND? I thought that gpxsee can get the realtime gps position from an external gps device (like garmin etrex) connected to the computer via a serial port. If so, a way to read/write data from/to a serial port is needed at runtime. I never used this functionality myself, so, I may be mistaken.
Comment 12 Larry the Git Cow gentoo-dev 2025-01-01 16:48:19 UTC
The bug has been closed via the following commit(s):

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

commit 501914d6f1c26befc8b3ce4888a0f0d60c76013a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-01-01 11:47:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-01-01 16:47:45 +0000

    sci-geosciences/gpxsee: Drop IUSE qt5 (make Qt6 non-optional), fix deps
    
    - Fix entirely missing dev-qt/qtbase:6 USEdeps
    - Add missing slot op on dev-qt/qtbase:6 (GuiPrivate dependency in .pro file)
    - Add missing BDEPEND=dev-qt/qttools:6[linguist] USEdep
    - Run eqmake in src_configure(), not src_compile()
    
    dev-qt/qtserialport:6 DEPEND appears to be upstream compensating for a
    dependency not having defined its link interface properly.
    
    Closes: https://bugs.gentoo.org/925596
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-geosciences/gpxsee/gpxsee-13.33-r1.ebuild | 51 +++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
Comment 13 Andreas Sturmlechner gentoo-dev 2025-01-08 21:08:03 UTC
(In reply to Andrey Grozin from comment #11)
> (In reply to Andreas Sturmlechner from comment #10)
> > Just look at the diff in my PR.
> Why do you think qtserialport should be in DEPEND but not RDEPEND?
There is no linking nor including of headers of qtserialport in gpxsee sources.

Here's the upstream commit introducing it:
https://github.com/tumic0/GPXSee/commit/e4d42453a0c9090b7e1b055f30a594c0777ba5b7
> The serialport module is a dependency of the nmea positioning plugin. Without
> being explicitly specified, the Qt deploy tools skip the nmea positioning plugin
> when creating the application package.
That nmea positioning plugin is provided by:
> # equery u dev-qt/qtpositioning
> [...]
>  - - nmea    : Build plugin for parsing NMEA (National Marine Electronics Association) sentences
*that plugin* has dependencies:
> * dependency graph for dev-qt/qtpositioning-6.8.1[nmea]
>   `--  dev-qt/qtbase-6.8.1[network]
>   `--  dev-qt/qtserialport-6.8.1

Whatever they are describing in that commit is not related to real package dependencies, but a workaround for whatever deployment tool they have to use - if you ask me, completely bogus in the build system (dev-qt/qtserialport could also be removed from gpxsee.pro file and consequently from DEPEND after that).

However, your ebuild currently depends on dev-qt/qtpositioning:6, not dev-qt/qtpositioning[nmea]. Maybe you want to find out if this would better be an unconditional RDEPEND USEdep (I don't think it does anything at build time, but I haven't checked) or optfeature (depends on graceful handling of lack thereof at runtime).