Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qtwayland-5.8.0 undefined reference to 'xkb_keysym_to_utf32'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
houtworm
Guru
Guru


Joined: 08 Mar 2003
Posts: 391
Location: Den Haag, Netherlands

PostPosted: Sun Feb 26, 2017 12:05 pm    Post subject: qtwayland-5.8.0 undefined reference to 'xkb_keysym_to_utf32' Reply with quote

When trying to emerge the qt-5.8.0 overlay, emerge stops with an error.
I tried to post a bug at bugs.gentoo.org but there was an access error and it was not possible to post anything.

The error occurs at link stage:
Code:
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--version-script,QtWaylandCompositor.versi
on -fuse-ld=gold -Wl,--enable-new-dtags -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5WaylandCompositor.so.5
 -o libQt5WaylandCompositor.so.5.8.0 .obj/qwaylandmimehelper.o .obj/qwaylandinputmethodeventbuilder.o .obj/qwayla
ndcompositorextension.o .obj/qwlbuffermanager.o .obj/qwlclientbuffer.o .obj/qwldatadevice.o .obj/qwldatadeviceman
ager.o .obj/qwldataoffer.o .obj/qwldatasource.o .obj/qwlregion.o .obj/qwaylandxkb.o .obj/qwlclientbufferintegrati
on.o .obj/qwlclientbufferintegrationfactory.o .obj/qwlclientbufferintegrationplugin.o .obj/qwlserverbufferintegra
tion.o .obj/qwlserverbufferintegrationfactory.o .obj/qwlserverbufferintegrationplugin.o .obj/qwlhwintegration.o .
obj/qwaylandcompositor.o .obj/qwaylandclient.o .obj/qwaylandsurface.o .obj/qwaylandseat.o .obj/qwaylandkeyboard.o
 .obj/qwaylandkeymap.o .obj/qwaylandpointer.o .obj/qwaylandtouch.o .obj/qwaylandoutput.o .obj/qwaylandoutputmode.
o .obj/qwaylanddrag.o .obj/qwaylandbufferref.o .obj/qwaylanddestroylistener.o .obj/qwaylandview.o .obj/qwaylandre
source.o .obj/qwaylandsurfacegrabber.o .obj/qwaylandinputmethodcontrol.o .obj/qwaylandquickcompositor.o .obj/qway
landquicksurface.o .obj/qwaylandquickoutput.o .obj/qwaylandquickitem.o .obj/qwlextendedsurface.o .obj/qwlqttouch.
o .obj/qwlqtkey.o .obj/qwaylandshell.o .obj/qwaylandwlshell.o .obj/qwaylandtextinput.o .obj/qwaylandtextinputmana
ger.o .obj/qwaylandqtwindowmanager.o .obj/qwaylandxdgshellv5.o .obj/qwaylandiviapplication.o .obj/qwaylandivisurf
ace.o .obj/qwaylandquickshellsurfaceitem.o .obj/qwaylandivisurfaceintegration.o .obj/qwaylandwlshellintegration.o
 .obj/qwaylandxdgshellv5integration.o .obj/wayland-wayland-protocol.o .obj/wayland-server-buffer-extension-protoc
ol.o .obj/wayland-hardware-integration-protocol.o .obj/wayland-surface-extension-protocol.o .obj/wayland-touch-ex
tension-protocol.o .obj/wayland-qtkey-extension-protocol.o .obj/wayland-qt-windowmanager-protocol.o .obj/wayland-
text-input-unstable-v2-protocol.o .obj/wayland-xdg-shell-protocol.o .obj/wayland-ivi-application-protocol.o .obj/
qwayland-server-wayland.o .obj/qwayland-server-server-buffer-extension.o .obj/qwayland-server-hardware-integratio
n.o .obj/qwayland-server-surface-extension.o .obj/qwayland-server-touch-extension.o .obj/qwayland-server-qtkey-ex
tension.o .obj/qwayland-server-qt-windowmanager.o .obj/qwayland-server-text-input-unstable-v2.o .obj/qwayland-ser
ver-xdg-shell.o .obj/qwayland-server-ivi-application.o .obj/qrc_compositor.o .obj/moc_qwaylandcompositorextension
.o .obj/moc_qwldatadevicemanager_p.o .obj/moc_qwlclientbufferintegrationplugin_p.o .obj/moc_qwlserverbufferintegr
ationplugin_p.o .obj/moc_qwaylandcompositor.o .obj/moc_qwaylandclient.o .obj/moc_qwaylandsurface.o .obj/moc_qwayl
andseat.o .obj/moc_qwaylandkeyboard.o .obj/moc_qwaylandkeymap.o .obj/moc_qwaylandpointer.o .obj/moc_qwaylandtouch
.o .obj/moc_qwaylandoutput.o .obj/moc_qwaylanddrag.o .obj/moc_qwaylanddestroylistener.o .obj/moc_qwaylandview.o .
obj/moc_qwaylandresource.o .obj/moc_qwaylandsurfacegrabber.o .obj/moc_qwaylandinputmethodcontrol.o .obj/moc_qwayl
andquickcompositor.o .obj/moc_qwaylandquicksurface.o .obj/moc_qwaylandquickoutput.o .obj/moc_qwaylandquickitem.o
.obj/moc_qwlextendedsurface_p.o .obj/moc_qwlqttouch_p.o .obj/moc_qwlqtkey_p.o .obj/moc_qwaylandshell.o .obj/moc_q
waylandwlshell.o .obj/moc_qwaylandtextinput.o .obj/moc_qwaylandtextinputmanager.o .obj/moc_qwaylandqtwindowmanage
r.o .obj/moc_qwaylandxdgshellv5.o .obj/moc_qwaylandshellsurface.o .obj/moc_qwaylandiviapplication.o .obj/moc_qway
landivisurface.o .obj/moc_qwaylandquickshellsurfaceitem.o .obj/moc_qwaylandquickshellsurfaceitem_p.o .obj/moc_qwa
ylandivisurfaceintegration_p.o .obj/moc_qwaylandwlshellintegration_p.o .obj/moc_qwaylandxdgshellv5integration_p.o
  -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lpthread -lwayland-server -lGL
.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 'xk
b_state_mod_name_is_active'
.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::modifiers(xkb_state*): error: undefined reference to 'xk
b_state_mod_name_is_active'
.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::modifiers(xkb_state*): error: undefined reference to 'xk
b_state_mod_name_is_active'
.obj/qwaylandxkb.o:qwaylandxkb.cpp:function QWaylandXkb::modifiers(xkb_state*): error: undefined reference to 'xk
b_state_mod_name_is_active'
.obj/qwaylandkeyboard.o:qwaylandkeyboard.cpp:function QWaylandKeyboardPrivate::sendKeyEvent(unsigned int, unsigne
d int): error: undefined reference to 'QWaylandKeyboardPrivate::toWaylandXkbV1Key(unsigned int)'
.obj/qwaylandkeyboard.o:qwaylandkeyboard.cpp:function QWaylandKeyboardPrivate::keyEvent(unsigned int, unsigned in
t): error: undefined reference to 'QWaylandKeyboardPrivate::toWaylandXkbV1Key(unsigned int)'
collect2: error: ld returned 1 exit status


The undefined references can be found in /usr/lib/libxkbcommon.so but this lib is not included in the linking of qtwayland.
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sun Feb 26, 2017 12:17 pm    Post subject: Reply with quote

Forget about Qt-5.8.0 with wayland, it is completely broken.
Back to top
View user's profile Send private message
houtworm
Guru
Guru


Joined: 08 Mar 2003
Posts: 391
Location: Den Haag, Netherlands

PostPosted: Sun Feb 26, 2017 12:52 pm    Post subject: Reply with quote

Then I have a problem because
Code:
# equery d qtwayland
 * These packages depend on qtwayland:
kde-frameworks/kwayland-5.31.0 (>=dev-qt/qtwayland-5.6.1:5[egl])

..and more kde-plasma packages depend on kwayland
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sun Feb 26, 2017 1:11 pm    Post subject: Reply with quote

But they don't depend on Qt-5.8.0.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Mon Feb 27, 2017 1:15 am    Post subject: Reply with quote

And it is hard masked
Code:
# emerge -pv =qtwayland-5.8.0

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "=qtwayland-5.8.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-qt/qtwayland-5.8.0::qt (masked by: package.mask)
/var/repositories/layman/qt/profiles/package.mask:
# Michael Palimaka <kensington@gentoo.org> (25 Jan 2017)
# Untested work in progress.
# Guaranteed to break your system horribly or your money back.


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Back to top
View user's profile Send private message
houtworm
Guru
Guru


Joined: 08 Mar 2003
Posts: 391
Location: Den Haag, Netherlands

PostPosted: Wed Mar 01, 2017 1:07 am    Post subject: Reply with quote

Thanks for your answers.
I had 5.8.0 unmasked but now I am back to 5.7.1
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
MarioCorleone
Guru
Guru


Joined: 29 Jun 2003
Posts: 336

PostPosted: Tue Jun 12, 2018 4:55 am    Post subject: Reply with quote

I had this same issue with qtwayland and qtcore 5.9.4

I noticed qtwayland didnt have the libinput flag enabled locally even though it was set globally in make.conf
adding it to package.use fixed the linking error for me
_________________
-Mario
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum