Date: Wed, 21 Jul 2021 06:29:18 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 257305] graphics/mesa-libs: fails to build on freebsd 11.4 (amd64) Message-ID: <bug-257305-7141-UBy7uS0FWW@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257305-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-257305-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org> for maintainer-feedback: Bug 257305: graphics/mesa-libs: fails to build on freebsd 11.4 (amd64) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257305 --- Description --- pouidere build fails to build graphics/mesa-libs for my freebsd 11.4 platfo= rm build it also fails when trying to build it on command line Message: Configuration summary: prefix: /usr/local libdir: lib includedir: include OpenGL: yes (ES1: yes ES2: yes) OSMesa: no DRI platform: drm DRI drivers: r100 DRI driver dir: /usr/local/lib/dri GLX: DRI-based EGL: yes EGL drivers: builtin:egl_dri2 builtin:egl_dri3 GBM: yes EGL/Vulkan/VL platforms: x11 surfaceless drm Vulkan drivers: no llvm: yes llvm-version: 12.0.1 Gallium: no HUD lmsensors: no Shared-glapi: yes Build targets in project: 91 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.2 at /usr/local/bin/ninja =3D=3D=3D> Building for mesa-libs-21.1.5 <.....> [ 2% 23/774] cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinc= lude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/me= sa -I../src/gallium/include -I../src/gallium/auxiliary -I/usr/local/include -fvisibility=3Dhidden -fno-color-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS= =3D64 -Wall -Winvalid-pch -std=3Dc99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION=3D"21.1.5"' '-DPACKAGE_BUGREPORT=3D"https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DENABLE_ST_OMX_BELLAGIO=3D0 -DENABLE_ST_OMX_TIZONIA=3D0 -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DETIME=3DETIMEDOUT -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT= 128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_PTHREAD_NP_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_F= LOCK -DHAVE_STRTOK_R -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRES= SION -DHAVE_PTHREAD -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING=3D"12.0.1"' -DLLVM_IS_SHARED=3D1 -DDRAW_LLVM_AV= AILABLE -DUSE_LIBGLVND=3D1 -DHAVE_LIBUNWIND -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes -Werror=3Dreturn-type -Werror=3Dempty-body -Werror=3Dincompatible-pointer-t= ypes -Werror=3Dint-conversion -Wimplicit-fallthrough -Wno-missing-field-initiali= zers -fno-math-errno -fno-trapping-math -Qunused-arguments -fno-common -Werror=3Dformat -Wformat-security -Wno-microsoft-enum-value -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -Werror=3Dpointer-arith -Werror=3Dgnu-empty-initializer -MD -MQ src/util/libmesa_util.a.p/build_id.c.o -MF src/util/libmesa_util.a.p/build_id.c.o.d -o src/util/libmesa_util.a.p/build_id.c.o -c ../src/util/build_id.c FAILED: src/util/libmesa_util.a.p/build_id.c.o=20 cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../incl= ude -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -I../src/gallium/auxiliary -I/usr/local/include -fvisibility=3Dhidden -fno-color-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS= =3D64 -Wall -Winvalid-pch -std=3Dc99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION=3D"21.1.5"' '-DPACKAGE_BUGREPORT=3D"https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DENABLE_ST_OMX_BELLAGIO=3D0 -DENABLE_ST_OMX_TIZONIA=3D0 -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DETIME=3DETIMEDOUT -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT= 128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_PTHREAD_NP_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_F= LOCK -DHAVE_STRTOK_R -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRES= SION -DHAVE_PTHREAD -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING=3D"12.0.1"' -DLLVM_IS_SHARED=3D1 -DDRAW_LLVM_AV= AILABLE -DUSE_LIBGLVND=3D1 -DHAVE_LIBUNWIND -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes -Werror=3Dreturn-type -Werror=3Dempty-body -Werror=3Dincompatible-pointer-t= ypes -Werror=3Dint-conversion -Wimplicit-fallthrough -Wno-missing-field-initiali= zers -fno-math-errno -fno-trapping-math -Qunused-arguments -fno-common -Werror=3Dformat -Wformat-security -Wno-microsoft-enum-value -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -Werror=3Dpointer-arith -Werror=3Dgnu-empty-initializer -MD -MQ src/util/libmesa_util.a.p/build_id.c.o -MF src/util/libmesa_util.a.p/build_id.c.o.d -o src/util/libmesa_util.a.p/build_id.c.o -c ../src/util/build_id.c ../src/util/build_id.c:42:4: error: unknown type name 'Elf_Nhdr' ElfW(Nhdr) nhdr; ^ ../src/util/build_id.c:38:20: note: expanded from macro 'ElfW' #define ElfW(type) Elf_##type ^ <scratch space>:108:1: note: expanded from here Elf_Nhdr ^ ../src/util/build_id.c:91:33: error: use of undeclared identifier 'Elf_Nhdr' size_t offset =3D sizeof(ElfW(Nhdr)) + ^ ../src/util/build_id.c:38:20: note: expanded from macro 'ElfW' #define ElfW(type) Elf_##type ^ <scratch space>:109:1: note: expanded from here Elf_Nhdr ^ 2 errors generated. ninja: build stopped: subcommand failed. =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/mesa-libs *** Error code 1 Stop. make: stopped in /usr/ports/graphics/mesa-libs please advice, thank you
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257305-7141-UBy7uS0FWW>