Hi, On Mon, Aug 28, 2017 at 2:46 PM, Jussi Kukkonen <[email protected]> wrote:
> mesa can build certain things without opengl: most importantly vulkan > drivers. > > Add comments on the dependencies between the packageconfigs. Also add > a few dependencies to packageconfigs. Modify default packageconfig to > do the reasonable thing based on distro features. > > Add a backported patch to fix the build with --disable-opengl. Fix > do_install_append() so it works even if dri drivers are not built. > > Signed-off-by: Jussi Kukkonen <[email protected]> > --- > .../0001-configure.ac-Always-check-for-expat.patch | 51 > ++++++++++++++++++++++ > meta/recipes-graphics/mesa/mesa.inc | 23 +++++++--- > meta/recipes-graphics/mesa/mesa_17.1.7.bb | 1 + > 3 files changed, 68 insertions(+), 7 deletions(-) > create mode 100644 meta/recipes-graphics/mesa/files/0001-configure.ac- > Always-check-for-expat.patch > > diff --git > a/meta/recipes-graphics/mesa/files/0001-configure.ac-Always-check-for-expat.patch > b/meta/recipes-graphics/mesa/files/0001-configure.ac- > Always-check-for-expat.patch > new file mode 100644 > index 0000000..4753c49 > --- /dev/null > +++ b/meta/recipes-graphics/mesa/files/0001-configure.ac- > Always-check-for-expat.patch > @@ -0,0 +1,51 @@ > +From 1f7d752193f02d15d5923cee992e8f46d4c6df1b Mon Sep 17 00:00:00 2001 > +From: Jussi Kukkonen <[email protected]> > +Date: Mon, 28 Aug 2017 13:51:49 +0300 > +Subject: [PATCH] configure.ac: Always check for expat > + > +expat was not checked if dri was not built leading to build failure > +in vulkan driver: backport a fix (a combination of multiple commits > +that should end up in 17.3). > + > +Upstream-Status: Backport > +Signed-off-by: Jussi Kukkonen <[email protected]> > +--- > + configure.ac | 15 ++++++--------- > + 1 file changed, 6 insertions(+), 9 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index fd346c8aa2..662faecefa 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -1777,6 +1777,12 @@ if test "x$with_dri_drivers" = xno; then > + with_dri_drivers='' > + fi > + > ++# Check for expat > ++PKG_CHECK_MODULES([EXPAT], [expat]) > ++PKG_CHECK_MODULES([EXPAT], [expat],, > ++ [PKG_CHECK_MODULES([EXPAT], [expat21])] > ++) > ++ > + dnl If $with_dri_drivers is yes, drivers will be added through > + dnl platform checks. Set DEFINES and LIB_DEPS > + if test "x$enable_dri" = xyes; then > +@@ -1810,15 +1816,6 @@ if test "x$enable_dri" = xyes; then > + with_dri_drivers="i915 i965 nouveau r200 radeon swrast" > + fi > + > +- # Check for expat > +- PKG_CHECK_MODULES([EXPAT], [expat], [], > +- # expat version 2.0 and earlier do not provide expat.pc > +- [AC_CHECK_HEADER([expat.h],[], > +- [AC_MSG_ERROR([Expat headers required for DRI > not found])]) > +- AC_CHECK_LIB([expat],[XML_ParserCreate],[], > +- [AC_MSG_ERROR([Expat library required for DRI not > found])]) > +- EXPAT_LIBS="-lexpat"]) > +- > + # put all the necessary libs together > + DRI_LIB_DEPS="$DRI_LIB_DEPS $SELINUX_LIBS $LIBDRM_LIBS $EXPAT_LIBS > -lm $PTHREAD_LIBS $DLOPEN_LIBS" > + fi > +-- > +2.14.1 > + > diff --git a/meta/recipes-graphics/mesa/mesa.inc > b/meta/recipes-graphics/mesa/mesa.inc > index 3bb3cf4..4f31ed2 100644 > --- a/meta/recipes-graphics/mesa/mesa.inc > +++ b/meta/recipes-graphics/mesa/mesa.inc > @@ -20,7 +20,7 @@ PROVIDES = "virtual/libgl virtual/libgles1 > virtual/libgles2 virtual/egl virtual/ > > inherit autotools pkgconfig gettext distro_features_check > > -REQUIRED_DISTRO_FEATURES = "opengl" > +ANY_OF_DISTRO_FEATURES = "opengl vulkan" > > PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \ > ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'drm', '', > d)}" > @@ -32,20 +32,25 @@ EXTRA_OECONF = "--enable-shared-glapi \ > --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} > \ > --with-platforms='${PLATFORMS}'" > > -PACKAGECONFIG ??= "gbm egl gles dri \ > - ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 > vulkan', d)} \ > - ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', > 'dri3', '', d)} \ > - " > +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland > vulkan', d)} \ > + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', > 'opengl egl gles gbm dri', '', d)} \ > + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', > 'x11', '', d)} \ > + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', > 'dri3', '', d)} \ > + " > + > +# "gbm" requires "dri", "opengl" > PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" > > X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm > libxdamage libxfixes" > +# "x11" requires "opengl" > PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" > PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" > -PACKAGECONFIG[wayland] = ",,wayland-native wayland" > +PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm" > > DRIDRIVERS = "swrast" > DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" > DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" > +# "dri" requires "opengl" > PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, > --disable-dri, dri2proto libdrm" > PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, dri3proto > presentproto libxshmfence" > > @@ -56,8 +61,12 @@ VULKAN_DRIVERS_append_x86 = ",intel" > VULKAN_DRIVERS_append_x86-64 = ",intel" > PACKAGECONFIG[vulkan] = "--with-vulkan-drivers=${VULKAN_DRIVERS}, > --without-vulkan-drivers" > > +PACKAGECONFIG[opengl] = "--enable-opengl, --disable-opengl" > + > +# "gles" requires "opengl" > PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 > --disable-gles2" > > +# "egl" requires "dri", "opengl" > PACKAGECONFIG[egl] = "--enable-egl, --disable-egl" > > PACKAGECONFIG[etnaviv] = "" > @@ -121,7 +130,7 @@ do_install_append () { > > # it was packaged in libdricore9.1.3-1 and preventing upgrades when > debian.bbclass was used > rm -f ${D}${sysconfdir}/drirc > - chrpath --delete ${D}${libdir}/dri/*_dri.so > + chrpath --delete ${D}${libdir}/dri/*_dri.so || true > } > > # For the packages that make up the OpenGL interfaces, inject variables > so that > diff --git a/meta/recipes-graphics/mesa/mesa_17.1.7.bb > b/meta/recipes-graphics/mesa/mesa_17.1.7.bb > index 494cdc6..a50f32c 100644 > --- a/meta/recipes-graphics/mesa/mesa_17.1.7.bb > +++ b/meta/recipes-graphics/mesa/mesa_17.1.7.bb > @@ -10,6 +10,7 @@ SRC_URI = "https://mesa.freedesktop.org/ > archive/mesa-${PV}.tar.xz \ > file://0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch \ > file://0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch \ > file://0001-winsys-svga-drm-Include-sys-types.h.patch \ > + file://0001-configure.ac-Always-check-for-expat.patch \ > " > SRC_URI[md5sum] = "e40bb428a263bd28cbf6478dae45b207" > SRC_URI[sha256sum] = "69f472a874b1122404fa0bd13e2d6b > f87eb3b9ad9c21d2f39872a96d83d9e5f5" > -- > 2.1.4 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core > It appear that this patch has broken the build for mesa-gl on MACHINE=raspberrypi3 with the following error on do_configure: ERROR: mesa-gl-2_17.1.7-r0 do_configure: configure failed ERROR: mesa-gl-2_17.1.7-r0 do_configure: Function failed: do_configure (log file is located at /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl /2_17.1.7-r0/temp/log.do_configure.1391) ERROR: Logfile of failure stored in: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/temp/log.do_configure.1391 Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_configure | automake (GNU automake) 1.15.1 | Copyright (C) 2017 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later < http://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <[email protected]> | and Alexandre Duret-Lutz <[email protected]>. | AUTOV is 1.15 | NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot/usr/share/aclocal / --automake-acdir=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/share/aclocal-1.15" autoreconf --verb ose --install --force --exclude=autopoint -I /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/mesa-17.1.7/m4/ -I /home/gizero/work/ smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/share/aclocal/ | autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal --system-acdir=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot/usr/share/aclocal/ -- automake-acdir=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/share/aclocal-1.15 -I /home/gizero/work/s martliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/mesa-17.1.7/m4/ -I /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-ne on-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/share/aclocal/ --force -I m4 | autoreconf: configure.ac: tracing | autoreconf: running: libtoolize --copy --force | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'bin'. | libtoolize: copying file 'bin/ltmain.sh' | libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. | libtoolize: copying file 'm4/libtool.m4' | libtoolize: copying file 'm4/ltoptions.m4' | libtoolize: copying file 'm4/ltsugar.m4' | libtoolize: copying file 'm4/ltversion.m4' | libtoolize: copying file 'm4/lt~obsolete.m4' | autoreconf: running: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/bin/autoconf --include=[237/7834] ro/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/mesa-17.1.7/m4/ --include=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/wo rk/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/share/aclocal/ --force | autoreconf: configure.ac: not using Autoheader | autoreconf: running: automake --add-missing --copy --force-missing | configure.ac:61: installing 'bin/compile' | configure.ac:46: installing 'bin/missing' | src/Makefile.am: installing 'bin/depcomp' | autoreconf: running: gnu-configize | autoreconf: Leaving directory `.' | NOTE: Running ../mesa-17.1.7/configure --build=x86_64-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr - -bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --l ocalstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv 4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot --enable-shared-glapi --disable-opencl --with-llvm-prefix=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/wo rk/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot/usr/lib/llvm5.0 --with-platforms='x11 drm' --disable-static --enable-dri --with-dri-drivers=swrast - -disable-dri3 --disable-egl --without-gallium-drivers --disable-llvm --enable-gbm --disable-gles1 --disable-gles2 --disable-opengl --disable-osmesa --disable-libunwind --without-vulkan-drivers --enable-glx- tls --disable-xa --disable-xvmc --enable-nls | configure: WARNING: unrecognized options: --enable-nls | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/site/endian-little | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/site/arm-common | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/site/arm-32 | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/site/common-linux | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/site/common-glibc | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/site/arm-linux | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/site/common | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/meta-openembedded/meta-oe/site/endian-little | configure: loading site script /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot/usr/share/arm-poky-linux-gnueabi_c onfig_site.d/glibc_config | checking build system type... x86_64-pc-linux-gnu | checking host system type... arm-poky-linux-gnueabi | checking target system type... arm-poky-linux-gnueabi | checking for a BSD-compatible install... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/hosttools/install -c | checking whether build environment is sane... yes | checking for arm-poky-linux-gnueabi-strip... arm-poky-linux-gnueabi-strip | checking for a thread-safe mkdir -p... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/hosttools/mkdir -p | checking for gawk... gawk | checking whether make sets $(MAKE)... yes | checking whether make supports nested variables... yes | checking whether UID '1000' is supported by ustar format... yes | checking whether GID '1000' is supported by ustar format... yes | checking how to create a ustar tar archive... gnutar | checking whether make supports nested variables... (cached) yes | checking for style of include used by make... GNU | checking for arm-poky-linux-gnueabi-gcc... arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-po ky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot | checking whether the C compiler works... yes | checking for C compiler default output file name... a.out | checking for suffix of executables... | checking whether we are cross compiling... yes | checking for suffix of object files... o | checking whether we are using the GNU C compiler... yes | checking whether arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot accepts -g... yes [184/7834] | checking for arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vf pv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot option to accept ISO C89... none needed | checking whether arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot understands -c and -o together... yes | checking dependency style of arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/co rtexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot... none | checking for arm-poky-linux-gnueabi-ar... arm-poky-linux-gnueabi-ar | checking the archiver (arm-poky-linux-gnueabi-ar) interface... ar | checking how to run the C preprocessor... arm-poky-linux-gnueabi-gcc -E --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r 0/recipe-sysroot -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 | checking for arm-poky-linux-gnueabi-gcc... (cached) arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master /build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot | checking whether we are using the GNU C compiler... (cached) yes | checking whether arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot accepts -g... (cached) yes | checking for arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vf pv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot option to accept ISO C89... (cached) none needed | checking whether arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot understands -c and -o together... (cached) yes | checking dependency style of arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/co rtexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot... (cached) none | checking whether we are using the GNU C++ compiler... yes | checking whether arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot accepts -g... yes | checking dependency style of arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/co rtexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot... none | checking dependency style of arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/co rtexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot... none | checking for GNU make... make | checking for python2.7... python2.7 | checking for a sed that does not truncate output... (cached) sed | checking for special C compiler options needed for large files... no | checking for _FILE_OFFSET_BITS value needed for large files... 64 | checking how to print strings... printf | checking for a sed that does not truncate output... (cached) sed | checking for grep that handles long lines and -e... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/hosttools/grep | checking for egrep... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/hosttools/grep -E | checking for fgrep... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/hosttools/grep -F | checking for ld used by arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa 7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot... arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gn ueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot | checking if the linker (arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot ) is GNU ld... yes | checking for BSD- or MS-compatible name lister (nm)... arm-poky-linux-gnueabi-nm | checking the name lister (arm-poky-linux-gnueabi-nm) interface... BSD nm | checking whether ln -s works... yes | checking the maximum length of command line arguments... 1572864 | checking how to convert x86_64-pc-linux-gnu file names to arm-poky-linux-gnueabi format... func_convert_file_noop | checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop | checking for arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot option to reloa d object files... -r | checking for arm-poky-linux-gnueabi-objdump... arm-poky-linux-gnueabi-objdump | checking how to recognize dependent libraries... pass_all [131/7834] | checking for arm-poky-linux-gnueabi-dlltool... no | checking for dlltool... no | checking how to associate runtime and link libraries... printf %s\n | checking for arm-poky-linux-gnueabi-ar... (cached) arm-poky-linux-gnueabi-ar | checking for archiver @FILE support... @ | checking for arm-poky-linux-gnueabi-strip... (cached) arm-poky-linux-gnueabi-strip | checking for arm-poky-linux-gnueabi-ranlib... arm-poky-linux-gnueabi-ranlib | checking command to parse arm-poky-linux-gnueabi-nm output from arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro /repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot object... ok | checking for sysroot... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot | checking for a working dd... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/hosttools/dd | checking how to truncate binary pipes... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/hosttools/dd bs=4096 count=1 | checking for arm-poky-linux-gnueabi-mt... no | checking for mt... no | checking if : is a manifest tool... no | checking for ANSI C header files... (cached) yes | checking for sys/types.h... (cached) yes | checking for sys/stat.h... (cached) yes | checking for stdlib.h... (cached) yes | checking for string.h... (cached) yes | checking for memory.h... (cached) yes | checking for strings.h... (cached) yes | checking for inttypes.h... (cached) yes | checking for stdint.h... (cached) yes | checking for unistd.h... (cached) yes | checking for dlfcn.h... (cached) yes | checking for objdir... .libs | checking if arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -fno-rtti -fno-exceptions... no | checking for arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vf pv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot option to produce PIC... -fPIC -DPIC | checking if arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot PIC flag -fPIC -DPIC works... yes | checking if arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot static flag -static works... yes | checking if arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -c -o file.o... yes | checking if arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -c -o file.o... (cached) yes | checking whether the arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf -neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot linker (arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux- gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot ) supports shared libraries... yes | checking whether -lc should be explicitly linked in... no | checking dynamic linker characteristics... GNU/Linux ld.so | checking how to hardcode library paths into programs... immediate | checking whether stripping libraries is possible... yes | checking if libtool supports shared libraries... yes | checking whether to build shared libraries... yes | checking whether to build static libraries... no | checking how to run the C++ preprocessor... arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-p oky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot -E | checking for ld used by arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa 7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot... arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky[78/7834] ueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot | checking if the linker (arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot ) is GNU ld... yes | checking whether the arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf -neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot linker (arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux- gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot ) supports shared libraries... yes | checking for arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vf pv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot option to produce PIC... -fPIC -DPIC | checking if arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot PIC flag -fPIC -DPIC works... yes | checking if arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot static flag -static works... yes | checking if arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -c -o file.o... yes | checking if arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfp v4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -c -o file.o... (cached) yes | checking whether the arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf -neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot linker (arm-poky-linux-gnueabi-ld --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux- gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot ) supports shared libraries... yes | checking dynamic linker characteristics... (cached) GNU/Linux ld.so | checking how to hardcode library paths into programs... immediate | checking for rm... rm -f | checking for bison... bison -y | checking if bison is the parser generator... yes | checking for flex... flex | checking lex output file root... lex.yy | checking lex library... none needed | checking whether yytext is a pointer... no | checking if flex is the lexer generator... yes | checking for indent... cat | checking if module mako in python is installed... No module named mako | no | checking if compiling with clang... no | checking whether gcc version is sufficient... yes | checking whether __SUNPRO_C is declared... no | checking for __builtin_bswap32... yes | checking for __builtin_bswap64... yes | checking for __builtin_clz... yes | checking for __builtin_clzll... yes | checking for __builtin_ctz... yes | checking for __builtin_expect... yes | checking for __builtin_ffs... yes | checking for __builtin_ffsll... yes | checking for __builtin_popcount... yes | checking for __builtin_popcountll... yes | checking for __builtin_unreachable... yes | checking for __attribute__((const))... yes | checking for __attribute__((flatten))... yes | checking for __attribute__((format))... yes | checking for __attribute__((malloc))... yes | checking for __attribute__((packed))... yes | checking for __attribute__((pure))... yes | checking for __attribute__((returns_nonnull))... yes [25/7834] | checking for __attribute__((unused))... yes | checking for __attribute__((visibility))... yes | checking for __attribute__((warn_unused_result))... yes | checking for __attribute__((weak))... yes | checking for __attribute__((alias))... yes | checking for arm-poky-linux-gnueabi-pkg-config... no | checking for pkg-config... /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/bin/pkg-config | configure: WARNING: using cross tools not prefixed with host triplet | checking pkg-config is at least version 0.9.0... yes | checking whether arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -Werror=missing-prototypes... yes | checking whether arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -fvisibility=hidden... yes | checking whether arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -Werror=vla... yes | checking whether arm-poky-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neo n-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot supports -fvisibility=hidden... yes | checking whether __sync_add_and_fetch_8 is supported... yes | checking whether byte ordering is bigendian... (cached) no | checking whether gcc supports -mpower8-vector... no | checking if ld supports -Bsymbolic... yes | checking whether ld supports --gc-sections... yes | checking if the linker supports version-scripts... yes | checking if the linker supports --dynamic-list... yes | checking whether to enable assembly... no, platform not supported | checking for sys/types.h... (cached) yes | checking sys/mkdev.h usability... no | checking sys/mkdev.h presence... no | checking for sys/mkdev.h... no | checking for sys/sysmacros.h... (cached) yes | checking xlocale.h usability... no | checking xlocale.h presence... no | checking for xlocale.h... no | checking for sys/sysctl.h... (cached) yes | checking for strtof... yes | checking for mkostemp... yes | checking for dlopen... no | checking for dlopen in -ldl... yes | checking for dladdr... yes | checking for dl_iterate_phdr... yes | checking for clock_gettime... yes | checking for posix_memalign... (cached) yes | checking for zlib >= 1.2.3... yes | checking for the pthreads library -lpthreads... no | checking whether pthreads work without any flags... no | checking whether pthreads work with -Kthread... no | checking whether pthreads work with -kthread... no | checking for the pthreads library -llthread... no | checking whether pthreads work with -pthread... yes | checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE | checking if more special flags are required for pthreads... no | checking for PTHREAD_PRIO_INHERIT... yes | checking for libelf... no | checking for elf_memory in -lelf... no | ../mesa-17.1.7/configure: line 22300: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/bin/llvm-config5 .0: No such file or directory | ../mesa-17.1.7/configure: line 22283: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/bin/llvm-config5 .0: No such file or directory | ../mesa-17.1.7/configure: line 22302: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/bin/llvm-config5 .0: No such file or directory | ../mesa-17.1.7/configure: line 22303: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/recipe-sysroot-native/usr/bin/llvm-config5 .0: No such file or directory | configure: error: GLX cannot be built without OpenGL | NOTE: The following config.log files may provide further information. | NOTE: /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/config.log | ERROR: configure failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /home/gizero/work/smartliving/distro/repo-master/build-poky/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/temp/log.do_configu re.1391) ERROR: Task (/home/gizero/work/smartliving/distro/repo-master/build-poky/conf/../../layers/poky/meta/recipes-graphics/mesa/mesa-gl_17.1.7.bb:do_configure) failed with exit code '1' This doesn't seem to be related to the bbappend for mesa-gl that is present in meta-raspberrypi, which merely appends "gbm" to PACKAGECONFIG for rpi machines (bitbake still complains with this removed). Instead, reverting this commit takes the build back to green light.
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
