Hi,

We are trying to deploy qt5 in various foss toolchains and are experiencing 
issues with the xkb library.

The users report errors like (X11 20160819 in foss 2016b):

xkbcommon: ERROR: failed to add default include path 
/sw/easybuild/software/MPI/GCC/5.4.0-2.26/OpenMPI/1.10.3/X11/20160819/share/X11/xkb
Qt: Failed to create XKB context!
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search 
path, add ':' as separator to provide several search paths and/or make sure 
that XKB configuration data directory contains recent enough contents, to 
update please see http://cgit.freedesktop.org/xkeyboard-config/ .

It is our current understanding the the directory 
/sw/easybuild/software/MPI/GCC/5.4.0-2.26/OpenMPI/1.10.3/X11/20160819/share/X11/xkb
 should look similar to

-bash-4.2$ ls -l /opt/thinlinc/share/X11/xkb
total 28
drwxr-xr-x  2 root root 4096 Oct  3  2016 compat
drwxr-xr-x  4 root root 4096 Oct  3  2016 geometry
drwxr-xr-x  4 root root 4096 Oct  3  2016 keycodes
drwxr-xr-x  2 root root 4096 Oct  3  2016 rules
drwxr-xr-x 13 root root 4096 Oct  3  2016 symbols
drwxr-xr-x  2 root root 4096 Oct  3  2016 types

but we are completely lacking a xkb directory:

[root@aurora1 ~]# ls  
/sw/easybuild/software/MPI/GCC/5.4.0-2.26/OpenMPI/1.10.3/X11/20160819/share/X11/
locale  Xcms.txt  XErrorDB

I went back to the old log file of the X11 (I build that in december) and found 
it has stuff like:

== 2016-12-16 18:15:33,725 easyconfig.py:1205 WARNING Unable to resolve 
template value libxkbcommon-%(version)s with dict {'versionprefix': '', 
'versionsuffix': '', '\
toolchain_name': 'foss', 'toolchain_version': '2016b'}
== 2016-12-16 18:15:33,725 easyconfig.py:1205 WARNING Unable to resolve 
template value %(name)s-%(version)s.tar.gz with dict {'versionprefix': '', 
'versionsuffix': ''\
, 'toolchain_name': 'foss', 'toolchain_version': '2016b'}


I checked the logs of a newer X11, which I build with EB 3.3.1 and that has 
similar.  Not sure this is the cause of the issue, but it might be a starter.

Any comments/hints/requests_for_more_info?

Thanks
   Joachim

Reply via email to