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

Build failure: darwin.moltenvk 1.2.4 #284281

Closed
khaneliman opened this issue Jan 27, 2024 · 3 comments
Closed

Build failure: darwin.moltenvk 1.2.4 #284281

khaneliman opened this issue Jan 27, 2024 · 3 comments
Labels
0.kind: build failure A package fails to build

Comments

@khaneliman
Copy link
Contributor

khaneliman commented Jan 27, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build moltenvk on master / nixos-unstable

Build log

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/zx2i558mv4nc5jkhrxv32nxbavn2y4fd-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
applying patch /nix/store/9c73912psp0l24nrdzxy4ax4qg81r9lh-MoltenVKShaderConverter.xcodeproj.patch
patching file MoltenVKShaderConverter/MoltenVKShaderConverter.xcodeproj/project.pbxproj
applying patch /nix/store/g1dq6s48spzl5jbjichjgx5i9p1h8v1w-MoltenVK.xcodeproj.patch
patching file MoltenVK/MoltenVK.xcodeproj/project.pbxproj
Hunk #1 succeeded at 377 (offset 12 lines).
Hunk #2 succeeded at 405 (offset 12 lines).
Hunk #3 succeeded at 1030 (offset 32 lines).
Hunk #4 succeeded at 1049 (offset 32 lines).
Hunk #5 succeeded at 1068 (offset 32 lines).
Hunk #6 succeeded at 1501 (offset 49 lines).
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'Scripts/gen_moltenvk_rev_hdr.sh')
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter /private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source
warning: job control option not implemented
warning: object version 48 may be unsupported
warning: unhandled ShellScriptBuildPhase key inputFileListPaths
warning: unhandled ShellScriptBuildPhase key outputFileListPaths
warning: unhandled ShellScriptBuildPhase key inputFileListPaths
warning: unhandled ShellScriptBuildPhase key outputFileListPaths
warning: unhandled ShellScriptBuildPhase key inputFileListPaths
warning: unhandled ShellScriptBuildPhase key outputFileListPaths
Build settings from the command line:
    ARCHS=arm64
    DERIVED_DATA_DIR=.
    SDKROOT=MacOSX11.0

�[1m�[36m=== BUILD TARGET MoltenVKShaderConverter-macOS OF PROJECT MoltenVKShaderConverter WITH CONFIGURATION Release ===�[22m�[0m

Check dependencies

Write auxiliary files
/bin/mkdir -p ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter.hmap
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-own-target-headers.hmap
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-all-target-headers.hmap
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-all-non-framework-target-headers.hmap
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-generated-files.hmap
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-project-headers.hmap
/bin/mkdir -p ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Objects-normal/arm64
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Objects-normal/arm64/MoltenVKShaderConverter.LinkFileList
write-file ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Script-A93ED4E924F59E1800FEB018.sh
chmod 0755 ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Script-A93ED4E924F59E1800FEB018.sh

Create product structure

�[1mCompileC�[22m ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Objects-normal/arm64/GLSLToSPIRVConverter.o MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter
    export DEVELOPER_DIR=/nix/store/6whraqjbzlghhablvxlyx9pacl01ihac-xcodebuild-0.1.2-pre
    export PATH=/nix/store/lq31j7l26rj4yi9j3lsff133nx6wmzpp-Platforms/MacOSX.platform/Developer/usr/bin:/nix/store/lq31j7l26rj4yi9j3lsff133nx6wmzpp-Platforms/MacOSX.platform/usr/local/bin:/nix/store/lq31j7l26rj4yi9j3lsff133nx6wmzpp-Platforms/MacOSX.platform/usr/bin:/nix/store/lq31j7l26rj4yi9j3lsff133nx6wmzpp-Platforms/MacOSX.platform/usr/local/bin:/nix/store/i505zkvfrhrx0h29pgsqpzs3j5z208mc-Toolchains/XcodeDefault.xctoolchain/usr/bin:/nix/store/i505zkvfrhrx0h29pgsqpzs3j5z208mc-Toolchains/XcodeDefault.xctoolchain/usr/libexec:/nix/store/6whraqjbzlghhablvxlyx9pacl01ihac-xcodebuild-0.1.2-pre/usr/bin:/nix/store/6whraqjbzlghhablvxlyx9pacl01ihac-xcodebuild-0.1.2-pre/usr/local/bin:/nix/store/6whraqjbzlghhablvxlyx9pacl01ihac-xcodebuild-0.1.2-pre/Tools:/nix/store/ixw1rxigdih0f134d1qjhr0lh5xw2m67-cctools-port-973.0.1/bin:/nix/store/hlhss4c835ssrsrv5vnm19x1v3gm34p3-sigtool-0.1.3/bin:/nix/store/6whraqjbzlghhablvxlyx9pacl01ihac-xcodebuild-0.1.2-pre/bin:/nix/store/i505zkvfrhrx0h29pgsqpzs3j5z208mc-Toolchains/XcodeDefault.xctoolchain/bin:/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin:/nix/store/a4zdkdhr7wfdv55q9bv293grng7c3gf6-clang-16.0.6/bin:/nix/store/05f94jq5l6kfs9s3gyzj28y1v4xf6hfm-coreutils-9.4/bin:/nix/store/kw4s9nf86742y74xmikklpszsz3d55ig-cctools-binutils-darwin-wrapper-16.0.6-973.0.1/bin:/nix/store/rhh6yaccy499min8rffvkscq7mjjjr5z-cctools-binutils-darwin-16.0.6-973.0.1/bin:/nix/store/b8fqnh3wl076m853pis41c1pmhkd2lxa-glslang-14.0.0/bin:/nix/store/c007hm6gqlc1qplzij9nrc30dzhmz911-spirv-cross-1.3.275.0/bin:/nix/store/g99a5jh54jp49fkgylkxzqapv3b2cv07-spirv-tools-1.3.275.0/bin:/nix/store/c0k7n8dbl8afgjsa4ibr3x4fhhp0rvfs-findutils-4.9.0/bin:/nix/store/ifchcscjlmxyh3xqpykfvpn1l3081bb8-diffutils-3.10/bin:/nix/store/v5mi2yzla9d240q8jfmrav754lqr3qha-gnused-4.9/bin:/nix/store/08nb1wjqrmcr8x0g7l1p3i8j16in3606-gnugrep-3.11/bin:/nix/store/limmkmax92v8x9vsdz04qf1is4xxqjzj-gawk-5.2.2/bin:/nix/store/14v8091kj9rz92h4xy5rah2rxhv5ikpr-gnutar-1.35/bin:/nix/store/nms9gqaixp4kkk40ywp5y8kaa7w8zvmv-gzip-1.13/bin:/nix/store/8cajjvq7p99vi97vz7b4mhn0cldgfdn2-bzip2-1.0.8-bin/bin:/nix/store/axhb1ak9cqg77li19yvqv2n18aznh45z-gnumake-4.4.1/bin:/nix/store/0wzb184kckhmggq1nlvy5xk6rykp0jl1-bash-5.2-p21/bin:/nix/store/6sq1bxixlwvg32yc21zggz4451pcwjdl-patch-2.7.6/bin:/nix/store/yc5g8kxl4zz2pac3rzdmh0dfpz97kqhc-xz-5.4.5-bin/bin:/nix/store/ncbyshdl0dqgc92zp71d2sqvlax0msz8-file-5.45/bin
    /nix/store/i505zkvfrhrx0h29pgsqpzs3j5z208mc-Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch arm64 -isysroot /nix/store/lydf2lmdq1ddhcndxy27hs35q0v34b3h-SDKs/MacOSX11.0.sdk -mmacosx-version-min=10.13 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++17 -stdlib=libc++ -DNDEBUG=1 -DSPIRV_CROSS_NAMESPACE_OVERRIDE=spirv_cross -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -fstrict-aliasing -fpascal-strings -O2 -Wno-trigraphs -Wempty-body -Winfinite-recursion -Wdeprecated-declarations -Wno-missing-field-initializers -Wno-newline-eof -Wmissing-prototypes -Wno-switch -Wno-four-char-constants -Wno-conversion -Wbool-conversion -Wconstant-conversion -Wenum-conversion -Wint-conversion -Wno-sign-conversion -Wshorten-64-to-32 -Wno-missing-braces -Wparentheses -Wno-shadow -Wconditional-uninitialized -Wno-unknown-pragmas -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-value -Wno-unused-variable -Wc++11-extensions -Wno-exit-time-destructors -Winvalid-offsetof -Woverloaded-virtual -Wnon-virtual-dtor -Wmove -I./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-own-target-headers.hmap -I./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-all-target-headers.hmap -iquote ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-generated-files.hmap -iquote ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/MoltenVKShaderConverter-project-headers.hmap -I./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Products/Release/include -I/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter -I/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/SPIRV-Cross -I/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/glslang -I/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/glslang/External/spirv-tools/include -I./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/DerivedSources/arm64 -I./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/DerivedSources -F./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Products/Release -Wreorder -MMD -MT dependencies -MF ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Objects-normal/arm64/GLSLToSPIRVConverter.d -c /private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp -o ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Objects-normal/arm64/GLSLToSPIRVConverter.o
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:35:37: error: unknown type name 'TBuiltInResource'
void configureGLSLCompilerResources(TBuiltInResource* glslCompilerResources);
                                    ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:38:1: error: unknown type name 'EShLanguage'
EShLanguage eshLanguageFromMVKGLSLConversionShaderStage(const MVKGLSLConversionShaderStage mvkShaderStage);
^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:63:2: error: unknown type name 'EShMessages'
        EShMessages messages = (EShMessages)(EShMsgDefault | EShMsgSpvRules | EShMsgVulkanRules);
        ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:63:26: error: use of undeclared identifier 'EShMessages'
        EShMessages messages = (EShMessages)(EShMsgDefault | EShMsgSpvRules | EShMsgVulkanRules);
                                ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:63:39: error: use of undeclared identifier 'EShMsgDefault'
        EShMessages messages = (EShMessages)(EShMsgDefault | EShMsgSpvRules | EShMsgVulkanRules);
                                             ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:63:55: error: use of undeclared identifier 'EShMsgSpvRules'
        EShMessages messages = (EShMessages)(EShMsgDefault | EShMsgSpvRules | EShMsgVulkanRules);
                                                             ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:63:72: error: use of undeclared identifier 'EShMsgVulkanRules'
        EShMessages messages = (EShMessages)(EShMsgDefault | EShMsgSpvRules | EShMsgVulkanRules);
                                                                              ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:65:2: error: unknown type name 'EShLanguage'
        EShLanguage stage = eshLanguageFromMVKGLSLConversionShaderStage(shaderStage);
        ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:66:2: error: unknown type name 'TBuiltInResource'; did you mean 'spirv_cross::BuiltInResource'?
        TBuiltInResource glslCompilerResources;
        ^~~~~~~~~~~~~~~~
        spirv_cross::BuiltInResource
In file included from /private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:21:
In file included from /private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/SPIRVToMSLConverter.h:23:
In file included from /nix/store/c007hm6gqlc1qplzij9nrc30dzhmz911-spirv-cross-1.3.275.0/include/spirv_cross/spirv_msl.hpp:27:
In file included from /nix/store/c007hm6gqlc1qplzij9nrc30dzhmz911-spirv-cross-1.3.275.0/include/spirv_cross/spirv_glsl.hpp:28:
/nix/store/c007hm6gqlc1qplzij9nrc30dzhmz911-spirv-cross-1.3.275.0/include/spirv_cross/spirv_cross.hpp:65:8: note: 'spirv_cross::BuiltInResource' declared here
struct BuiltInResource
       ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:67:2: error: no matching function for call to 'configureGLSLCompilerResources'
        configureGLSLCompilerResources(&glslCompilerResources);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:35:6: note: candidate function not viable: no known conversion from 'BuiltInResource *' to 'int *' for 1st argument
void configureGLSLCompilerResources(TBuiltInResource* glslCompilerResources);
     ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:68:39: error: no member named 'TShader' in namespace 'glslang'
        std::vector<std::unique_ptr<glslang::TShader>> glslShaders;
                                    ~~~~~~~~~^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:70:11: error: no type named 'TProgram' in namespace 'glslang'
        glslang::TProgram glslProgram;
        ~~~~~~~~~^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:76:41: error: no type named 'TShader' in namespace 'glslang'
                glslShaders.emplace_back(new glslang::TShader(stage));
                                             ~~~~~~~~~^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:152:37: error: unknown type name 'TBuiltInResource'
void configureGLSLCompilerResources(TBuiltInResource* glslCompilerResources) {
                                    ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:247:1: error: unknown type name 'EShLanguage'
EShLanguage eshLanguageFromMVKGLSLConversionShaderStage(const MVKGLSLConversionShaderStage mvkShaderStage) {
^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:249:53: error: use of undeclared identifier 'EShLangVertex'
                case kMVKGLSLConversionShaderStageVertex:               return EShLangVertex;
                                                                               ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:250:57: error: use of undeclared identifier 'EShLangTessControl'
                case kMVKGLSLConversionShaderStageTessControl:  return EShLangTessControl;
                                                                       ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:251:55: error: use of undeclared identifier 'EShLangTessEvaluation'
                case kMVKGLSLConversionShaderStageTessEval:             return EShLangTessEvaluation;
                                                                               ^
/private/tmp/nix-build-MoltenVK-1.2.4.drv-0/source/MoltenVKShaderConverter/MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp:252:55: error: use of undeclared identifier 'EShLangGeometry'
                case kMVKGLSLConversionShaderStageGeometry:             return EShLangGeometry;
                                                                               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

�[1m�[31m** BUILD FAILED **�[22m�[0m

The following build commands failed:
    �[1mCompileC�[22m ./MoltenVKShaderConverter-fvofnpeiuzrgnwejcskjusjjqcmt/Build/Intermediates/MoltenVKShaderConverter.build/Release/MoltenVKShaderConverter-macOS.build/Objects-normal/arm64/GLSLToSPIRVConverter.o MoltenVKShaderConverter/GLSLToSPIRVConverter.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Additional context

Was trying to update flake and saw build failure on nixos-unstable. Was also trying to test building fastfetch on master and saw it failed there, too. Looks like the PR #284256 for 1.2.7 builds, but has other packages that fail to build after. (Still running the nixpkgs-review)

Notify maintainers

@reckenrode

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.2.0, macOS 14.2.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.19.3`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/Users/khaneliman/.nix-defexpr/channels/nixpkgs`

Add a 👍 reaction to issues you find important.

@khaneliman khaneliman added the 0.kind: build failure A package fails to build label Jan 27, 2024
@khaneliman khaneliman changed the title Build failure: moltenvk 1.2.4 Build failure: darwin.moltenvk 1.2.4 Jan 27, 2024
@reckenrode
Copy link
Contributor

Thanks for the report. This was brought to my attention in the staging channel on Matrix. I plan to get a fix out this weekend.

Most likely, unstable will be bumped to the version that matches the Vulkan SDK in unstable and 23.11 will be bumped to an older version corresponding to the SDK in 23.11.

Updates have been blocked because the patches to the Xcode project files stopped applying with 1.2.5. The upstream project files aren’t compatible with the open-source xcodebuild implementation we have to use. I want to replace them with something easier to maintain (probably using Meson), but I haven’t had the bandwidth.

KhronosGroup/MoltenVK#1947 adds support for building MoltenVK with CMake, but it appears to have stalled. If it ever gets merged, we can consider switching to it.

@khaneliman
Copy link
Contributor Author

Np, thanks for all you do with managing darwin. Definitely appreciate the effort.

@khaneliman
Copy link
Contributor Author

Resolved with #284256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

2 participants