Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mesa] fix inter feature deps #31117

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Conversation

autoantwort
Copy link
Contributor

Fixes the installation of mesa[core,offscreen]

[845/846] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -o src/gallium/targets/osmesa/libOSMesa.8.dylib src/gallium/targets/osmesa/libOSMesa.8.dylib.p/target.c.o -L/opt/homebrew/opt/libomp/lib -L/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -shared -install_name @rpath/libOSMesa.8.dylib -compatibility_version 9.0.0 -current_version 9.0.0 -Wl,-force_load src/gallium/frontends/osmesa/libosmesa_st.a -Wl,-force_load src/mapi/glapi/libglapi_static.a -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk src/mesa/libmesa.a src/compiler/glsl/libglsl.a src/compiler/glsl/glcpp/libglcpp.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/util/libmesa_util_sse41.a src/c11/impl/libmesa_util_c11.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/gallium/auxiliary/libgallium.a src/gallium/winsys/sw/null/libws_null.a src/gallium/drivers/softpipe/libsoftpipe.a /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/../../lib/libz.a -lm /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/../../lib/libzstd.a
FAILED: src/gallium/targets/osmesa/libOSMesa.8.dylib 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -o src/gallium/targets/osmesa/libOSMesa.8.dylib src/gallium/targets/osmesa/libOSMesa.8.dylib.p/target.c.o -L/opt/homebrew/opt/libomp/lib -L/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -shared -install_name @rpath/libOSMesa.8.dylib -compatibility_version 9.0.0 -current_version 9.0.0 -Wl,-force_load src/gallium/frontends/osmesa/libosmesa_st.a -Wl,-force_load src/mapi/glapi/libglapi_static.a -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk src/mesa/libmesa.a src/compiler/glsl/libglsl.a src/compiler/glsl/glcpp/libglcpp.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/util/libmesa_util_sse41.a src/c11/impl/libmesa_util_c11.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/gallium/auxiliary/libgallium.a src/gallium/winsys/sw/null/libws_null.a src/gallium/drivers/softpipe/libsoftpipe.a /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/../../lib/libz.a -lm /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/../../lib/libzstd.a
Undefined symbols for architecture arm64:
  "_glAreTexturesResidentEXT", referenced from:
      _static_functions in libglapi_static.a(glapi_getproc.c.o)
  "_glDeleteTexturesEXT", referenced from:
      _static_functions in libglapi_static.a(glapi_getproc.c.o)
  "_glGenTexturesEXT", referenced from:
      _static_functions in libglapi_static.a(glapi_getproc.c.o)
  "_glIsTextureEXT", referenced from:
      _static_functions in libglapi_static.a(glapi_getproc.c.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

@JonLiu1993 JonLiu1993 added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. labels Apr 26, 2023
@JonLiu1993 JonLiu1993 added the info:reviewed Pull Request changes follow basic guidelines label Apr 26, 2023
@BillyONeal BillyONeal merged commit 061428f into microsoft:master Apr 26, 2023
@BillyONeal
Copy link
Member

Thanks for the fix @autoantwort and the review @JonLiu1993 !

RainbowTaro2022 added a commit to RainbowTaro2022/vcpkg that referenced this pull request Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants