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.
Fixing missing dependencies, again ...
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(+)