Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679210 - dev-qt/qtspeech-5.12.1 : Project ERROR: Unknown module(s) in QT: gui
Summary: dev-qt/qtspeech-5.12.1 : Project ERROR: Unknown module(s) in QT: gui
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-02 08:01 UTC by Toralf Förster
Modified: 2019-03-11 06:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.30 KB, text/plain)
2019-03-02 08:01 UTC, Toralf Förster
Details
dev-qt:qtspeech-5.12.1:20190302-030710.log (dev-qt:qtspeech-5.12.1:20190302-030710.log,24.33 KB, text/plain)
2019-03-02 08:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,209.43 KB, text/plain)
2019-03-02 08:01 UTC, Toralf Förster
Details
environment (environment,112.84 KB, text/plain)
2019-03-02 08:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.28 KB, application/x-bzip)
2019-03-02 08:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,970 bytes, application/x-bzip)
2019-03-02 08:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.79 KB, application/x-bzip)
2019-03-02 08:01 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 2019-03-02 08:01:35 UTC
cd doc/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtspeech-5.12.1/work/qtspeech-everywhere-src-5.12.1/src/doc/doc.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-O2 -pipe -march=native' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=native' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile 
Project ERROR: Unknown module(s) in QT: gui
make[1]: *** [Makefile:99: sub-doc-make_first] Error 3
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtspeech-5.12.1/work/qtspeech-everywhere-src-5.12.1/src'
make: *** [Makefile:49: sub-src-make_first] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_20190225-193910

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.32.0 *



emerge -qpvO dev-qt/qtspeech
[ebuild     U ] dev-qt/qtspeech-5.12.1 [5.11.3] USE="-debug -test"
Comment 1 Toralf Förster gentoo-dev 2019-03-02 08:01:38 UTC
Created attachment 567356 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-02 08:01:41 UTC
Created attachment 567358 [details]
dev-qt:qtspeech-5.12.1:20190302-030710.log
Comment 3 Toralf Förster gentoo-dev 2019-03-02 08:01:45 UTC
Created attachment 567360 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-03-02 08:01:48 UTC
Created attachment 567362 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-03-02 08:01:51 UTC
Created attachment 567364 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-03-02 08:01:53 UTC
Created attachment 567366 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-03-02 08:01:56 UTC
Created attachment 567368 [details]
temp.tbz2
Comment 8 Michael Mounteney 2019-03-09 07:14:37 UTC
Are there any workarounds for this?  My system is borked.  More fool me for not trying emerge @world on my test system first.
Comment 9 Chiitoo gentoo-dev 2019-03-09 12:06:45 UTC
(In reply to Michael Mounteney from comment #8)
> Are there any workarounds for this?  My system is borked.  More fool me for
> not trying emerge @world on my test system first.

Installing 'dev-qt/qtgui' may be the only viable solution at this time.
Comment 10 Michael Mounteney 2019-03-10 07:13:05 UTC
Installing dev-qt/qtgui fixes it for me and is obvious to KDE devs. -- and me now -- but wasn't so at the time of asking.  Thanks.
Comment 11 Michael Palimaka (kensington) gentoo-dev 2019-03-11 05:53:46 UTC
In qmake, the default value of $QT is "core gui" (ie. qmake assumes that qtgui is present unless explicitly disabled). It seems that the patch from bug #651012 is not sufficient.
Comment 12 Larry the Git Cow gentoo-dev 2019-03-11 06:03:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=c5cba19e6c62c250b3ff6c75ee5c0967457c01d8

commit c5cba19e6c62c250b3ff6c75ee5c0967457c01d8
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2019-03-11 06:03:28 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2019-03-11 06:03:46 +0000

    dev-qt/qtspeech: improve patch avoiding build failure with no qtgui
    
    Bug: https://bugs.gentoo.org/679210
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Michael Palimaka <kensington@gentoo.org>

 ...qtspeech-5.9.4-nogui.patch => qtspeech-5.12.1-nogui.patch} | 11 +++++++++++
 dev-qt/qtspeech/qtspeech-5.12.9999.ebuild                     |  2 +-
 dev-qt/qtspeech/qtspeech-5.13.9999.ebuild                     |  2 +-
 dev-qt/qtspeech/qtspeech-5.9999.ebuild                        |  2 +-
 4 files changed, 14 insertions(+), 3 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2019-03-11 06:09:00 UTC
The bug has been closed via the following commit(s):

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

commit aa26da3778abf77ca12ff991630b2bcb49d180ca
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2019-03-11 06:08:06 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2019-03-11 06:08:48 +0000

    dev-qt/qtspeech: improve patch avoiding build failure with no qtgui
    
    Closes: https://bugs.gentoo.org/679210
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Michael Palimaka <kensington@gentoo.org>

 dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch | 23 +++++++++++++++++++++++
 dev-qt/qtspeech/qtspeech-5.12.1.ebuild            |  2 +-
 2 files changed, 24 insertions(+), 1 deletion(-)