After e5f895485e03ac60efcb3f6f83ec1d3e33ef7ec2 i can&#39;t build mesa-git in OBS.<br><br>%configure --prefix=/usr \<br>--with-gallium-drivers=r300,r600,nouveau,swrast \<br>--enable-gbm --enable-gallium-gbm --enable-gallium-egl --enable-shared-glapi \<br>
--enable-texture-float  --enable-openvg \<br>--enable-gles1 \<br>--enable-gles2 \<br>--with-egl-platforms=x11,wayland,drm<br><br><br>CC eglsurface.lo<br>/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\&quot;Mesa\&quot; -DPACKAGE_TARNAME=\&quot;mesa\&quot; -DPACKAGE_VERSION=\&quot;8.0.0\&quot; -DPACKAGE_STRING=\&quot;Mesa\ 8.0.0\&quot; -DPACKAGE_BUGREPORT=\&quot;<a href="https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\">https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\</a>&quot; -DPACKAGE_URL=\&quot;\&quot; -DPACKAGE=\&quot;mesa\&quot; -DVERSION=\&quot;8.0.0\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\&quot;.libs/\&quot; -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DHAVE_LIBXCB_DRI2=1 -I. -I../../../include -I../../../src/gbm/main -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -D__STDC_CONSTANT_MACROS -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11 -D_EGL_DRIVER_SEARCH_DIR=\&quot;/usr/lib/egl\&quot; -D_EGL_OS_UNIX=1 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -D_EGL_BUILT_IN_DRIVER_GLX -D_EGL_BUILT_IN_DRIVER_DRI2 -DHAVE_XCB_DRI2 -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c -o eglsurface.lo eglsurface.c<br>
CC eglsync.lo<br>/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\&quot;Mesa\&quot; -DPACKAGE_TARNAME=\&quot;mesa\&quot; -DPACKAGE_VERSION=\&quot;8.0.0\&quot; -DPACKAGE_STRING=\&quot;Mesa\ 8.0.0\&quot; -DPACKAGE_BUGREPORT=\&quot;<a href="https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\">https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\</a>&quot; -DPACKAGE_URL=\&quot;\&quot; -DPACKAGE=\&quot;mesa\&quot; -DVERSION=\&quot;8.0.0\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\&quot;.libs/\&quot; -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DHAVE_LIBXCB_DRI2=1 -I. -I../../../include -I../../../src/gbm/main -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -D__STDC_CONSTANT_MACROS -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11 -D_EGL_DRIVER_SEARCH_DIR=\&quot;/usr/lib/egl\&quot; -D_EGL_OS_UNIX=1 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -D_EGL_BUILT_IN_DRIVER_GLX -D_EGL_BUILT_IN_DRIVER_DRI2 -DHAVE_XCB_DRI2 -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c -o eglsync.lo eglsync.c<br>
CCLD libEGL.la<br>/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: cannot find -lglapi<br>collect2: ld returned 1 exit status<br>gmake[3]: *** [libEGL.la] Error 1<br>gmake[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/mesa/src/egl/main&#39;<br>
gmake[2]: *** [subdirs] Error 1<br>gmake[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/mesa/src/egl&#39;<br>make[1]: *** [subdirs] Error 1<br>make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/mesa/src&#39;<br>make: *** [default] Error 1<br>
error: Bad exit status from /var/tmp/rpm-tmp.ym9bp7 (%build)