Hi Joachim,
It seems like the problem is that xkeyboard-config is not included in
the X11 bundle.
I looked into adding it, see
https://github.com/easybuilders/easybuild-easyconfigs/pull/5066 .
It's a bit painful, since it requires intltool as a (build) dependency,
which in turn requires Perl...
Please check whether this fixes your problem.
Let's follow up in the pull request itself?
regards,
Kenneth
On 24/08/2017 16:22, Markus Geimer wrote:
Joachim,
I ran into this as well some time ago and worked around it by adding
modextravars = {
'QT_XKB_CONFIG_ROOT': '/usr/share/X11/xkb',
}
to my Qt5 easyconfig. But this obviously isn't a "real" solution. So
if someone has a better idea...
Markus
On 08/24/2017 04:06 PM, Joachim Hein wrote:
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
--
Dr. Markus Geimer
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany
Phone: +49-2461-61-1773
Fax: +49-2461-61-6656
E-Mail: [email protected]
WWW: http://www.fz-juelich.de/jsc
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------