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

[package] MoltenVK/1.2.2: Fails to build under Xcode 15.3 onwards #23590

Open
Twon opened this issue Apr 17, 2024 · 0 comments · May be fixed by #23866
Open

[package] MoltenVK/1.2.2: Fails to build under Xcode 15.3 onwards #23590

Twon opened this issue Apr 17, 2024 · 0 comments · May be fixed by #23866
Labels
bug Something isn't working

Comments

@Twon
Copy link
Contributor

Twon commented Apr 17, 2024

Description

The version of libc++ shipped with Xcode 15.3 introduced changes to the standard library that exposed errors in the MoltenVK library. This has already been identified and addressed in the library in this pull request: KhronosGroup/MoltenVK#2157. These changes need to be patched onto the 1.2.2 release package.

An example reproducing this issue can be seen here: Twon/Morpheus#294

Package and Environment Details

  • Package Name/Version: moltenvk/1.2.2
  • Operating System+version: MacOS 14.3
  • Compiler+version: Apple-Clang 15
  • Conan version: conan 2.2.2
  • Python version: Python 3.12.3

Conan profile

Profile host:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=23
compiler.libcxx=libc++
compiler.version=15
os=Macos
[conf]
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config

Profile build:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=23
compiler.libcxx=libc++
compiler.version=15
os=Macos

Steps to reproduce

conan install ./ -pr:h ./.conan2/profiles/apple-clang/15/armv8-libc++-release -pr:b ./.conan2/profiles/apple-clang/15/armv8-libc++-release --build missing -c tools.cmake.cmaketoolchain:generator="Ninja Multi-Config"

Logs

Click to expand log
conan install ./ -pr:h ./.conan2/profiles/apple-clang/15/armv8-libc++-release -pr:b ./.conan2/profiles/apple-clang/15/armv8-libc++-release --build missing -c tools.cmake.cmaketoolchain:generator="Ninja Multi-Config"

======== Input profiles ========
Profile host:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=23
compiler.libcxx=libc++
compiler.version=15
os=Macos
[conf]
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config

Profile build:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=23
compiler.libcxx=libc++
compiler.version=15
os=Macos


======== Computing dependency graph ========
Graph root
    conanfile.py (morpheus/0.0.1): /Users/antony/Documents/git/twon/Morpheus/conanfile.py
Requirements
    boost/1.84.0#2c80e4b2fd313bc2a7a1f62c77804b1e - Cache
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
    cereal/1.3.2#b94802e904e1129e7fdb46d9bff5321d - Cache
    ctre/3.8.1#40ac42de50d5ff58fdee27f3f13a9ada - Cache
    date/3.0.1#032e24ad8bd1fd136dd33c932563d3d1 - Cache
    fast_float/6.1.0#d5ebf20d96102abc0f5d2d2269a317bc - Cache
    fmt/10.2.1#9199a7a0611866dea5c8849a77467b25 - Cache
    glbinding/3.3.0#0ff09c0678a2a65d9e72f9380bbe45a4 - Cache
    glew/2.2.0#7ed80001a1a9686f00ccf4f4680c5f73 - Cache
    glslang/1.3.239.0#d03e0569cc1dfdd69cfb128f7e770a81 - Cache
    glu/system#ee50fc2ade0e1c0c8ebb3be3ea60e0f5 - Cache
    libbacktrace/cci.20210118#ec1aa63bbc10145c6a299e68e711670c - Cache
    libcurl/8.6.0#2f5d0b0e684214641563d25d5ff32aa1 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
    magic_enum/0.9.5#ba07901b1c92063df850e362eed7ccb3 - Cache
    moltenvk/1.2.2#7d08ba478bfa990200af86620f99a58d - Cache
    ms-gsl/4.0.0#60ed7b1ae7ff8fbfe0bf9a1c1f0443a8 - Cache
    opengl/system#4df6fecde4084386beded3ed0e56e4ea - Cache
    range-v3/0.12.0#4c05d91d7b40e6b91b44b5345ac64408 - Cache
    rapidjson/cci.20230929#8dc0392af2b3aaea7312095f0ba53467 - Cache
    scnlib/2.0.2#42c1accc98f09e844cebd2d703acd22c - Cache
    simdutf/4.0.5#484ca7bbfbbb2bd3db6289011f5ba613 - Cache
    spirv-cross/1.3.239.0#7bd25f5fd3fff0d9db5ead0f9361f1bb - Cache
    spirv-headers/1.3.239.0#94c97123181cf46727213ede018ac9b2 - Cache
    spirv-tools/1.3.239.0#6598c4124ec8bdae4c1ddf617f250d5a - Cache
    vulkan-headers/1.3.239.0#4d5b2ede056f66391b085c76105d7fae - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
Test requirements
    catch2/3.4.0#eb6f89bbc70b6b3d8748d21ab8fb9468 - Cache
    gtest/1.14.0#4372c5aed2b4018ed9f9da3e218d18b3 - Cache
Build requirements
    autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache
    automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache
    b2/4.10.1#a41eecb267963ddf518e3c177eae60e1 - Cache
    cmake/3.29.0#a055de871f63a7904aa3dcb9f3c61242 - Cache
    gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache
    libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Cache
    m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache
    meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Cache
    pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache
Resolved version ranges
    cmake/[>=3.16 <4]: cmake/3.29.0
    cmake/[>=3.17.2 <4]: cmake/3.29.0
    libcurl/[>=7.78 <9]: libcurl/8.6.0
    zlib/[>=1.2.11 <2]: zlib/1.3.1

======== Computing necessary packages ========
range-v3/0.12.0: WARN: apple-clang 15 support for range-v3 is unknown, assuming it is supported.
moltenvk/1.2.2: Checking 5 compatible configurations
moltenvk/1.2.2: Compatible configurations not found in cache, checking servers
moltenvk/1.2.2: 'bbc1c9c6814f69960217ee10d3b7a462d65881bf': compiler.cppstd=17
moltenvk/1.2.2: 'c3c1effa3de36b844786cf2791276208f49b6c29': compiler.cppstd=gnu17
moltenvk/1.2.2: 'cf3e56be249f67cb925ae0619e8a5bc5449297c0': compiler.cppstd=20
moltenvk/1.2.2: '809dc67240dbf58e52e82668f2c51d6306a118eb': compiler.cppstd=gnu20
moltenvk/1.2.2: '1340826ec553f847761de06161173bb6bb0fea9b': compiler.cppstd=gnu23
date/3.0.1: Checking 9 compatible configurations
date/3.0.1: Compatible configurations not found in cache, checking servers
date/3.0.1: 'da4d05f11412ff31ea05e5cb0a94772c04c0b149': compiler.cppstd=11
date/3.0.1: 'b05cd1817648b3c0daf08a0273fb901a68c34577': compiler.cppstd=gnu11
date/3.0.1: '2f84677d7223ce3c832d7d750510d979bd30b538': compiler.cppstd=14
date/3.0.1: 'aa302f93f349392d8f19b954373ee8c431392406': compiler.cppstd=gnu14
date/3.0.1: '6ffa8a0dd5b2a67dbbc6c5313a66bdf102167d91': compiler.cppstd=17
date/3.0.1: '5e21fe6eb6f655e958c8c32677b4b35aa8fb64b6': compiler.cppstd=gnu17
date/3.0.1: '8b07e774826f51ba296c8a502b0ddc0d2ffa4cbf': compiler.cppstd=20
date/3.0.1: 'd75d94512c1ac68adc8269733e198df9fb56ca3d': compiler.cppstd=gnu20
date/3.0.1: '4d91034d3310b2818fa4f135e615471ca79540a0': compiler.cppstd=gnu23
Requirements
    boost/1.84.0#2c80e4b2fd313bc2a7a1f62c77804b1e:d6752042e6b4071402c5c960d80c2f945752a737#2e7a054cffced07065ba783e0b197d3f - Cache
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:bd47875fc25b97398a4030f4060ef8ef3539584a#6d277edc0bdf934f7bf2a5b6490af97b - Cache
    cereal/1.3.2#b94802e904e1129e7fdb46d9bff5321d:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ebb9058692e29b6254aad3b967b53b8 - Cache
    ctre/3.8.1#40ac42de50d5ff58fdee27f3f13a9ada:da39a3ee5e6b4b0d3255bfef95601890afd80709#8623774d959dbcf29edfe649bdf85670 - Cache
    date/3.0.1#032e24ad8bd1fd136dd33c932563d3d1:b8925de914dc123e75ede257ec18b56402f8b050 - Build
    fmt/10.2.1#9199a7a0611866dea5c8849a77467b25:7b0f464e304dcb18ca7a7e37f9c0fef61a786c1c#02187da06642e79dc83c91ac975526c5 - Cache
    glbinding/3.3.0#0ff09c0678a2a65d9e72f9380bbe45a4:ae601228fc120695c181d77ecb4886c25086fb33#afcae37fb238ba2a22b7067451655224 - Cache
    glew/2.2.0#7ed80001a1a9686f00ccf4f4680c5f73:745252bd5c646d05e583355f8b011ef89936bb60#dfded79bcdc3f7ce56ed8507bf411840 - Cache
    glslang/1.3.239.0#d03e0569cc1dfdd69cfb128f7e770a81:beb827c891db025d815fe897dbc9ce02c359ac98#a80fda8b8d4b9cef3efec6fa00d82d24 - Cache
    glu/system#ee50fc2ade0e1c0c8ebb3be3ea60e0f5:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache
    libbacktrace/cci.20210118#ec1aa63bbc10145c6a299e68e711670c:2ee39e692ca4177b4b689b15bc1f2cfdf8f83706#97a21e610345cbc38c43d8c59d2f2b07 - Cache
    libcurl/8.6.0#2f5d0b0e684214641563d25d5ff32aa1:267b943cf33985f9448f72c97e42fcdb5094fcf5 - Build
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:2ee39e692ca4177b4b689b15bc1f2cfdf8f83706#fc6437d8dd0b86c6a4d59cdbdf33bfa8 - Cache
    magic_enum/0.9.5#ba07901b1c92063df850e362eed7ccb3:da39a3ee5e6b4b0d3255bfef95601890afd80709#f8e92e088b3c1c8d1b2719c6d200db34 - Cache
    moltenvk/1.2.2#7d08ba478bfa990200af86620f99a58d:422f408d6bebaadeca806800768a084c08a91faf - Build
    ms-gsl/4.0.0#60ed7b1ae7ff8fbfe0bf9a1c1f0443a8:da39a3ee5e6b4b0d3255bfef95601890afd80709#b598077be9be7a01e859da8eca72dee0 - Cache
    opengl/system#4df6fecde4084386beded3ed0e56e4ea:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache
    range-v3/0.12.0#4c05d91d7b40e6b91b44b5345ac64408:da39a3ee5e6b4b0d3255bfef95601890afd80709#ecc6172c3cd6694c36d1cd98a702deb0 - Cache
    rapidjson/cci.20230929#8dc0392af2b3aaea7312095f0ba53467:da39a3ee5e6b4b0d3255bfef95601890afd80709#bc6124f3dda366933f5ac97f53b76b7b - Cache
    scnlib/2.0.2#42c1accc98f09e844cebd2d703acd22c:27c289f331476bf865cadd20a202f97ad8b96f27#58f85c23dd133630401a582fbd9765f5 - Cache
    simdutf/4.0.5#484ca7bbfbbb2bd3db6289011f5ba613:ae601228fc120695c181d77ecb4886c25086fb33#81c79b9416ea7fccaed4f16f29494793 - Cache
    spirv-cross/1.3.239.0#7bd25f5fd3fff0d9db5ead0f9361f1bb:8154c76798e87535f13568f9da1e3db6d23b9edd#958edd3626559337ae81bcd58d7f5c72 - Cache
    spirv-tools/1.3.239.0#6598c4124ec8bdae4c1ddf617f250d5a:396b5ef3c70a236b8e2f156bff78a6b0fd2c2b1f#4c32e3eef29f915878486076f38bb9d4 - Cache
    vulkan-headers/1.3.239.0#4d5b2ede056f66391b085c76105d7fae:da39a3ee5e6b4b0d3255bfef95601890afd80709#854aca8847e06c517b5861c97603fe0c - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:2ee39e692ca4177b4b689b15bc1f2cfdf8f83706#638845eecab43a602cef9007ce0c7ea8 - Cache
Test requirements
    catch2/3.4.0#eb6f89bbc70b6b3d8748d21ab8fb9468:39598fc405395508e5daee35a9b8069a718290f9#fbe7eae206ad6cfce714a2229f4c2868 - Cache
    gtest/1.14.0#4372c5aed2b4018ed9f9da3e218d18b3:8bdc0c419af8284ea907c5e794e51ab506dfd690#fd18ff86fc3abec980a29d28c9b1a5d4 - Cache
Build requirements
    autoconf/2.71#f9307992909d7fb3df459340f1932809:da39a3ee5e6b4b0d3255bfef95601890afd80709#5b77f70c17ad1741f5845d4e468a347e - Cache
    automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50:9e5323c65b94ae38c3c733fe12637776db0119a5#53e724e4596a55dd2b2a3931d36256dc - Cache
    libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b:2ee39e692ca4177b4b689b15bc1f2cfdf8f83706#e82b58e7e4dfcb24aad1a97e6ebb9305 - Cache
    m4/1.4.19#b38ced39a01e31fef5435bc634461fd2:617cae191537b47386c088e07b1822d8606b7e67#af3bb664b82c4f616d3146625c5b4bd5 - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21:617cae191537b47386c088e07b1822d8606b7e67#c91372a33f74405b60f9f71b2163a290 - Cache
    pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605:df7e47c8f0b96c79c977dd45ec51a050d8380273#0e4a349206e0319ddfe0a13932c26b03 - Cache
Skipped binaries
    fast_float/6.1.0, spirv-headers/1.3.239.0, b2/4.10.1, cmake/3.29.0, gnu-config/cci.20210814, meson/1.2.2

======== Installing packages ========
bzip2/1.0.8: Already installed! (1 of 33)
catch2/3.4.0: Already installed! (2 of 33)
cereal/1.3.2: Already installed! (3 of 33)
ctre/3.8.1: Already installed! (4 of 33)
fmt/10.2.1: Already installed! (5 of 33)
glbinding/3.3.0: Already installed! (6 of 33)
gtest/1.14.0: Already installed! (7 of 33)
libbacktrace/cci.20210118: Already installed! (8 of 33)
libiconv/1.17: Already installed! (9 of 33)
m4/1.4.19: Already installed! (10 of 33)
magic_enum/0.9.5: Already installed! (11 of 33)
ms-gsl/4.0.0: Already installed! (12 of 33)
ninja/1.11.1: Already installed! (13 of 33)
opengl/system: Already installed! (14 of 33)
range-v3/0.12.0: Already installed! (15 of 33)
rapidjson/cci.20230929: Already installed! (16 of 33)
simdutf/4.0.5: Already installed! (17 of 33)
spirv-cross/1.3.239.0: Already installed! (18 of 33)
vulkan-headers/1.3.239.0: Already installed! (19 of 33)
zlib/1.3.1: Already installed! (20 of 33)
spirv-tools/1.3.239.0: Already installed! (21 of 33)
pkgconf/2.1.0: Already installed! (22 of 33)
pkgconf/2.1.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
autoconf/2.71: Already installed! (23 of 33)
boost/1.84.0: Already installed! (24 of 33)
glu/system: Already installed! (25 of 33)
scnlib/2.0.2: Already installed! (26 of 33)
glslang/1.3.239.0: Already installed! (27 of 33)
automake/1.16.5: Already installed! (28 of 33)
glew/2.2.0: Already installed! (29 of 33)

-------- Installing package moltenvk/1.2.2 (30 of 33) --------
moltenvk/1.2.2: Building from source
moltenvk/1.2.2: Package moltenvk/1.2.2:422f408d6bebaadeca806800768a084c08a91faf
moltenvk/1.2.2: Copying sources to build folder
moltenvk/1.2.2: Building your package in /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b
moltenvk/1.2.2: Calling generate()
moltenvk/1.2.2: Generators folder: /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators
moltenvk/1.2.2: CMakeToolchain generated: conan_toolchain.cmake
moltenvk/1.2.2: CMakeToolchain generated: CMakePresets.json
moltenvk/1.2.2: Generating aggregated env files
moltenvk/1.2.2: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
moltenvk/1.2.2: Calling build()
moltenvk/1.2.2: apply_conandata_patches(): No patches defined in conandata
moltenvk/1.2.2: Running CMake.configure()
moltenvk/1.2.2: RUN: cmake -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE="/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/.."
-- Using Conan toolchain: /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 23 with extensions OFF
-- Conan toolchain: Setting BUILD_SHARED_LIBS = ON
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Target declared 'cereal::cereal'
-- Conan: Component target declared 'glslang::GenericCodeGen'
-- Conan: Component target declared 'glslang::OSDependent'
-- Conan: Component target declared 'glslang::OGLCompiler'
-- Conan: Component target declared 'glslang::HLSL'
-- Conan: Component target declared 'glslang::SPVRemapper'
-- Conan: Component target declared 'glslang::MachineIndependent'
-- Conan: Component target declared 'glslang::glslang'
-- Conan: Component target declared 'glslang::SPIRV'
-- Conan: Target declared 'glslang::glslang-do-not-use'
-- Conan: Component target declared 'SPIRV-Tools-static'
-- Conan: Component target declared 'SPIRV-Tools-opt'
-- Conan: Component target declared 'SPIRV-Tools-link'
-- Conan: Component target declared 'SPIRV-Tools-reduce'
-- Conan: Component target declared 'SPIRV-Tools-lint'
-- Conan: Component target declared 'SPIRV-Tools-diff'
-- Conan: Target declared 'spirv-tools::spirv-tools'
-- Conan: Component target declared 'spirv-cross-core'
-- Conan: Component target declared 'spirv-cross-glsl'
-- Conan: Component target declared 'spirv-cross-hlsl'
-- Conan: Component target declared 'spirv-cross-msl'
-- Conan: Component target declared 'spirv-cross-cpp'
-- Conan: Component target declared 'spirv-cross-reflect'
-- Conan: Component target declared 'spirv-cross-c'
-- Conan: Component target declared 'spirv-cross-util'
-- Conan: Target declared 'spirv-cross::spirv-cross'
-- Conan: Component target declared 'Vulkan::Headers'
-- Conan: Component target declared 'Vulkan::Registry'
-- Conan: Target declared 'vulkan-headers::vulkan-headers'
-- Configuring done (3.5s)
-- Generating done (0.1s)
-- Build files have been written to: /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build

moltenvk/1.2.2: Running CMake.build()
moltenvk/1.2.2: RUN: cmake --build "/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build" --config Release -- -j12
[12/65] Linking CXX executable bin/Release/MoltenVKShaderConverter
ld: warning: ignoring duplicate libraries: '-lc++'
[25/65] Building CXX object CMakeFiles/MoltenVK.dir/Release/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm.o
FAILED: CMakeFiles/MoltenVK.dir/Release/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DMoltenVK_EXPORTS -DSPIRV_CROSS_NAMESPACE_OVERRIDE=spirv_cross -DCMAKE_INTDIR=\"Release\" -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/API -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Commands -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Layers -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/OS -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Utility -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Vulkan -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/mvk_hash_generated -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/common -I/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVKShaderConverter -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/System/Library/Frameworks -isystem /Users/antony/Documents/git/twon/Morpheus/.conan2/p/cereab355e3d4f4ed9/p/include -isystem /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/spirv2a8104478b693/p/include -isystem /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/spirv2a8104478b693/p/include/spirv_cross -isystem /Users/antony/Documents/git/twon/Morpheus/.conan2/p/vulka83940be63d03e/p/include -stdlib=libc++ -O3 -DNDEBUG -std=c++2b -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unguarded-availability-new -Wno-deprecated-declarations -Wno-nonportable-include-path -Wno-tautological-pointer-compare -Wno-non-c-typedef-for-linkage -Wno-switch -MD -MT CMakeFiles/MoltenVK.dir/Release/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm.o -MF CMakeFiles/MoltenVK.dir/Release/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm.o.d -o CMakeFiles/MoltenVK.dir/Release/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm.o -c /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:19:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptor.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKImage.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKResource.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDevice.h:22:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Utility/MVKFoundation.h:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/algorithm:1803:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/nth_element.h:15:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator' and 'difference_type' (aka 'long'))
  const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled
                                           ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded<std::_ClassicAlgPolicy, (lambda at /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:229:58) &, MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator>' requested here
        std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp);
             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort<std::_ClassicAlgPolicy, (lambda at /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:229:58) &, MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator, false>' requested here
  std::__introsort<_AlgPolicy,
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'const reverse_iterator<_Iter1>' against 'const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator'
operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y)
^
/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Utility/MVKSmallVector.h:103:14: note: candidate function not viable: 'this' argument has type 'const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator', but method is not marked const
    iterator operator- (const diff_type n)   { return iterator( index - n, *vector ); }
             ^
/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Utility/MVKSmallVector.h:106:15: note: candidate function not viable: 'this' argument has type 'const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator', but method is not marked const
    diff_type operator- (const iterator& it) { return index - it.index; }
              ^
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:19:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptor.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKImage.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKResource.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDevice.h:22:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Utility/MVKFoundation.h:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/algorithm:1803:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/nth_element.h:15:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator' and 'difference_type' (aka 'long'))
  for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) {
                                   ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'long')
operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x)
^
/Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Utility/MVKSmallVector.h:101:14: note: candidate function not viable: 'this' argument has type 'const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator', but method is not marked const
    iterator operator+ (const diff_type n)   { return iterator( index + n, *vector ); }
             ^
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:19:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptor.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKImage.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKResource.h:21:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/GPUObjects/MVKDevice.h:22:
In file included from /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build/generators/../../src/MoltenVK/MoltenVK/Utility/MVKFoundation.h:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/algorithm:1803:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/nth_element.h:15:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:577:5: error: indirection requires pointer operand ('const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator' invalid)
    *__begin = _Ops::__iter_move(__pivot_pos);
    ^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition<std::_ClassicAlgPolicy, MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator, (lambda at /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:229:58) &>' requested here
            ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp)
                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort<std::_ClassicAlgPolicy, (lambda at /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:229:58) &, MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator, false>' requested here
  std::__introsort<_AlgPolicy,
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:647:5: error: indirection requires pointer operand ('const MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator' invalid)
    *__begin = _Ops::__iter_move(__pivot_pos);
    ^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right<std::_ClassicAlgPolicy, MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator, (lambda at /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:229:58) &>' requested here
            : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp);
                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort<std::_ClassicAlgPolicy, (lambda at /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/src/MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm:229:58) &, MVKSmallVectorImpl<BindInfo, mvk_smallvector_allocator<BindInfo, 64>>::iterator, false>' requested here
  std::__introsort<_AlgPolicy,
       ^
4 errors generated.
[36/65] Building CXX object CMakeFiles/MoltenVK.dir/Release/src/MoltenVK/MoltenVK/GPUObjects/MVKPipeline.mm.o
ninja: build stopped: subcommand failed.

moltenvk/1.2.2: ERROR: 
Package '422f408d6bebaadeca806800768a084c08a91faf' build failed
moltenvk/1.2.2: WARN: Build folder /Users/antony/Documents/git/twon/Morpheus/.conan2/p/b/moltebb608f5bc94c6/b/build
ERROR: moltenvk/1.2.2: Error in build() method, line 129
        cmake.build()
        ConanException: Error 1 while executing
@Twon Twon added the bug Something isn't working label Apr 17, 2024
@Twon Twon linked a pull request May 4, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant