Summary: | Qt support for sci-mathematics/octave-4.0.2-r1 is incoherent. Add qt{4,5} USE flag? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd <waebbl-gentoo> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kensington |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=590532 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 544108 | ||
Attachments: | ebuild log file |
Description
Bernd
2016-08-07 09:38:27 UTC
I don't know if octave actually supports Qt 5 or not, but in any case this sort of thing should be handled with a use flag rather than fiddling with qtchooser. It also doesn't help the ebuild doesn't appear to specify *any* Qt dependencies at all. I agree in that USE flags should be used to handle this. I changed the title to reflect this. Thanks for the hint. The configure script shows no options for qt support, only two environment variables QT_CFLAGS and QT_LIBS are printed. I found out, that the compile finishes by exporting QT_SELECT=qt4 prior to ebuild-ing octave. Haven't tested it with emerge though. Also exporting QT_SELECT=qt5 doesn't work, the configure script still shows the QT4 libraries and headers being selected, so it looks like QT5 isn't supported (yet). Octave 4.0.x doesn't seem to work with Qt5. Some patches have been developed to make Octave work with Qt5. See comment #14 of https://savannah.gnu.org/bugs/?40252 As far as I can see, these patches will be part of Octave 4.2.0. Octave 4.2.0 has a USE="qt5" USE flag. commit 40582ca0015450d47be3b2ff4a7390cbbb56b7c0 Author: David Seifert <soap@gentoo.org> Date: Sun Nov 20 19:23:32 2016 +0100 sci-mathematics/octave: Version bump to 4.2.0 Gentoo-bug: 594794 * Add USE="openssl" * Add USE="portaudio" * Add USE="sndfile" * GUI provided with USE="qt5" * Replace EROOT in src_install |