Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616522 - dev-qt/qtwayland[-libinput] w/ dev-qt/qtgui[libinput]: undefined reference to 'xkb_state_mod_name_is_active'
Summary: dev-qt/qtwayland[-libinput] w/ dev-qt/qtgui[libinput]: undefined reference to...
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: fixed in 5.11.3
Keywords: PullRequest
: 670444 (view as bug list)
Depends on: qt-5.11.3-stable
Blocks:
  Show dependency tree
 
Reported: 2017-04-24 18:31 UTC by Vasco Gervasi
Modified: 2019-04-18 09:42 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,525.62 KB, text/x-log)
2017-04-24 18:31 UTC, Vasco Gervasi
Details
qtwayland-5.8.0_qt-build.log (qtwayland-5.8.0_qt-build.log,536.46 KB, text/plain)
2017-04-27 16:40 UTC, Alexander
Details
build.log of 5.9.6 (dev-qt_qtwayland-5.9.6_use_4BNTe,526.10 KB, text/plain)
2018-08-16 21:00 UTC, Rolf Eike Beer
Details
build.log of 5.11.1 (dev-qt_qtwayland-5.11.1_use_gPdCl,570.11 KB, text/plain)
2018-08-18 15:42 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Gervasi 2017-04-24 18:31:27 UTC
Created attachment 470824 [details]
build.log

Hi all,
I am trying to emerge dev-qt/qtwayland-5.8.0 but it returns this error:

.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::keysymToQtKey(unsigned int, QFlags<Qt::KeyboardModifier>&): error: undefined reference to 'xkb_keysym_to_utf32'
.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::modifiers(xkb_state*): error: undefined reference to 'xkb_state_mod_name_is_active'
.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::modifiers(xkb_state*): error: undefined reference to 'xkb_state_mod_name_is_active'
.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::modifiers(xkb_state*): error: undefined reference to 'xkb_state_mod_name_is_active'
.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::modifiers(xkb_state*): error: undefined reference to 'xkb_state_mod_name_is_active'
.obj/qwaylandkeyboard.o:qwaylandkeyboard.cpp:function QWaylandKeyboardPrivate::sendKeyEvent(unsigned int, unsigned int): error: undefined reference to 'QWaylandKeyboardPrivate::toWaylandXkbV1Key(unsigned int)'
.obj/qwaylandkeyboard.o:qwaylandkeyboard.cpp:function QWaylandKeyboardPrivate::keyEvent(unsigned int, unsigned int): error: undefined reference to 'QWaylandKeyboardPrivate::toWaylandXkbV1Key(unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:463: ../../lib/libQt5WaylandCompositor.so.5.8.0] Error 1
make[2]: uscita dalla directory "/var/tmp/portage/dev-qt/qtwayland-5.8.0/work/qtwayland-opensource-src-5.8.0/src/compositor"
make[1]: *** [Makefile:97: sub-compositor-make_first] Error 2
make[1]: uscita dalla directory "/var/tmp/portage/dev-qt/qtwayland-5.8.0/work/qtwayland-opensource-src-5.8.0/src"
make: *** [Makefile:45: sub-src-make_first] Error 2
 [31;01m*[0m ERROR: dev-qt/qtwayland-5.8.0::qt failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-qt/qtwayland-5.8.0::qt'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-qt/qtwayland-5.8.0::qt'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-qt/qtwayland-5.8.0/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwayland-5.8.0/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-qt/qtwayland-5.8.0/work/qtwayland-opensource-src-5.8.0'
 [31;01m*[0m S: '/var/tmp/portage/dev-qt/qtwayland-5.8.0/work/qtwayland-opensource-src-5.8.0'

Thanks
Comment 1 Alexander 2017-04-27 16:40:28 UTC
Created attachment 471020 [details]
qtwayland-5.8.0_qt-build.log
Comment 2 Alexander 2017-04-27 16:42:48 UTC
Hello. I confirm this.

I receive messages like this two times, and messages about XML validation four times.

Entering directory '/var/tmp/notmpfs/portage/dev-qt/qtwayland-5.8.0/work/qtwayland-opensource-src-5.8.0/src/compositor'
perl /usr/lib64/qt5/mkspecs/features/data/unix/findclasslist.pl < QtWaylandCompositor.version.in > QtWaylandCompositor.version
%3Cstdin%3E:342: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
%3Cstdin%3E:346: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
%3Cstdin%3E:350: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
%3Cstdin%3E:356: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
*******************************************************
*                                                     *
* WARNING: XML failed validation against built-in DTD *
*                                                     *
*******************************************************
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-07-23 07:05:39 UTC
I think this should be fixed in 5.9.1, please reopen if the issue persists.
Comment 4 Rolf Eike Beer archtester 2018-08-16 21:00:18 UTC
Still in dev-qt/qtwayland-5.9.6. Happens with USE=-libinput for me.
Comment 5 Rolf Eike Beer archtester 2018-08-16 21:00:51 UTC
Created attachment 543744 [details]
build.log of 5.9.6
Comment 6 Rolf Eike Beer archtester 2018-08-18 15:42:36 UTC
Created attachment 543946 [details]
build.log of 5.11.1

Same problem with 5.11.1.
Comment 7 Andreas Sturmlechner gentoo-dev 2018-12-05 12:44:42 UTC
*** Bug 670444 has been marked as a duplicate of this bug. ***
Comment 8 Alexander 2018-12-05 13:31:30 UTC
(In reply to Rolf Eike Beer from comment #6)
> Created attachment 543946 [details]
> build.log of 5.11.1
> 
> Same problem with 5.11.1.

% eix -axv dev-qt/qtwayland
* dev-qt/qtwayland
     Available versions:  5.9.6(5/5.9)^t **5.9.9999(5/5.9)[1] 5.11.1(5/5.11)^t{tbz2} (~)5.11.2(5/5.11)^t{tbz2} [m]**5.11.9999(5/5.11)[1] [m]**5.9999(5/5.9999)[1]
     IUSE (all versions): debug +libinput test xcomposite
     Installed versions:  Version:   5.11.2(5/5.11)^t{tbz2}[1]
                          Date:      02:06:09 10/29/18
                          USE:       libinput xcomposite -debug -test
                          DEPEND:    >=dev-libs/wayland-1.6.0 ~dev-qt/qtcore-5.11.2 ~dev-qt/qtdeclarative-5.11.2 ~dev-qt/qtgui-5.11.2[egl,libinput] media-libs/mesa[egl] >=x11-libs/libxkbcommon-0.2.0 x11-libs/libX11 x11-libs/libXcomposite dev-lang/perl virtual/pkgconfig
                          RDEPEND:   >=dev-libs/wayland-1.6.0 ~dev-qt/qtcore-5.11.2 ~dev-qt/qtdeclarative-5.11.2 ~dev-qt/qtgui-5.11.2[egl,libinput] media-libs/mesa[egl] >=x11-libs/libxkbcommon-0.2.0 x11-libs/libX11 x11-libs/libXcomposite dev-qt/qtchooser
                          SRC_URI:   
                          EAPI:      6
     Best versions/slot:  (~)5.11.2(5/5.11)^t{tbz2}
     Recommendation:      Downgrade
     Package sets:        qt5-addons
     Homepage:            https://www.qt.io/
     Find open bugs:      https://bugs.gentoo.org/buglist.cgi?quicksearch=dev-qt%2Fqtwayland
     Description:         Wayland platform plugin for Qt
     License:             || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3

[1] "qt" /home/portage/layman/qt

For me now with dev-qt/qtwayland-5.11.2[libinput] build correct.
Comment 9 Chiitoo gentoo-dev 2018-12-05 14:03:09 UTC
(In reply to Alexander from comment #8)
> For me now with dev-qt/qtwayland-5.11.2[libinput] build correct.

The issue is that 'dev-qt/qtwayland[-libinput]' doesn't build if 'dev-qt/qtgui[libinput]' is installed.  :]
Comment 10 Alexander 2018-12-05 14:18:23 UTC
(In reply to Chiitoo from comment #9)
> (In reply to Alexander from comment #8)
> > For me now with dev-qt/qtwayland-5.11.2[libinput] build correct.
> 
> The issue is that 'dev-qt/qtwayland[-libinput]' doesn't build if
> 'dev-qt/qtgui[libinput]' is installed.  :]

For QT5 stack USE flags need enable\disable synchronously.
Or we get a lot of headache because of not assembly of some one packet
Comment 11 Larry the Git Cow gentoo-dev 2018-12-05 22:10:05 UTC
The bug has been referenced in the following commit(s):

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

commit 2da858d41ea12c4b954e2f83a02579f80eaac49f
Author:     Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
AuthorDate: 2018-12-05 13:16:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-12-05 22:09:47 +0000

    dev-qt/qtwayland: Fix build with USE -libinput
    
    Bug: https://bugs.gentoo.org/616522
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-qt/qtwayland/qtwayland-5.11.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 12 Larry the Git Cow gentoo-dev 2018-12-05 22:16:44 UTC
The bug has been referenced in the following commit(s):

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

commit 2157bc10c7db702ca2bc10fd1f44fa13136ca36e
Author:     Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
AuthorDate: 2018-12-05 12:48:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-12-05 22:16:26 +0000

    dev-qt/qtwayland: Fix build with USE -libinput
    
    Bug: https://bugs.gentoo.org/616522
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-qt/qtwayland/qtwayland-5.11.9999.ebuild | 4 ++--
 dev-qt/qtwayland/qtwayland-5.12.0_rc.ebuild | 2 +-
 dev-qt/qtwayland/qtwayland-5.12.9999.ebuild | 2 +-
 dev-qt/qtwayland/qtwayland-5.9.9999.ebuild  | 4 ++--
 dev-qt/qtwayland/qtwayland-5.9999.ebuild    | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)
Comment 13 Michael Palimaka (kensington) gentoo-dev 2019-04-18 09:42:00 UTC
This has been fixed in gentoo.git for some time now.