Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660338 - dev-qt/qtgui-5.11.1: Project ERROR: Unknown module(s) in QT: network
Summary: dev-qt/qtgui-5.11.1: Project ERROR: Unknown module(s) in QT: network
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: PullRequest
: 660394 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-04 07:19 UTC by Michał Górny
Modified: 2019-04-23 06:00 UTC (History)
9 users (show)

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


Attachments
dev-qt:qtgui-5.11.1:20180704-063848.log (dev-qt:qtgui-5.11.1:20180704-063848.log,809.89 KB, text/plain)
2018-07-04 07:19 UTC, Michał Górny
Details
Working ebuild implementing Marien Zwart's work. (qtgui-5.11.1-r1.ebuild,3.49 KB, text/html)
2018-07-06 17:48 UTC, Drake Donahue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-04 07:19:34 UTC
Created attachment 538292 [details]
dev-qt:qtgui-5.11.1:20180704-063848.log

* Running emake in src/plugins/generic
make -j12 
cd tuiotouch/ && ( test -e Makefile || /var/tmp/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/src/plugins/generic/tuiotouch/tuiotouch.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=i686-pc-linux-gnu-ar cqs' QMAKE_CC=i686-pc-linux-gnu-gcc-7.3.0 QMAKE_LINK_C=i686-pc-linux-gnu-gcc-7.3.0 QMAKE_LINK_C_SHLIB=i686-pc-linux-gnu-gcc-7.3.0 QMAKE_CXX=i686-pc-linux-gnu-g++-7.3.0 QMAKE_LINK=i686-pc-linux-gnu-g++-7.3.0 QMAKE_LINK_SHLIB=i686-pc-linux-gnu-g++-7.3.0 QMAKE_OBJCOPY=i686-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=i686-pc-linux-gnu-strip 'QMAKE_CFLAGS=-O2 -pipe -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile 
cd libinput/ && ( test -e Makefile || /var/tmp/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/src/plugins/generic/libinput/libinput.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=i686-pc-linux-gnu-ar cqs' QMAKE_CC=i686-pc-linux-gnu-gcc-7.3.0 QMAKE_LINK_C=i686-pc-linux-gnu-gcc-7.3.0 QMAKE_LINK_C_SHLIB=i686-pc-linux-gnu-gcc-7.3.0 QMAKE_CXX=i686-pc-linux-gnu-g++-7.3.0 QMAKE_LINK=i686-pc-linux-gnu-g++-7.3.0 QMAKE_LINK_SHLIB=i686-pc-linux-gnu-g++-7.3.0 QMAKE_OBJCOPY=i686-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=i686-pc-linux-gnu-strip 'QMAKE_CFLAGS=-O2 -pipe -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile 
Project ERROR: Unknown module(s) in QT: network
make: *** [Makefile:46: sub-tuiotouch-make_first] Błąd 3
Comment 1 Juergen Rose 2018-07-06 08:29:12 UTC
I have the same issue in a Gentoo-64Bit VirtualBox-VM.
Comment 2 Marien Zwart 2018-07-06 13:14:24 UTC
Workaround for anyone affected by this: install dev-qt/qtnetwork. qtgui-5.11.1 is building /usr/lib64/qt5/plugins/generic/libqtuiotouchplugin.so (which links to libQt5Network) even with USE=-tuio.

Comparing src/plugins/generic/generic.pro between 5.9.6 and 5.11.1, we see:

-qtHaveModule(network):qtConfig(udpsocket) {
+qtConfig(tuiotouch) {

The ebuild (both versions) does:

        qt_use_disable_config tuio udpsocket src/plugins/generic/generic.pro

Maybe that needs to be

        qt_use_disable_config tuio tuiotouch src/plugins/generic/generic.pro

in 5.11.1? (I don't actually know what I'm doing...)
Comment 3 Drake Donahue 2018-07-06 17:48:52 UTC
Created attachment 538580 [details]
Working ebuild implementing Marien Zwart's work.

Both of Marien Zwart's work arounds work on my ~amd64 systems.
Recommend issue dev-qt/qtgui-5.11.1-r1 as attached.
Comment 4 Petross404(Petros S) 2018-07-07 09:23:30 UTC
(In reply to Drake Donahue from comment #3)
> Created attachment 538580 [details]
> Working ebuild implementing Marien Zwart's work.
> 
> Both of Marien Zwart's work arounds work on my ~amd64 systems.
> Recommend issue dev-qt/qtgui-5.11.1-r1 as attached.

I can confirm that this ebuild solved the "unknown module" error for me. Thanks.
Comment 5 Andreas Sturmlechner gentoo-dev 2018-07-07 15:05:44 UTC
*** Bug 660394 has been marked as a duplicate of this bug. ***
Comment 6 tt_1 2018-07-09 17:59:47 UTC
can you please reattach the patch or ebuild in a readable manner? thanks
Comment 7 Drake Donahue 2018-07-09 18:35:57 UTC
click on [details] instead of attachment 538580 [details]
Comment 8 Larry the Git Cow gentoo-dev 2018-07-12 10:38:12 UTC
The bug has been closed via the following commit(s):

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

commit be8749edbbd5fe9dece6d9859cb6e96e0ce32748
Author:     donahue95 <donahue95@comcast.net>
AuthorDate: 2018-07-08 01:43:45 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-12 10:27:12 +0000

    dev-qt/qtgui: 5.11.1: Fix unknown module error
    
    Closes: https://bugs.gentoo.org/660338
    Closes: https://github.com/gentoo/gentoo/pull/9114

 dev-qt/qtgui/qtgui-5.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)