[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:44:01 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
Resolution: | Keywords: highsierra
Port: mesa |
------------------------+------------------------
Comment (by ballapete):
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61815#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list