When trying to bitbake glmark2 on a cubieboard2, I get following error, which is potentially sunxi-mali related.
DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function do_configure
Setting top to : /home/kristof/OE/oe-core/build/tmp-eglibc/work/cortexa7hf-vfp-neon-oe-linux-gnueabi/glmark2/2012.12-r0/glmark2-2012.12
Setting out to : /home/kristof/OE/oe-core/build/tmp-eglibc/work/cortexa7hf-vfp-neon-oe-linux-gnueabi/glmark2/2012.12-r0/glmark2-2012.12/build
Checking for 'gcc' (c compiler) : arm-oe-linux-gnueabi-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a7 --sysroot=/home/kristof/OE/oe-core/build/tmp-eglibc/sysroots/cubieboard2
Checking for 'g++' (c++ compiler) : arm-oe-linux-gnueabi-g++ -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a7 --sysroot=/home/kristof/OE/oe-core/build/tmp-eglibc/sysroots/cubieboard2
Checking for header stdlib.h : yes
Checking for header string.h : yes
Checking for header unistd.h : yes
Checking for header stdint.h : yes
Checking for header stdio.h : yes
Checking for header jpeglib.h : yes
Checking for library m : yes
Checking for library jpeg : yes
Checking for function memset : yes
Checking for function sqrt : yes
Checking for program pkg-config : /home/kristof/OE/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config
Checking for 'libpng12' : yes
Checking for 'x11' : yes
Checking for 'gl' : yes
Checking for 'egl' : not found
The configuration failed
(complete log in /home/kristof/OE/oe-core/build/tmp-eglibc/work/cortexa7hf-vfp-neon-oe-linux-gnueabi/glmark2/2012.12-r0/glmark2-2012.12/build/config.log)
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at /home/kristof/OE/oe-core/build/tmp-eglibc/work/cortexa7hf-vfp-neon-oe-linux-gnueabi/glmark2/2012.12-r0/temp/log.do_configure.26995)
cat cat /home/kristof/OE/oe-core/build/tmp-eglibc/work/cortexa7hf-vfp-neon-oe-linux-gnueabi/glmark2/2012.12-r0/glmark2-2012.12/build/config.log:
[...]
Checking for 'gl'
['/home/kristof/OE/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config', 'gl', '--cflags', '--libs']
out: -DMESA_EGL_NO_X11_HEADERS -I/home/kristof/OE/oe-core/build/tmp-eglibc/sysroots/cubieboard2/usr/include/libdrm -lGL
yes
----------------------------------------
Checking for 'egl'
['/home/kristof/OE/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config', 'egl', '--cflags', '--libs']
err: Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'egl' found
not found
I believe this is some error in the machine file, and more specifically in the sunxi-mali recipe [1], as that should provide egl:
PROVIDES = "virtual/libgles1 virtual/libgles2 virtual/egl"
Are others able to reproduce this as well? Any ideas on how to fix this?
Thanks!
Kristof
[1] https://github.com/linux-sunxi/meta-sunxi/blob/master/recipes-graphics/libgles/sunxi-mali_git.bb
When trying to
bitbake glmark2on a cubieboard2, I get following error, which is potentiallysunxi-malirelated.cat cat /home/kristof/OE/oe-core/build/tmp-eglibc/work/cortexa7hf-vfp-neon-oe-linux-gnueabi/glmark2/2012.12-r0/glmark2-2012.12/build/config.log:
I believe this is some error in the machine file, and more specifically in the sunxi-mali recipe [1], as that should provide
egl:Are others able to reproduce this as well? Any ideas on how to fix this?
Thanks!
Kristof
[1] https://github.com/linux-sunxi/meta-sunxi/blob/master/recipes-graphics/libgles/sunxi-mali_git.bb