Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938706 - sci-mathematics/octave-9.2.0[gui] is missing dev-qt/qt5compat dependency
Summary: sci-mathematics/octave-9.2.0[gui] is missing dev-qt/qt5compat dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-29 21:20 UTC by Kim Nilsson
Modified: 2024-08-29 21:56 UTC (History)
0 users

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 Kim Nilsson 2024-08-29 21:20:10 UTC
When the gui flag is enabled and --with-qt=6 is passed to the configure script, it looks for the package's required Qt libraries. These are as follows:
Qt6Core Qt6Gui Qt6Help Qt6Network Qt6OpenGL Qt6OpenGLWidgets Qt6PrintSupport Qt6Widgets Qt6Xml Qt6Core5Compat

If any one of these are missing, the GUI functionality is silently disabled and the build still succeeds. If the installed octave binary is run with the --gui argument, it refuses to start with the following message:
octave: GUI features missing or disabled in this build

In my case the missing library was Qt6Core5Compat, which is provided by the dev-qt/qt5compat package which is not a dependency of the ebuild.

I copied the ebuild to my local tree and added dev-qt/qt5compat after the line with dev-qt/qtbase and rebuilt the package. It pulled in dev-qt/qt5compat after which the configure script was satisfied and the GUI was re-enabled.

Reproducible: Always

Steps to Reproduce:
1. emerge =sci-mathematics/octave-9.2.0
2. octave --gui
Actual Results:  
The merge is successful, octave doesn't run when --gui is provided.

Expected Results:  
The merge is successful and octave displays the gui when --gui is provided.
Comment 1 Andreas Sturmlechner gentoo-dev 2024-08-29 21:54:44 UTC
Fixing missing dependencies, again ...
Comment 2 Larry the Git Cow gentoo-dev 2024-08-29 21:56:18 UTC
The bug has been closed via the following commit(s):

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

commit 4926abf83c91c351d28e9670ca916a73d657a089
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-08-29 21:55:22 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-08-29 21:55:22 +0000

    sci-mathematics/octave: Add missing dependencies w/ USE=gui
    
    Closes: https://bugs.gentoo.org/938706
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-mathematics/octave/octave-9.2.0-r1.ebuild | 220 ++++++++++++++++++++++++++
 1 file changed, 220 insertions(+)