Bug 12799

Summary: Occasional mesa build race
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 2.6   
Target Milestone: 2.6 M2   
Hardware: x86   
OS: Multiple   
URL: https://autobuilder.yocto.io/builders/nightly-arm-lsb/builds/1081/steps/BuildImages_1/logs/stdio
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know

Description Armin Kuster 2018-06-20 05:18:46 UTC
../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c:1194:44: note: each undeclared identifier is reported only once for each function it appears in
| arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-gcc -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"18.1.2\" "-DPACKAGE_STRING=\"Mesa 18.1.2\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"18.1.2\" -D_FILE_OFFSET_BITS=64 -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=\".libs/\" -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DHAVE_SYS_TYPES_H=1 -DMAJOR_IN_SYSMACROS=1 -DHAVE_ENDIAN_H=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -I. -I../../../mesa-18.1.2/src/egl -I../../../mesa-18.1.2/include -I../../../mesa-18.1.2/src/mapi -I../../../mesa-18.1.2/src/egl/main -I../../../mesa-18.1.2/src/gbm/main -I../../../mesa-18.1.2/src -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DUSE_ARM_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_X11_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DENABLE_SHADER_CACHE -DHAVE_MINCORE -fvisibility=hidden -I/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot/usr/include/libdrm -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_WAYLAND -I../../../mesa-18.1.2/src/loader -I../../src/egl/drivers/dri2 -I../../../mesa-18.1.2/src/egl/drivers/dri2 -I../../../mesa-18.1.2/src/gbm/backends/dri -I../../../mesa-18.1.2/src/egl/wayland/wayland-egl -I../../src/egl/wayland/wayland-drm -I../../../mesa-18.1.2/src/egl/wayland/wayland-drm -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" -D_EGL_BUILT_IN_DRIVER_DRI2 -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0=/usr/src/debug/mesa/2_18.1.2-r0 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot-native= -fno-omit-frame-pointer -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99 -c drivers/dri2/linux-dmabuf-unstable-v1-protocol.c  -fPIC -DPIC -o drivers/dri2/.libs/linux-dmabuf-unstable-v1-protocol.o
| arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-gcc -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"18.1.2\" "-DPACKAGE_STRING=\"Mesa 18.1.2\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"18.1.2\" -D_FILE_OFFSET_BITS=64 -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=\".libs/\" -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DHAVE_SYS_TYPES_H=1 -DMAJOR_IN_SYSMACROS=1 -DHAVE_ENDIAN_H=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -I. -I../../../mesa-18.1.2/src/egl -I../../../mesa-18.1.2/include -I../../../mesa-18.1.2/src/mapi -I../../../mesa-18.1.2/src/egl/main -I../../../mesa-18.1.2/src/gbm/main -I../../../mesa-18.1.2/src -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DUSE_ARM_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_X11_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DENABLE_SHADER_CACHE -DHAVE_MINCORE -fvisibility=hidden -I/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot/usr/include/libdrm -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_WAYLAND -I../../../mesa-18.1.2/src/loader -I../../src/egl/drivers/dri2 -I../../../mesa-18.1.2/src/egl/drivers/dri2 -I../../../mesa-18.1.2/src/gbm/backends/dri -I../../../mesa-18.1.2/src/egl/wayland/wayland-egl -I../../src/egl/wayland/wayland-drm -I../../../mesa-18.1.2/src/egl/wayland/wayland-drm -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" -D_EGL_BUILT_IN_DRIVER_DRI2 -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0=/usr/src/debug/mesa/2_18.1.2-r0 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/mesa/2_18.1.2-r0/recipe-sysroot-native= -fno-omit-frame-pointer -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99 -c ../../../mesa-18.1.2/src/egl/drivers/dri2/egl_dri2.c  -fPIC -DPIC -o drivers/dri2/.libs/egl_dri2.o
| ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c:1196:7: error: implicit declaration of function 'zwp_linux_dmabuf_v1_add_listener'; did you mean 'wl_buffer_add_listener'? [-Werror=implicit-function-declaration]
|        zwp_linux_dmabuf_v1_add_listener(dri2_dpy->wl_dmabuf, &dmabuf_listener,
|        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|        wl_buffer_add_listener
| ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c: In function 'dri2_teardown_wayland':
| ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c:2043:7: error: implicit declaration of function 'zwp_linux_dmabuf_v1_destroy'; did you mean 'wl_buffer_destroy'? [-Werror=implicit-function-declaration]
|        zwp_linux_dmabuf_v1_destroy(dri2_dpy->wl_dmabuf);
|        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|        wl_buffer_destroy
| ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c: At top level:
| ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c:1176:50: error: storage size of 'dmabuf_listener' isn't known
|  static const struct zwp_linux_dmabuf_v1_listener dmabuf_listener = {
|                                                   ^~~~~~~~~~~~~~~
| cc1: some warnings being treated as errors
| Makefile:1161: recipe for target 'drivers/dri2/platform_wayland.lo' failed
Comment 1 Ross Burton 2018-07-19 14:47:38 UTC
Duplicate

*** This bug has been marked as a duplicate of bug 12828 ***