Skip to content

Instantly share code, notes, and snippets.

@adam-singer
Created December 20, 2023 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adam-singer/346832cce85eda0fbcf218f57f3f7470 to your computer and use it in GitHub Desktop.
Save adam-singer/346832cce85eda0fbcf218f57f3f7470 to your computer and use it in GitHub Desktop.
04:28:32 adam@Adams-MacBook-Pro native-link ±|main|→ nix build
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
error: builder for '/nix/store/8dxi3baawyzx04iqng2nc6cn60l8h9gl-nativelink-deps-0.0.0.drv' failed with exit code 101;
last 10 log lines:
> error: could not compile `parking_lot_core` (build script) due to previous error
> error: could not compile `futures-channel` (build script) due to previous error
> error: could not compile `futures-util` (build script) due to previous error
> error: could not compile `num-traits` (build script) due to previous error
> error: could not compile `futures-core` (build script) due to previous error
> error: could not compile `futures-task` (build script) due to previous error
> error: could not compile `slab` (build script) due to previous error
> error: could not compile `typenum` (build script) due to previous error
> error: could not compile `libc` (build script) due to previous error
> error: could not compile `proc-macro2` (build script) due to previous error
For full logs, run 'nix-store -l /nix/store/8dxi3baawyzx04iqng2nc6cn60l8h9gl-nativelink-deps-0.0.0.drv'.
error: 1 dependencies of derivation '/nix/store/f81c4bmv50nxa9bpicy0lxbykd77ilvb-nativelink-0.0.0.drv' failed to build
04:38:16 adam@Adams-MacBook-Pro native-link ±|main|→ gh gist create -p -
^C
04:54:29 adam@Adams-MacBook-Pro native-link ±|main|→ pbpaste | gh gist create -p -
- Creating gist...
✓ Created public gist
https://gist.github.com/adam-singer/e2cdf43952ebecedf882cf0649845dbe
04:54:35 adam@Adams-MacBook-Pro native-link ±|main|→ nix build
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
error: builder for '/nix/store/8dxi3baawyzx04iqng2nc6cn60l8h9gl-nativelink-deps-0.0.0.drv' failed with exit code 101;
last 10 log lines:
>
> error: could not compile `libc` (build script) due to previous error
> error: linking with `cc` failed: exit status: 1
> |
> = note: LC_ALL="C" PATH="/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/bin:/nix/store/2plpk8wqkcm63gg0fyahc59qxxfqn1s5-libiconv-50/bin:/nix/store/46zkgqp0wk7rwd2n7paa561ch5xjkkyz-cargo-1.73.0/bin:/nix/store/ygk0alrqkjdm6psa7rcng22gnjxixrpy-rsync-3.2.7/bin:/nix/store/108jgmxp88snxp4hgsbmd16wp1vgsy1f-zstd-1.5.5-bin/bin:/nix/store/9pa8q4d582j3hc09y9l3lpjkdv2nk5fs-zstd-1.5.5/bin:/nix/store/7lwdq704yynhq4yyflkd043kcpzyh2hz-clang-wrapper-16.0.6/bin:/nix/store/p2i2ghmr232zjhfsv0rj58lsdjbx5kx1-clang-16.0.6/bin:/nix/store/h0fgpyxfav7ybnw5sdg8jpyv9f95x4w0-coreutils-9.3/bin:/nix/store/8b8m5jjbgz51p7j1xz2lc8rz220q58cq-cctools-binutils-darwin-wrapper-16.0.6-973.0.1/bin:/nix/store/vpnp0c420cjmx82g05jq3nm5skdrblvk-cctools-binutils-darwin-16.0.6-973.0.1/bin:/nix/store/h0fgpyxfav7ybnw5sdg8jpyv9f95x4w0-coreutils-9.3/bin:/nix/store/zr6klxfjzpdr2674ly1f4fix7ig57mjr-findutils-4.9.0/bin:/nix/store/94j70ziq1zp2mj0fs2fzi49j7q3mdhba-diffutils-3.10/bin:/nix/store/nddzbf5pifm77kksh25xwiy2g9kqqm9f-gnused-4.9/bin:/nix/store/98v0v3bwzgkcwsz4anjip62d2k3gz352-gnugrep-3.11/bin:/nix/store/blggp459hvq6swvr8nlxblkdn7ayw8y7-gawk-5.2.2/bin:/nix/store/g9z0hg6snhg5834p14yw4bx6ilcffr8b-gnutar-1.35/bin:/nix/store/6g3nq5hply5p2v3xzlg0i9qqgzr30w1d-gzip-1.13/bin:/nix/store/dq6dsprg57r5wqlc4yzcnkbfxdhfcd3f-bzip2-1.0.8-bin/bin:/nix/store/6kxdgmbgwdq4y42r9qhgdky312v5d7x0-gnumake-4.4.1/bin:/nix/store/x1xxsh1gp6y389hyl40a0i74dkxiprl7-bash-5.2-p15/bin:/nix/store/j34fimsig5s1zsf2f5dkw9a8sv5zpskg-patch-2.7.6/bin:/nix/store/96bznf6bjdghshgj3a2hm16gk3nngbcx-xz-5.4.4-bin/bin:/nix/store/ckbx2qla8zxic5k2d549qdhkbwrpa4q6-file-5.45/bin:/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/bin" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-arch" "arm64" "/private/tmp/nix-build-nativelink-deps-0.0.0.drv-0/rustc93FnwW/symbols.o" "/private/tmp/nix-build-nativelink-deps-0.0.0.drv-0/source/target/release/build/futures-task-84c3dceef1190779/build_script_build-84c3dceef1190779.build_script_build.ed49361b6a351f3a-cgu.0.rcgu.o" "/private/tmp/nix-build-nativelink-deps-0.0.0.drv-0/source/target/release/build/futures-task-84c3dceef1190779/build_script_build-84c3dceef1190779.ne8pta900lonudm.rcgu.o" "-L" "/private/tmp/nix-build-nativelink-deps-0.0.0.drv-0/source/target/release/deps" "-L" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libstd-9413b076fac7ec49.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-890ea26f19c290ff.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libobject-4912a7c8e9c46979.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-907edfc6464b075f.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-f6d09b045a532dd6.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libgimli-692ec3de7e590625.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-e589e2faf22e3b51.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-2ea2b52634acd83b.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-1eddb5724e1a217f.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-75a2df648ddca72c.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-58915681107e9b01.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libadler-33628f06c7e97d11.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libunwind-8797c719edd3cc35.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-3e270fd5b0913abe.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/liblibc-88b2bac4bb9c928b.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/liballoc-12ae6378697246be.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-f52ec540549cbe1e.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libcore-0d5662032797a956.rlib" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-78f1c670fe956725.rlib" "-lSystem" "-lc" "-lm" "-L" "/nix/store/2jdssgjk1i4gjz4w9k8nz3831wq7sxdw-rustc-1.73.0/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/private/tmp/nix-build-nativelink-deps-0.0.0.drv-0/source/target/release/build/futures-task-84c3dceef1190779/build_script_build-84c3dceef1190779" "-Wl,-dead_strip" "-nodefaultlibs"
> = note: ld: library not found for -liconv
> clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
>
>
> error: could not compile `futures-task` (build script) due to previous error
For full logs, run 'nix-store -l /nix/store/8dxi3baawyzx04iqng2nc6cn60l8h9gl-nativelink-deps-0.0.0.drv'.
error: 1 dependencies of derivation '/nix/store/f81c4bmv50nxa9bpicy0lxbykd77ilvb-nativelink-0.0.0.drv' failed to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment