Skip to content

Instantly share code, notes, and snippets.

@pitkling
Created February 23, 2024 09:45
Show Gist options
  • Save pitkling/d6018d67208498fd51793605e1f738cc to your computer and use it in GitHub Desktop.
Save pitkling/d6018d67208498fd51793605e1f738cc to your computer and use it in GitHub Desktop.
build failure neovide-0.11.2 from nixpkgs-23.11 on x86_64-darwin
bash-5.2$ genericBuild
Running phase: unpackPhase
unpacking source archive /nix/store/n5g6kknlzin1bn4zml4wnadv9a02bxnp-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/qv6jivygsvwk653nc0kj9ikpgpxfk3c6-neovide-0.11.2-vendor.tar.gz
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /private/tmp/source/Cargo.lock and /private/tmp/neovide-0.11.2-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: configurePhase
Running phase: buildPhase
Executing cargoBuildHook
++ env CC_X86_64_APPLE_DARWIN=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/cc CXX_X86_64_APPLE_DARWIN=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/c++ CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/cc CC_X86_64_APPLE_DARWIN=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/cc CXX_X86_64_APPLE_DARWIN=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/c++ CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/cc CARGO_BUILD_TARGET=x86_64-apple-darwin HOST_CC=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/cc HOST_CXX=/nix/store/6kl49i8zf43f8i2z7cslrwlj4rm5mb4r-clang-wrapper-16.0.6/bin/c++ cargo build -j 8 --target x86_64-apple-darwin --frozen --profile release
Compiling libc v0.2.147
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling crc32fast v1.3.2
Compiling spin v0.5.2
Compiling serde v1.0.188
Compiling rustix v0.38.11
Compiling log v0.4.20
Compiling untrusted v0.7.1
Compiling memchr v2.6.3
Compiling byteorder v1.4.3
Compiling num-traits v0.2.16
Compiling cfg_aliases v0.1.1
Compiling tinyvec_macros v0.1.1
Compiling glob v0.3.1
Compiling bitflags v1.3.2
Compiling futures-core v0.3.28
Compiling clang-sys v1.6.1
Compiling tinyvec v1.6.0
Compiling serde_json v1.0.105
Compiling quote v1.0.33
Compiling core-foundation-sys v0.8.4
Compiling syn v2.0.31
Compiling prettyplease v0.2.14
Compiling cc v1.0.83
Compiling iovec v0.1.4
Compiling core-foundation v0.9.3
Compiling errno v0.3.3
Compiling unicode-normalization v0.1.22
Compiling aho-corasick v1.0.5
Compiling lock_api v0.4.10
Compiling slab v0.4.9
Compiling pin-project-lite v0.2.13
Compiling futures-sink v0.3.28
Compiling minimal-lexical v0.2.1
Compiling rustls v0.21.7
Compiling parking_lot_core v0.9.8
Compiling ring v0.16.20
Compiling futures-channel v0.3.28
Compiling regex-syntax v0.7.5
Compiling hashbrown v0.14.0
Compiling getrandom v0.1.16
Compiling bitflags v2.4.0
Compiling unicode-bidi v0.3.13
Compiling futures-task v0.3.28
Compiling objc-sys v0.2.0-beta.2
Compiling adler v1.0.2
Compiling percent-encoding v2.3.0
Compiling equivalent v1.0.1
Compiling indexmap v2.0.0
Compiling form_urlencoded v1.2.0
Compiling toml_datetime v0.6.3
Compiling serde_spanned v0.6.3
Compiling miniz_oxide v0.7.1
Compiling idna v0.4.0
Compiling nom v7.1.3
Compiling regex-automata v0.3.8
Compiling bytes v0.4.12
Compiling getrandom v0.2.10
Compiling malloc_buf v0.0.6
Compiling libloading v0.7.4
Compiling smallvec v1.11.0
Compiling foreign-types-shared v0.1.1
Compiling futures-util v0.3.28
Compiling once_cell v1.18.0
Compiling scopeguard v1.2.0
Compiling futures v0.1.31
Compiling ppv-lite86 v0.2.17
Compiling either v1.9.0
Compiling simd-adler32 v0.3.7
Compiling khronos_api v3.1.0
Compiling home v0.5.5
Compiling winnow v0.5.15
Compiling futures-io v0.3.28
Compiling heck v0.4.1
Compiling bindgen v0.65.1
Compiling cexpr v0.6.0
Compiling which v4.4.2
Compiling tokio-io v0.1.13
Compiling regex v1.9.5
Compiling serde_derive v1.0.188
Compiling futures-macro v0.3.28
Compiling foreign-types v0.3.2
Compiling objc v0.2.7
Compiling flate2 v1.0.27
Compiling toml_edit v0.19.14
Compiling url v2.4.1
Compiling core-graphics-types v0.1.2
Compiling xattr v1.0.1
Compiling filetime v0.2.22
Compiling rustls-webpki v0.101.4
Compiling sct v0.7.0
Compiling rustls-webpki v0.100.2
Compiling version_check v0.9.4
Compiling peeking_take_while v0.1.2
Compiling webpki-roots v0.23.1
Compiling itoa v1.0.9
Compiling rustc-hash v1.1.0
Compiling shlex v1.2.0
Compiling paste v1.0.14
Compiling rand_core v0.6.4
Compiling pin-utils v0.1.0
Compiling base64 v0.21.3
Compiling lazycell v1.3.0
Compiling lazy_static v1.4.0
Compiling siphasher v0.3.11
Compiling ryu v1.0.15
Compiling phf_shared v0.11.2
Compiling rand v0.8.5
Compiling toml v0.7.6
Compiling ureq v2.7.1
Compiling ahash v0.7.6
Compiling tar v0.4.40
Compiling objc2-encode v2.0.0-pre.2
Compiling rand_core v0.5.1
Compiling parking_lot v0.12.1
Compiling tokio-macros v2.1.0
Compiling mio v0.8.8
Compiling signal-hook-registry v1.4.1
Compiling socket2 v0.5.3
Compiling num_cpus v1.16.0
Compiling num-integer v0.1.45
Compiling bytes v1.5.0
Compiling syn v1.0.109
Compiling block v0.1.6
Compiling xml-rs v0.8.17
Compiling utf8parse v0.2.1
Compiling anstyle-parse v0.2.1
Compiling futures-executor v0.3.28
Compiling rand_chacha v0.2.2
Compiling tokio v1.32.0
Compiling objc2 v0.3.0-beta.3.patch-leaks.3
Compiling phf_generator v0.11.2
Compiling gl_generator v0.14.0
Compiling core-graphics v0.22.3
Compiling winit v0.29.0-beta.0
Compiling glutin v0.30.10
Compiling num-rational v0.4.1
Compiling anstyle v1.0.2
Compiling dispatch v0.2.0
Compiling anstyle-query v1.0.0
Compiling rustversion v1.0.14
Compiling colorchoice v1.0.0
Compiling raw-window-handle v0.5.2
Compiling thiserror v1.0.48
Compiling async-trait v0.1.73
Compiling anstream v0.5.0
Compiling gl v0.14.0
Compiling rmp v0.8.12
Compiling smol_str v0.2.0
Compiling cursor-icon v1.0.0
Compiling phf_macros v0.11.2
Compiling rand v0.7.3
Compiling futures v0.3.28
Compiling objc_id v0.1.1
Compiling thiserror-impl v1.0.48
Compiling skia-bindings v0.62.0
Compiling fdeflate v0.3.0
Compiling backtrace v0.3.69
Compiling cgl v0.3.2
Compiling num_threads v0.1.6
Compiling glutin-winit v0.4.0-beta.0
Compiling option-ext v0.2.0
Compiling time-macros v0.2.4
Compiling gimli v0.28.0
Compiling nvim-rs v0.5.0
Compiling strsim v0.10.0
Compiling clap_lex v0.5.1
Compiling clap_builder v4.4.2
Compiling tokio-util v0.7.8
Compiling parity-tokio-ipc v0.9.0
Compiling time v0.3.9
Compiling dirs-sys v0.4.1
Compiling addr2line v0.21.0
Compiling rand_chacha v0.3.1
Compiling phf v0.11.2
Compiling png v0.17.10
Compiling objc-foundation v0.1.1
Compiling rmpv v1.0.1
error: failed to run custom build command for `skia-bindings v0.62.0`
Caused by:
process didn't exit successfully: `/private/tmp/source/target/release/build/skia-bindings-4345cd7e6c8cd2b4/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=DOCS_RS
cargo:rerun-if-env-changed=SKIA_DEBUG
HOST: x86_64-apple-darwin
cargo:rerun-if-env-changed=SKIA_SOURCE_DIR
cargo:rerun-if-env-changed=SKIA_LIBRARY_SEARCH_PATH
STARTING OFFLINE BUILD
cargo:rerun-if-env-changed=CLANGCC
cargo:rerun-if-env-changed=CC
cargo:rerun-if-env-changed=CLANGCXX
cargo:rerun-if-env-changed=CXX
HOST: x86_64-apple-darwin
cargo:rerun-if-env-changed=OPT_LEVEL
cargo:rerun-if-env-changed=SKIA_USE_SYSTEM_LIBRARIES
cargo:rerun-if-env-changed=SDKTARGETSYSROOT
cargo:rerun-if-env-changed=SDKROOT
HOST: x86_64-apple-darwin
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
cargo:rerun-if-env-changed=SKIA_NINJA_COMMAND
cargo:rerun-if-env-changed=SKIA_GN_COMMAND
Probing 'python'
Python 3 found: "python"
Skia args: is_official_build=true is_debug=false skia_enable_svg=false skia_enable_gpu=true skia_enable_skottie=false skia_enable_pdf=true skia_use_gl=true skia_use_egl=false skia_use_x11=false skia_use_system_libpng=false skia_use_libwebp_encode=false skia_use_libwebp_decode=false skia_use_system_zlib=false skia_use_xps=false skia_use_dng_sdk=false cc="clang" cxx="clang++" skia_use_icu=false skia_use_harfbuzz=false skia_use_system_libjpeg_turbo=false skia_use_expat=true skia_use_system_expat=false target_os="mac" target_cpu="x86_64" extra_cflags=["-O3","-D__MAC_OS_X_VERSION_MAX_ALLOWED=101200"]
Done. Made 87 targets from 35 files in 424ms
ninja: Entering directory `/private/tmp/source/target/x86_64-apple-darwin/release/build/skia-bindings-c367863960496df6/out/skia'
[1/937] stamp obj/android_utils.stamp
[2/937] stamp obj/avif.stamp
[3/937] stamp obj/compile_sksl_glsl_nosettings_tests.stamp
[4/937] stamp obj/compile_sksl_glsl_tests.stamp
[5/937] stamp obj/compile_sksl_metal_tests.stamp
[6/937] stamp obj/compile_sksl_skrp_tests.stamp
[7/937] stamp obj/compile_sksl_skvm_tests.stamp
[8/937] stamp obj/compile_sksl_spirv_tests.stamp
[9/937] stamp obj/crc32.stamp
[10/937] stamp obj/fontmgr_FontConfigInterface.stamp
[11/937] stamp obj/fontmgr_android.stamp
[12/937] stamp obj/fontmgr_custom_directory.stamp
[13/937] stamp obj/fontmgr_custom_embedded.stamp
[14/937] stamp obj/fontmgr_custom_empty.stamp
[15/937] stamp obj/fontmgr_fontconfig.stamp
[16/937] stamp obj/fontmgr_fuchsia.stamp
[17/937] stamp obj/fontmgr_win.stamp
[18/937] stamp obj/fontmgr_win_gdi.stamp
[19/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAHardwareBufferUtils.cpp
[20/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp
[21/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAuditTrail.cpp
FAILED: obj/src/gpu/ganesh/gpu.GrAuditTrail.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.GrAuditTrail.o.d -DNDEBUG -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/13aqdrdhix4ljfw0a2l8lyyydr5whx4r-SDKs/MacOSX10.12.sdk -O3 -O3 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAuditTrail.cpp -o obj/src/gpu/ganesh/gpu.GrAuditTrail.o
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAuditTrail.cpp:8:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAuditTrail.h:15:
../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/base/SkTArray.h:492:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[22/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkFontMgr_mac_ct_factory.cpp
[23/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/opts/SkOpts_avx.cpp
[24/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAttachment.cpp
FAILED: obj/src/gpu/ganesh/gpu.GrAttachment.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.GrAttachment.o.d -DNDEBUG -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/13aqdrdhix4ljfw0a2l8lyyydr5whx4r-SDKs/MacOSX10.12.sdk -O3 -O3 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAttachment.cpp -o obj/src/gpu/ganesh/gpu.GrAttachment.o
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAttachment.cpp:8:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAttachment.h:11:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/core/SkClipStack.h:19:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/core/SkMessageBus.h:18:
../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/base/SkTArray.h:492:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[25/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkFontMgr_mac_ct.cpp
[26/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkScalerContext_mac_ct.cpp
FAILED: obj/src/ports/fontmgr_mac_ct.SkScalerContext_mac_ct.o
clang++ -MD -MF obj/src/ports/fontmgr_mac_ct.SkScalerContext_mac_ct.o.d -DNDEBUG -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_TYPEFACE_FACTORY_CORETEXT -I../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/13aqdrdhix4ljfw0a2l8lyyydr5whx4r-SDKs/MacOSX10.12.sdk -O3 -O3 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkScalerContext_mac_ct.cpp -o obj/src/ports/fontmgr_mac_ct.SkScalerContext_mac_ct.o
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkScalerContext_mac_ct.cpp:27:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/core/SkPathBuilder.h:18:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/SkPathRef.h:16:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/SkIDChangeListener.h:13:
../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/base/SkTArray.h:492:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[27/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkTypeface_mac_ct.cpp
FAILED: obj/src/ports/fontmgr_mac_ct.SkTypeface_mac_ct.o
clang++ -MD -MF obj/src/ports/fontmgr_mac_ct.SkTypeface_mac_ct.o.d -DNDEBUG -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_TYPEFACE_FACTORY_CORETEXT -I../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/13aqdrdhix4ljfw0a2l8lyyydr5whx4r-SDKs/MacOSX10.12.sdk -O3 -O3 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkTypeface_mac_ct.cpp -o obj/src/ports/fontmgr_mac_ct.SkTypeface_mac_ct.o
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/ports/SkTypeface_mac_ct.cpp:49:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/core/SkTypefaceCache.h:15:
../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/base/SkTArray.h:492:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[28/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/Device_drawTexture.cpp
FAILED: obj/src/gpu/ganesh/gpu.Device_drawTexture.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.Device_drawTexture.o.d -DNDEBUG -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/13aqdrdhix4ljfw0a2l8lyyydr5whx4r-SDKs/MacOSX10.12.sdk -O3 -O3 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/Device_drawTexture.cpp -o obj/src/gpu/ganesh/gpu.Device_drawTexture.o
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/Device_drawTexture.cpp:8:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/Device_v1.h:13:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/core/SkDevice.h:19:
../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/base/SkTArray.h:492:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[29/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/Device.cpp
FAILED: obj/src/gpu/ganesh/gpu.Device.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.Device.o.d -DNDEBUG -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/13aqdrdhix4ljfw0a2l8lyyydr5whx4r-SDKs/MacOSX10.12.sdk -O3 -O3 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/Device.cpp -o obj/src/gpu/ganesh/gpu.Device.o
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/Device.cpp:42:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/gpu/GrRecordingContext.h:13:
../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/base/SkTArray.h:492:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[30/937] compile ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/ClipStack.cpp
FAILED: obj/src/gpu/ganesh/gpu.ClipStack.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.ClipStack.o.d -DNDEBUG -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/13aqdrdhix4ljfw0a2l8lyyydr5whx4r-SDKs/MacOSX10.12.sdk -O3 -O3 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/ClipStack.cpp -o obj/src/gpu/ganesh/gpu.ClipStack.o
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/ClipStack.cpp:8:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/ClipStack.h:17:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrClip.h:13:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrAppliedClip.h:11:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/src/gpu/ganesh/GrFragmentProcessor.h:13:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/SkSLString.h:12:
In file included from ../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/SkSLDefines.h:14:
../../../../../../../../../../nix/store/sb9vwqjwh0rkch1mnhflkzib3mc0rb5l-source/include/private/base/SkTArray.h:492:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/zmdykn37lbbcg08hl57id820fdpaniqf-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
ninja: build stopped: subcommand failed.
--- stderr
[/private/tmp/neovide-0.11.2-vendor.tar.gz/skia-bindings/build_support/platform/macos.rs:82] format!("{joined:0<6}") = "101200"
thread 'main' panicked at /private/tmp/neovide-0.11.2-vendor.tar.gz/skia-bindings/build_support/skia/config.rs:338:5:
`ninja` returned an error, please check the output for details.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Executing cargoInstallPostBuildHook
Finished cargoInstallPostBuildHook
Finished cargoBuildHook
buildPhase completed in 53 seconds
Running phase: installPhase
Executing cargoInstallHook
Finished cargoInstallHook
Running phase: fixupPhase
checking for references to /tmp/nix-shell.KSX1Ko/ in /private/tmp/outputs/out...
patching script interpreter paths in /private/tmp/outputs/out
sed: no input files
Builder called die: Cannot wrap '/private/tmp/outputs/out/bin/neovide' because it is not an executable file
Backtrace:
4 assertExecutable /tmp/nix-shell.CNt4PZ
5 wrapProgramShell /tmp/nix-shell.CNt4PZ
3 wrapProgram /tmp/nix-shell.CNt4PZ
1 _callImplicitHook /tmp/nix-shell.CNt4PZ
1 _eval /tmp/nix-shell.CNt4PZ
9 runHook /tmp/nix-shell.CNt4PZ
37 fixupPhase /tmp/nix-shell.CNt4PZ
1 runPhase /tmp/nix-shell.CNt4PZ
17 genericBuild /tmp/nix-shell.CNt4PZ
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment