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
Created attachment 471020 [details] qtwayland-5.8.0_qt-build.log
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 * * * *******************************************************
I think this should be fixed in 5.9.1, please reopen if the issue persists.
Still in dev-qt/qtwayland-5.9.6. Happens with USE=-libinput for me.
Created attachment 543744 [details] build.log of 5.9.6
Created attachment 543946 [details] build.log of 5.11.1 Same problem with 5.11.1.
*** Bug 670444 has been marked as a duplicate of this bug. ***
(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.
(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. :]
(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
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(-)
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(-)
This has been fixed in gentoo.git for some time now.