[MacPorts] #61815: mesa @17.1.6_2 cannot 'make check' on macOS High Sierra, Version 10.13.6, because X11/Xproto.h cannot be found

MacPorts noreply at macports.org
Sat Dec 12 16:14:40 UTC 2020


#61815: mesa @17.1.6_2 cannot 'make check' on macOS High Sierra, Version 10.13.6,
because X11/Xproto.h cannot be found
------------------------+--------------------
 Reporter:  ballapete   |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:  highsierra  |       Port:  mesa
------------------------+--------------------
 The C header file exists here:

 {{{
 -rw-r--r-- 1 root wheel 56744 2010-12-15 20:47
 /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/X11/Xproto.h
 -rw-r--r-- 1 root wheel 56959 2016-10-26 10:50
 /opt/X11/include/X11/Xproto.h
 -rw-r--r-- 1 root admin 52399 2020-04-28 22:57
 /opt/local/include/X11/Xproto.h
 }}}

 but `/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-
 recursive` complaints:

 {{{
 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=\"17.1.6\"
 -DPACKAGE_STRING=\"Mesa\ 17.1.6\"
 -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
 -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.6\"
 -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/\" -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_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1
 -DHAVE_VALGRIND=1 -I.  -I../../../src/gtest/include -I../../../src
 -I../../../src/mapi -I../../../src/mesa -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_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN
 -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
 -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE
 -DHAVE_LLVM=0x0900 -DMESA_LLVM_VERSION_PATCH=1     -pipe -Os
 -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math
 -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.
 make[5]: *** [clientinfo_unittest.o] Error 1
 depbase=`echo create_context_unittest.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/clang++ -DPACKAGE_NAME=\"Mesa\"
 -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.6\"
 -DPACKAGE_STRING=\"Mesa\ 17.1.6\"
 -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
 -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.6\"
 -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/\" -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_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1
 -DHAVE_VALGRIND=1 -I.  -I../../../src/gtest/include -I../../../src
 -I../../../src/mapi -I../../../src/mesa -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_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN
 -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
 -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE
 -DHAVE_LLVM=0x0900 -DMESA_LLVM_VERSION_PATCH=1     -pipe -Os
 -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math
 -Qunused-arguments  -MT create_context_unittest.o -MD -MP -MF $depbase.Tpo
 -c -o create_context_unittest.o create_context_unittest.cpp &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from create_context_unittest.cpp:26:
 ../../../src/glx/glxclient.h:40:10: fatal error: 'X11/Xproto.h' file not
 found
 #include <X11/Xproto.h>
          ^~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [create_context_unittest.o] Error 1
 depbase=`echo enum_sizes.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/clang++ -DPACKAGE_NAME=\"Mesa\"
 -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.6\"
 -DPACKAGE_STRING=\"Mesa\ 17.1.6\"
 -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
 -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.6\"
 -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/\" -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_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1
 -DHAVE_VALGRIND=1 -I.  -I../../../src/gtest/include -I../../../src
 -I../../../src/mapi -I../../../src/mesa -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_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN
 -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
 -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE
 -DHAVE_LLVM=0x0900 -DMESA_LLVM_VERSION_PATCH=1     -pipe -Os
 -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math
 -Qunused-arguments  -MT enum_sizes.o -MD -MP -MF $depbase.Tpo -c -o
 enum_sizes.o enum_sizes.cpp &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from enum_sizes.cpp:39:
 ./../indirect_size.h:39:10: fatal error: 'X11/Xfuncproto.h' file not found
 #include <X11/Xfuncproto.h>
          ^~~~~~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [enum_sizes.o] Error 1
 depbase=`echo fake_glx_screen.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/clang++ -DPACKAGE_NAME=\"Mesa\"
 -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.6\"
 -DPACKAGE_STRING=\"Mesa\ 17.1.6\"
 -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
 -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.6\"
 -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/\" -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_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1
 -DHAVE_VALGRIND=1 -I.  -I../../../src/gtest/include -I../../../src
 -I../../../src/mapi -I../../../src/mesa -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_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN
 -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
 -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE
 -DHAVE_LLVM=0x0900 -DMESA_LLVM_VERSION_PATCH=1     -pipe -Os
 -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math
 -Qunused-arguments  -MT fake_glx_screen.o -MD -MP -MF $depbase.Tpo -c -o
 fake_glx_screen.o fake_glx_screen.cpp &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from fake_glx_screen.cpp:23:
 In file included from ./fake_glx_screen.h:23:
 ../../../src/glx/glxclient.h:40:10: fatal error: 'X11/Xproto.h' file not
 found
 #include <X11/Xproto.h>
          ^~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [fake_glx_screen.o] Error 1
 depbase=`echo indirect_api.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/clang++ -DPACKAGE_NAME=\"Mesa\"
 -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.6\"
 -DPACKAGE_STRING=\"Mesa\ 17.1.6\"
 -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
 -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.6\"
 -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/\" -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_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1
 -DHAVE_VALGRIND=1 -I.  -I../../../src/gtest/include -I../../../src
 -I../../../src/mapi -I../../../src/mesa -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_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN
 -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
 -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE
 -DHAVE_LLVM=0x0900 -DMESA_LLVM_VERSION_PATCH=1     -pipe -Os
 -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math
 -Qunused-arguments  -MT indirect_api.o -MD -MP -MF $depbase.Tpo -c -o
 indirect_api.o indirect_api.cpp &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from indirect_api.cpp:48:
 In file included from ./../indirect_init.h:37:
 ../../../src/glx/glxclient.h:40:10: fatal error: 'X11/Xproto.h' file not
 found
 #include <X11/Xproto.h>
          ^~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [indirect_api.o] Error 1
 depbase=`echo query_renderer_unittest.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/clang++ -DPACKAGE_NAME=\"Mesa\"
 -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.6\"
 -DPACKAGE_STRING=\"Mesa\ 17.1.6\"
 -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
 -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.6\"
 -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/\" -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_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1
 -DHAVE_VALGRIND=1 -I.  -I../../../src/gtest/include -I../../../src
 -I../../../src/mapi -I../../../src/mesa -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_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN
 -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
 -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE
 -DHAVE_LLVM=0x0900 -DMESA_LLVM_VERSION_PATCH=1     -pipe -Os
 -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math
 -Qunused-arguments  -MT query_renderer_unittest.o -MD -MP -MF $depbase.Tpo
 -c -o query_renderer_unittest.o query_renderer_unittest.cpp &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from query_renderer_unittest.cpp:27:
 ../../../src/glx/glxclient.h:40:10: fatal error: 'X11/Xproto.h' file not
 found
 #include <X11/Xproto.h>
          ^~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [query_renderer_unittest.o] Error 1
 make[5]: Target `glx-test' not remade because of errors.
 make[4]: *** [check-am] Error 2
 make[4]: Target `check' not remade because of errors.
 make[3]: *** [check-recursive] Error 1
 make[3]: Target `check' not remade because of errors.
 make[2]: *** [check-recursive] Error 1
 make[1]: *** [check] Error 2
 make[1]: Nothing to be done for `check-am'.
 make: *** [check-recursive] Error 1
 make: Target `check' not remade because of errors.

 Compilation exited abnormally with code 2 at Sat Dec 12 16:49:51
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61815>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list