Opened 5 weeks ago

Last modified 5 weeks ago

#62443 assigned defect

Cannot 'make check' in mesa @19.0.8 on Big Sur, macOS 11.2.2

Reported by: ballapete (Peter Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: mesa

Description

Making check in tests
/Applications/Xcode.app/Contents/Developer/usr/bin/make  glx-test
depbase=`echo clientinfo_unittest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	/usr/bin/clang++ -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"19.0.8\" -DPACKAGE_STRING=\"Mesa\ 19.0.8\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"19.0.8\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -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_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DHAVE_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -I.  -I../../../src/gtest/include -I../../../src -I../../../src/mapi -I../../../src/mesa -I../../../src/glx -I../../../src/glx -I../../../include -I../../../include/GL/internal -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE   -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk  -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -Wall -fno-math-errno -fno-trapping-math -Wno-missing-field-initializers -Qunused-arguments  -MT clientinfo_unittest.o -MD -MP -MF $depbase.Tpo -c -o clientinfo_unittest.o clientinfo_unittest.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from clientinfo_unittest.cpp:26:
../../../src/glx/glxclient.h:40:10: fatal error: 'X11/Xproto.h' file not found
#include <X11/Xproto.h>
         ^~~~~~~~~~~~~~
1 error generated.

plus a few more… Cause seems to be a missing definition:

mesa-19.0.8/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/nouveau/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/common/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/r200/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/i965/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/radeon/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/i915/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/dri/swrast/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/osmesa/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/drivers/x11/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/state_tracker/tests/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mesa/main/tests/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/intel/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mapi/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/mapi/glapi/gen/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/util/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/util/tests/fast_idiv_by_const/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/util/tests/string_buffer/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/util/tests/hash_table/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/util/tests/set/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/util/tests/vma/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/util/xmlpool/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/broadcom/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/freedreno/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/amd/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/amd/vulkan/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/egl/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/egl/wayland/wayland-drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gbm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gtest/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/loader/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/vulkan/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/vc4/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/llvmpipe/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/etnaviv/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/virgl/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/radeonsi/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/r300/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/freedreno/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/tegra/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/nouveau/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/r600/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/svga/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/kmsro/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/v3d/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/i915/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/softpipe/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/drivers/swr/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/va/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/pipe-loader/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/xvmc/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/xa/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/vdpau/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/d3dadapter9/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/dri/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/opencl/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/omx/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/osmesa/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/targets/libgl-xlib/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/tests/unit/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/tests/trivial/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/va/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/clover/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/nine/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/xvmc/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/xa/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/vdpau/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/dri/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/omx/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/omx/tizonia/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/omx/bellagio/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/osmesa/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/state_trackers/glx/xlib/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/vc4/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/sw/wrapper/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/sw/kms-dri/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/sw/dri/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/sw/null/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/sw/xlib/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/sw/xlib/Makefile:	$(X11_INCLUDES)
mesa-19.0.8/src/gallium/winsys/etnaviv/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/virgl/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/virgl/vtest/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/freedreno/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/tegra/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/nouveau/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/svga/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/kmsro/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/amdgpu/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/v3d/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/radeon/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/winsys/i915/drm/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/auxiliary/pipe-loader/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/gallium/auxiliary/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/compiler/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/glx/apple/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/glx/apple/Makefile:	$(X11_INCLUDES)
mesa-19.0.8/src/glx/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/glx/tests/Makefile:X11_INCLUDES =  
mesa-19.0.8/src/glx/windows/Makefile:X11_INCLUDES =  

Change History (2)

comment:1 Changed 5 weeks ago by ballapete (Peter Dyballa)

Setting

X11_INCLUDES = -I/opt/local/include

in mesa-19.0.8/src/glx/tests/Makefile allows make check to finish.

comment:2 Changed 5 weeks ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Owner: set to jeremyhu
Status: newassigned
Note: See TracTickets for help on using tickets.