Opened 4 years ago
Closed 2 years ago
#61815 closed defect (fixed)
mesa @17.1.6_2 cannot 'make check' on macOS High Sierra, Version 10.13.6, because X11/Xproto.h cannot be found
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | highsierra | Cc: | |
Port: | mesa |
Description
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
Change History (4)
comment:1 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
comment:2 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
These are followed by:
../../../include/GL/glxproto.h:34:10: fatal error: 'GL/glxmd.h' file not found clientinfo_unittest.cpp:28:10: fatal error: 'xcb/glx.h' file not found ../../../src/glx/glx_error.h:32:10: fatal error: 'xcb/xcb.h' file not found
My solution was manually performing
ln -s /opt/local/include/X11 include ln -s /opt/local/include/GL include ln -s /opt/local/include/GL/glxproto.h include/GL ln -s /opt/local/include/GL/glxmd.h include/GL ln -s /opt/local/include/xcb include
in $work/mesa-17.1.6. In the end make
ran into this failure:
/bin/sh ../../../libtool --tag=CXX --mode=link /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math -Qunused-arguments -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o glx-test clientinfo_unittest.o create_context_unittest.o enum_sizes.o fake_glx_screen.o indirect_api.o query_renderer_unittest.o ../../../src/glx/libglx.la ../../../src/gtest/libgtest.la ../../../src/mapi/shared-glapi/libglapi.la -lpthread -pthread libtool: link: /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -Wall -fno-math-errno -fno-trapping-math -Qunused-arguments -Wl,-headerpad_max_install_names -arch x86_64 -o .libs/glx-test clientinfo_unittest.o create_context_unittest.o enum_sizes.o fake_glx_screen.o indirect_api.o query_renderer_unittest.o -pthread -Wl,-bind_at_load -L/opt/local/lib ../../../src/glx/.libs/libglx.a -lexpat -lm -lXplugin -lz ../../../src/gtest/.libs/libgtest.a ../../../src/mapi/shared-glapi/.libs/libglapi.dylib -lpthread -framework CoreFoundation -framework ApplicationServices -pthread ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/ApplicationServices are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync.tbd and library file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices are out of sync. Falling back to library file for linking. ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking. Undefined symbols for architecture x86_64: "_XCreateGC", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XCreatePixmap", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) _apple_glx_pbuffer_create in libglx.a(apple_glx_pbuffer.o) "_XDrawString16", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XESetCloseDisplay", referenced from: ___glXInitialize in libglx.a(glxext.o) "_XESetErrorString", referenced from: ___glXInitialize in libglx.a(glxext.o) "_XESetEventToWire", referenced from: ___glXInitialize in libglx.a(glxext.o) "_XESetWireToEvent", referenced from: ___glXInitialize in libglx.a(glxext.o) "_XFillRectangle", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XFlush", referenced from: ___indirect_glFlush in libglx.a(single2.o) "_XFreeFontInfo", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XFreeGC", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XFreePixmap", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) _pbuffer_destroy in libglx.a(apple_glx_pbuffer.o) "_XGetErrorDatabaseText", referenced from: ___glXErrorString in libglx.a(glxext.o) "_XGetGeometry", referenced from: _apple_glx_garbage_collect_drawables in libglx.a(apple_glx_drawable.o) _surface_make_current in libglx.a(apple_glx_surface.o) _glXQueryDrawable in libglx.a(glx_pbuffer.o) "_XGetImage", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XGetVisualInfo", referenced from: _glXChooseVisual in libglx.a(glxcmds.o) _glXGetVisualFromFBConfig in libglx.a(glxcmds.o) _glXGetVisualFromFBConfigSGIX in libglx.a(glxcmds.o) "_XGetWindowAttributes", referenced from: _glXSelectEvent in libglx.a(glx_pbuffer.o) _glXGetSelectedEvent in libglx.a(glx_pbuffer.o) _glXCreateWindow in libglx.a(glx_pbuffer.o) "_XInitExtension", referenced from: ___glXInitialize in libglx.a(glxext.o) "_XMissingExtension", referenced from: _XAppleDRIQueryVersion in libglx.a(appledri.o) _XAppleDRIQueryDirectRenderingCapable in libglx.a(appledri.o) _XAppleDRIAuthConnection in libglx.a(appledri.o) _XAppleDRICreateSurface in libglx.a(appledri.o) _XAppleDRIDestroySurface in libglx.a(appledri.o) _XAppleDRICreateSharedBuffer in libglx.a(appledri.o) _XAppleDRISwapBuffers in libglx.a(appledri.o) ... "_XQueryExtension", referenced from: _glXQueryExtension in libglx.a(glxcmds.o) "_XQueryFont", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XSetErrorHandler", referenced from: _apple_glx_garbage_collect_drawables in libglx.a(apple_glx_drawable.o) "_XSetForeground", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) "_XSync", referenced from: _apple_glx_waitx in libglx.a(apple_glx.o) _apple_glx_garbage_collect_drawables in libglx.a(apple_glx_drawable.o) "_XVisualIDFromVisual", referenced from: _glXCreateWindow in libglx.a(glx_pbuffer.o) "_XextAddDisplay", referenced from: _find_display in libglx.a(appledri.o) "_XextFindDisplay", referenced from: _find_display in libglx.a(appledri.o) "_XextRemoveDisplay", referenced from: _close_display in libglx.a(appledri.o) "__XEatData", referenced from: _XAppleDRICreatePixmap in libglx.a(appledri.o) ___glXReadReply in libglx.a(indirect.o) ___glXReadPixelReply in libglx.a(indirect.o) ___indirect_glGetBooleanv in libglx.a(single2.o) ___indirect_glGetSeparableFilter in libglx.a(singlepix.o) _gl_dispatch_stub_359 in libglx.a(singlepix.o) "__XError", referenced from: _glXCreateContext in libglx.a(glxcmds.o) _MakeContextCurrent in libglx.a(glxcurrent.o) "__XGetRequest", referenced from: _glx_screen_init in libglx.a(glxext.o) _CreateContext in libglx.a(glxcmds.o) _glXDestroyContext in libglx.a(glxcmds.o) _XAppleDRIQueryVersion in libglx.a(appledri.o) _XAppleDRIQueryDirectRenderingCapable in libglx.a(appledri.o) _XAppleDRIAuthConnection in libglx.a(appledri.o) _XAppleDRICreateSurface in libglx.a(appledri.o) ... "__XLockMutex_fn", referenced from: ___glXInitialize in libglx.a(glxext.o) ___glXCloseDisplay in libglx.a(glxext.o) "__XRead", referenced from: _createConfigsFromProperties in libglx.a(glxext.o) ___glXReadReply in libglx.a(indirect.o) ___glXReadPixelReply in libglx.a(indirect.o) ___indirect_glGetBooleanv in libglx.a(single2.o) ___indirect_glGetDoublev in libglx.a(single2.o) ___indirect_glGetFloatv in libglx.a(single2.o) ___indirect_glGetIntegerv in libglx.a(single2.o) ... "__XReadPad", referenced from: _XAppleDRICreateSharedBuffer in libglx.a(appledri.o) _XAppleDRICreatePixmap in libglx.a(appledri.o) "__XReply", referenced from: _glx_screen_init in libglx.a(glxext.o) _XAppleDRIQueryVersion in libglx.a(appledri.o) _XAppleDRIQueryDirectRenderingCapable in libglx.a(appledri.o) _XAppleDRIAuthConnection in libglx.a(appledri.o) _XAppleDRICreateSurface in libglx.a(appledri.o) _XAppleDRICreateSharedBuffer in libglx.a(appledri.o) _XAppleDRICreatePixmap in libglx.a(appledri.o) ... "__XSetLastRequestRead", referenced from: ___glXWireToEvent in libglx.a(glxext.o) "__XUnlockMutex_fn", referenced from: ___glXInitialize in libglx.a(glxext.o) ___glXCloseDisplay in libglx.a(glxext.o) "__Xglobal_lock", referenced from: ___glXInitialize in libglx.a(glxext.o) ___glXCloseDisplay in libglx.a(glxext.o) "___glXNewIndirectAPI", referenced from: IndirectAPI::SetUp() in indirect_api.o IndirectAPI_DispatchTableSizeWasQueried_Test::TestBody() in indirect_api.o "__glapi_create_table_from_handle", referenced from: __apple_glapi_create_table in libglx.a(apple_glapi.o) "_glBitmap", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) (maybe you meant: ___indirect_glBitmap) "_glEndList", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) (maybe you meant: ___indirect_glEndList) "_glFinish", referenced from: _applegl_wait_gl in libglx.a(applegl_glx.o) _apple_glx_waitx in libglx.a(apple_glx.o) (maybe you meant: ___indirect_glFinish) "_glFlush", referenced from: _apple_glx_copy_context in libglx.a(apple_glx_context.o) _apple_glx_waitx in libglx.a(apple_glx.o) (maybe you meant: ___indirect_glFlush) "_glGetIntegerv", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) _apple_glx_pbuffer_query in libglx.a(apple_glx_pbuffer.o) (maybe you meant: ___indirect_glGetIntegerv) "_glGetString", referenced from: _MakeContextCurrent in libglx.a(glxcurrent.o) (maybe you meant: ___indirect_glGetString) "_glNewList", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) (maybe you meant: ___indirect_glNewList) "_glPixelStorei", referenced from: _DRI_glXUseXFont in libglx.a(xfont.o) (maybe you meant: ___indirect_glPixelStorei) "_xcb_glx_are_textures_resident", referenced from: ___indirect_glAreTexturesResident in libglx.a(single2.o) "_xcb_glx_are_textures_resident_data", referenced from: ___indirect_glAreTexturesResident in libglx.a(single2.o) "_xcb_glx_are_textures_resident_data_length", referenced from: ___indirect_glAreTexturesResident in libglx.a(single2.o) "_xcb_glx_are_textures_resident_reply", referenced from: ___indirect_glAreTexturesResident in libglx.a(single2.o) "_xcb_glx_get_string", referenced from: ___glXGetString in libglx.a(glx_query.o) "_xcb_glx_get_string_reply", referenced from: ___glXGetString in libglx.a(glx_query.o) "_xcb_glx_get_string_string", referenced from: ___glXGetString in libglx.a(glx_query.o) "_xcb_glx_get_string_string_length", referenced from: ___glXGetString in libglx.a(glx_query.o) "_xcb_glx_query_server_string", referenced from: ___glXQueryServerString in libglx.a(glx_query.o) "_xcb_glx_query_server_string_reply", referenced from: ___glXQueryServerString in libglx.a(glx_query.o) "_xcb_glx_query_server_string_string", referenced from: ___glXQueryServerString in libglx.a(glx_query.o) "_xcb_glx_query_server_string_string_length", referenced from: ___glXQueryServerString in libglx.a(glx_query.o) "_xcb_glx_query_version", referenced from: ___glXInitialize in libglx.a(glxext.o) "_xcb_glx_query_version_reply", referenced from: ___glXInitialize in libglx.a(glxext.o) "_xcb_glx_render", referenced from: ___glXFlushRenderBuffer in libglx.a(glxext.o) "_xcb_glx_render_large", referenced from: ___glXSendLargeChunk in libglx.a(glxext.o) ___glXSendLargeCommand in libglx.a(glxext.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[5]: *** [glx-test] Error 1 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 17:38:27
comment:3 Changed 4 years ago by mf2k (Frank Schima)
Cc: | jeremyhu@… removed |
---|---|
Owner: | set to jeremyhu |
Status: | new → assigned |
comment:4 Changed 2 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The next problem is: