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

[BUG] Compilation error when running nix-shell https://holochain.love for the first time #1764

Closed
DrewMcArthur opened this issue Jan 16, 2023 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@DrewMcArthur
Copy link
Contributor

Describe the bug
trying to follow the installation instructions on macOS, and getting the following error while the nix installation is compiling lair_keystore. error log at the bottom.

System information:

  • OS: macOS 12.6.2 (intel chip)
  • Browser N/A but safari
  • Holochain and HDK Version: error prevents me from getting into the nix-shell at all.

Steps to reproduce
I'm not entirely sure the source of this, so i'm not sure how to reproduce. However, it does happen every time i try to run nix-shell https://holochain.love (using nightly.holochain.love gets the same issue)

Additional context

Compiling lair_keystore v0.2.3 (/private/tmp/nix-build-lair-keystore.drv-0/lair/crates/lair_keystore)
error: linking with `/nix/store/imsr2b1adk6rwcqnpk78qzjnkfvnyh3w-clang-wrapper-11.1.0/bin/cc` failed: exit status: 1
  |
  = note: "/nix/store/imsr2b1adk6rwcqnpk78qzjnkfvnyh3w-clang-wrapper-11.1.0/bin/cc" "-m64" "-arch" "x86_64" "/private/tmp/nix-build-lair-keystore.drv-0/rustcAZKcp9/symbols.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.0.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.1.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.10.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.11.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.12.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.13.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.14.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.15.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.2.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.3.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.4.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.5.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.6.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.7.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.8.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.9.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.2shlmhp7mog2koa6.rcgu.o" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/release/deps" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/build/libsodium-sys-stable-ee512b7819b7ea80/out/installed/lib" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/build/ring-e136b057e79f9386/out" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/build/libsqlite3-sys-340d6ca055a05e7f/out" "-L" "/nix/store/1lpqn47g3nkll7lcylcj3wla6zz1hcgw-openssl-3.0.7/lib" "-L" "/nix/store/7gn6vq5zdq9w5m8p2rxax9ysi2888n2a-rust-default-1.64.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblair_keystore-fc4ff77232aa8891.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing_subscriber-95bcf8d0108a8acc.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnu_ansi_term-d18620e782d90f68.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liboverload-81f1e1c70b7aec83.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsharded_slab-e641084322d7c718.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmatchers-34a8b9e2d2097ca1.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libregex_automata-17b3b0736a0619a3.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libregex-abec2f053e7e7f03.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libregex_syntax-642c1c0ae211dda7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libthread_local-fde8d18e877e027a.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing_log-8552e137af3adbdd.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsysinfo-77ae13d449a9cd0b.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librayon-022b9bc5dec689c7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librayon_core-6a0c9c37802b1da2.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_deque-b33d34ba832d19e8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_epoch-daec8745701555ca.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmemoffset-0b4bec3cad9f8bec.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_channel-5317b1a4e80ea744.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_utils-6f39251e1cff3802.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libeither-9465a2dd207c3cfd.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcore_foundation_sys-eb49dcb696f4a9eb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libstructopt-822620271e6d0233.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblazy_static-5fb3ce80753eddf3.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libclap-824a78e009eba136.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libvec_map-66549041e0d32c4c.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtextwrap-ea01e3557d884c73.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunicode_width-ef8ca90912d51b0b.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libstrsim-6c271f7eccbea0ab.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libatty-2273df6afbbbe0e7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libansi_term-65a8faa80fd6de38.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librusqlite-df9bc856c291c3d3.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbitflags-444612af1b1702b6.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfallible_streaming_iterator-41dbf7a8340c8c2e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfallible_iterator-ed42b5f59c2ed5c9.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libhashlink-4cdb43fe20b31ad9.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblibsqlite3_sys-90d433235266df3a.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libopenssl_sys-95b5277c49800326.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librpassword-b88f04518d8606cc.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librtoolbox-f276f113380dbe95.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblair_keystore_api-fd896624a48c87e8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblru-db34e54f11f9b904.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librcgen-b268fb197c438276.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libzeroize-1a978ce2e28d75ad.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libring-0a08e93fdb057ad5.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libspin-f8e6c2bcbdfacd43.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libuntrusted-6a51a7a1b57d0a08.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpem-0f1dc22600f23ed4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libyasna-2dc60e3cbae9f1e4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtime-b430ec014c7dbde6.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtoml-edd6552c328a1683.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liburl-f44d6f8f770d1234.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libidna-3fbfce28eae17c14.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunicode_normalization-39b792209fa073df.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtinyvec-de22891d1a8bb5ce.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtinyvec_macros-662ac41de9c540df.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunicode_bidi-d67adf562325afce.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libform_urlencoded-ac89a6e9bbd7b8ae.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpercent_encoding-6814aaad33297562.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing-15e2076b52539a82.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing_core-ce69f865d3481bb1.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde_yaml-003464b6c4f6e07d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunsafe_libyaml-15b28e2627360b3c.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnanoid-90183b929c9ef160.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librand-612349d5887630c8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librand_chacha-f874d12d40784fca.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libppv_lite86-44d3bb77f909f1f0.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librand_core-bb16398da478ea73.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libhc_seed_bundle-e52eeb396f2b651e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsodoken-88124397e3e680de.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblibsodium_sys-43cd99a57de3c065.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtokio-e2e538465ea30369.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsignal_hook_registry-3042f35e71f85f50.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnum_cpus-e4255044f49fcc91.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsocket2-daa1cbe918996f9d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbytes-b7572438e6f9ea1b.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmio-40ad89301f6f20a6.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblog-0a6d67e5277af8cf.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libparking_lot-86a45cacde05de0e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libparking_lot_core-5673bc5193beede5.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsmallvec-4ebfb6e880d80081.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblock_api-c7a57cb75c08dfc4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libscopeguard-da2450d2582a3bdb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librmpv-9a203ce9623ddd4d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde_bytes-29c4ad00b1247977.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librmp_serde-e80edb0106a40c14.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librmp-bdc556f6dc45c633.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbyteorder-32c0e4da4aad7feb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnum_traits-2042c7104ac7c23e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libone_err-2304832b23c18501.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde_json-d98e3341e9e7871d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libryu-aaab348f0eadc435.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libitoa-391a86e40a98dba7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libindexmap-ee6654b3605a80fe.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libhashbrown-3b7572d5c06835d4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libahash-d1443b0ee63da7db.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libgetrandom-e744b6badcc052bb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcfg_if-6cdb53e6d010ef48.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libonce_cell-59899cedf38dfdaa.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblibc-fdb1c6582243e47c.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde-3d97b6880755f762.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures-e5f5ecd70eb30d36.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_executor-ba3692c7d7b5036a.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_util-341944142d3d32cd.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmemchr-cf9d4dfbf5ea4647.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_io-46a0968f35102c41.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libslab-191a557df29cee91.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_channel-e09c034720fc7cee.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpin_project_lite-20b231d92b4922ea.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_sink-9ce56379f23694f8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_task-f3379d6668e1e0d5.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpin_utils-3c39ced148fd7b26.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_core-ecf98dcd08f74a51.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libdunce-5c9017105bedbc83.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbase64-80c6317fb043b07d.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-0f7ee384278ce82b.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-6023318e4257fdb3.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-50ed95d28fda9497.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-114781e2905bc242.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-841a5df74cbbcf8e.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-9b35810dd2e8e276.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-d44decaafa04c51d.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd_detect-aa335e35e4a7724c.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-7ac72202be300078.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libminiz_oxide-2930c6f21f36f92f.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libadler-654445a53da668f3.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-ce034a3eed8d4113.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-51412ab8efb0f481.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-1c20aac4d9e33893.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-5559092a2ede5191.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-05250b6a4768a099.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-10f98b32877a2067.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-56d27115b82c9961.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-8b28a0a374c38504.rlib" "-framework" "IOKit" "-framework" "CoreFoundation" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/nix/store/7gn6vq5zdq9w5m8p2rxax9ysi2888n2a-rust-default-1.64.0/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: Undefined symbols for architecture x86_64:
            "_kCFURLVolumeAvailableCapacityForImportantUsageKey", referenced from:
                _$LT$sysinfo..apple..disk..Disk$u20$as$u20$sysinfo..traits..DiskExt$GT$::refresh::hb778737090fd920c in libsysinfo-77ae13d449a9cd0b.rlib(sysinfo-77ae13d449a9cd0b.sysinfo.0e8a7460-cgu.15.rcgu.o)
                sysinfo::apple::disk::get_disks::h8307a96e914b81de in libsysinfo-77ae13d449a9cd0b.rlib(sysinfo-77ae13d449a9cd0b.sysinfo.0e8a7460-cgu.15.rcgu.o)
          ld: symbol(s) not found for architecture x86_64
          clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `lair_keystore` due to previous error
error: builder for '/nix/store/csljxmcddy00akbdl5iwqyy0vc2ks3vj-lair-keystore.drv' failed with exit code 101;
       last 10 log lines:
       >   = note: "/nix/store/imsr2b1adk6rwcqnpk78qzjnkfvnyh3w-clang-wrapper-11.1.0/bin/cc" "-m64" "-arch" "x86_64" "/private/tmp/nix-build-lair-keystore.drv-0/rustcAZKcp9/symbols.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.0.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.1.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.10.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.11.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.12.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.13.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.14.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.15.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.2.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.3.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.4.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.5.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.6.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.7.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.8.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.lair_keystore.a43019cf-cgu.9.rcgu.o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f.2shlmhp7mog2koa6.rcgu.o" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/release/deps" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/build/libsodium-sys-stable-ee512b7819b7ea80/out/installed/lib" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/build/ring-e136b057e79f9386/out" "-L" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/build/libsqlite3-sys-340d6ca055a05e7f/out" "-L" "/nix/store/1lpqn47g3nkll7lcylcj3wla6zz1hcgw-openssl-3.0.7/lib" "-L" "/nix/store/7gn6vq5zdq9w5m8p2rxax9ysi2888n2a-rust-default-1.64.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblair_keystore-fc4ff77232aa8891.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing_subscriber-95bcf8d0108a8acc.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnu_ansi_term-d18620e782d90f68.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liboverload-81f1e1c70b7aec83.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsharded_slab-e641084322d7c718.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmatchers-34a8b9e2d2097ca1.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libregex_automata-17b3b0736a0619a3.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libregex-abec2f053e7e7f03.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libregex_syntax-642c1c0ae211dda7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libthread_local-fde8d18e877e027a.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing_log-8552e137af3adbdd.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsysinfo-77ae13d449a9cd0b.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librayon-022b9bc5dec689c7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librayon_core-6a0c9c37802b1da2.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_deque-b33d34ba832d19e8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_epoch-daec8745701555ca.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmemoffset-0b4bec3cad9f8bec.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_channel-5317b1a4e80ea744.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcrossbeam_utils-6f39251e1cff3802.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libeither-9465a2dd207c3cfd.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcore_foundation_sys-eb49dcb696f4a9eb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libstructopt-822620271e6d0233.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblazy_static-5fb3ce80753eddf3.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libclap-824a78e009eba136.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libvec_map-66549041e0d32c4c.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtextwrap-ea01e3557d884c73.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunicode_width-ef8ca90912d51b0b.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libstrsim-6c271f7eccbea0ab.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libatty-2273df6afbbbe0e7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libansi_term-65a8faa80fd6de38.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librusqlite-df9bc856c291c3d3.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbitflags-444612af1b1702b6.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfallible_streaming_iterator-41dbf7a8340c8c2e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfallible_iterator-ed42b5f59c2ed5c9.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libhashlink-4cdb43fe20b31ad9.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblibsqlite3_sys-90d433235266df3a.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libopenssl_sys-95b5277c49800326.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librpassword-b88f04518d8606cc.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librtoolbox-f276f113380dbe95.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblair_keystore_api-fd896624a48c87e8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblru-db34e54f11f9b904.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librcgen-b268fb197c438276.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libzeroize-1a978ce2e28d75ad.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libring-0a08e93fdb057ad5.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libspin-f8e6c2bcbdfacd43.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libuntrusted-6a51a7a1b57d0a08.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpem-0f1dc22600f23ed4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libyasna-2dc60e3cbae9f1e4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtime-b430ec014c7dbde6.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtoml-edd6552c328a1683.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liburl-f44d6f8f770d1234.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libidna-3fbfce28eae17c14.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunicode_normalization-39b792209fa073df.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtinyvec-de22891d1a8bb5ce.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtinyvec_macros-662ac41de9c540df.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunicode_bidi-d67adf562325afce.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libform_urlencoded-ac89a6e9bbd7b8ae.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpercent_encoding-6814aaad33297562.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing-15e2076b52539a82.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtracing_core-ce69f865d3481bb1.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde_yaml-003464b6c4f6e07d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libunsafe_libyaml-15b28e2627360b3c.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnanoid-90183b929c9ef160.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librand-612349d5887630c8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librand_chacha-f874d12d40784fca.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libppv_lite86-44d3bb77f909f1f0.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librand_core-bb16398da478ea73.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libhc_seed_bundle-e52eeb396f2b651e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsodoken-88124397e3e680de.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblibsodium_sys-43cd99a57de3c065.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libtokio-e2e538465ea30369.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsignal_hook_registry-3042f35e71f85f50.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnum_cpus-e4255044f49fcc91.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsocket2-daa1cbe918996f9d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbytes-b7572438e6f9ea1b.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmio-40ad89301f6f20a6.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblog-0a6d67e5277af8cf.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libparking_lot-86a45cacde05de0e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libparking_lot_core-5673bc5193beede5.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libsmallvec-4ebfb6e880d80081.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblock_api-c7a57cb75c08dfc4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libscopeguard-da2450d2582a3bdb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librmpv-9a203ce9623ddd4d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde_bytes-29c4ad00b1247977.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librmp_serde-e80edb0106a40c14.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/librmp-bdc556f6dc45c633.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbyteorder-32c0e4da4aad7feb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libnum_traits-2042c7104ac7c23e.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libone_err-2304832b23c18501.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde_json-d98e3341e9e7871d.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libryu-aaab348f0eadc435.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libitoa-391a86e40a98dba7.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libindexmap-ee6654b3605a80fe.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libhashbrown-3b7572d5c06835d4.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libahash-d1443b0ee63da7db.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libgetrandom-e744b6badcc052bb.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libcfg_if-6cdb53e6d010ef48.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libonce_cell-59899cedf38dfdaa.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/liblibc-fdb1c6582243e47c.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libserde-3d97b6880755f762.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures-e5f5ecd70eb30d36.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_executor-ba3692c7d7b5036a.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_util-341944142d3d32cd.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libmemchr-cf9d4dfbf5ea4647.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_io-46a0968f35102c41.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libslab-191a557df29cee91.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_channel-e09c034720fc7cee.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpin_project_lite-20b231d92b4922ea.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_sink-9ce56379f23694f8.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_task-f3379d6668e1e0d5.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libpin_utils-3c39ced148fd7b26.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libfutures_core-ecf98dcd08f74a51.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libdunce-5c9017105bedbc83.rlib" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/libbase64-80c6317fb043b07d.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-0f7ee384278ce82b.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-6023318e4257fdb3.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-50ed95d28fda9497.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-114781e2905bc242.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-841a5df74cbbcf8e.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-9b35810dd2e8e276.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-d44decaafa04c51d.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd_detect-aa335e35e4a7724c.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-7ac72202be300078.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libminiz_oxide-2930c6f21f36f92f.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libadler-654445a53da668f3.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-ce034a3eed8d4113.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-51412ab8efb0f481.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-1c20aac4d9e33893.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-5559092a2ede5191.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-05250b6a4768a099.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-10f98b32877a2067.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-56d27115b82c9961.rlib" "/nix/store/9hfy9zqfw3cfs30gkzjy7vb01kqs6fap-rust-std-1.64.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-8b28a0a374c38504.rlib" "-framework" "IOKit" "-framework" "CoreFoundation" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/nix/store/7gn6vq5zdq9w5m8p2rxax9ysi2888n2a-rust-default-1.64.0/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/private/tmp/nix-build-lair-keystore.drv-0/lair/target/x86_64-apple-darwin/release/deps/lair_keystore-8a2683ff2317070f" "-Wl,-dead_strip" "-nodefaultlibs"
       >   = note: Undefined symbols for architecture x86_64:
       >             "_kCFURLVolumeAvailableCapacityForImportantUsageKey", referenced from:
       >                 _$LT$sysinfo..apple..disk..Disk$u20$as$u20$sysinfo..traits..DiskExt$GT$::refresh::hb778737090fd920c in libsysinfo-77ae13d449a9cd0b.rlib(sysinfo-77ae13d449a9cd0b.sysinfo.0e8a7460-cgu.15.rcgu.o)
       >                 sysinfo::apple::disk::get_disks::h8307a96e914b81de in libsysinfo-77ae13d449a9cd0b.rlib(sysinfo-77ae13d449a9cd0b.sysinfo.0e8a7460-cgu.15.rcgu.o)
       >           ld: symbol(s) not found for architecture x86_64
       >           clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
       >           
       >
       > error: could not compile `lair_keystore` due to previous error
       For full logs, run 'nix log /nix/store/csljxmcddy00akbdl5iwqyy0vc2ks3vj-lair-keystore.drv'.
error: build of '/nix/store/csljxmcddy00akbdl5iwqyy0vc2ks3vj-lair-keystore.drv', '/nix/store/hi38znkrs30kpz7c1iqs9xppggnzhd8r-hc-scaffold.drv', '/nix/store/nqpbic8prlmfcqp1lflkxibxkn668v1f-webkitgtk-2.38.2+abi=4.0.drv', '/nix/store/wqn7934siwpcsqk5p0lpnfscn2xp8821-hc_holochain_kitsune-p2p-tx2-proxy.drv', '/nix/store/yqi5m2i8cx5lwqva8zb1r7z43lfbc6mh-hc-launch.drv' failed
drew@DrewMcArthur-MBP holochain-workspace % Undefined symbols for architecture x86_64:
            "_kCFURLVolumeAvailableCapacityForImportantUsageKey", referenced from:
                _$LT$sysinfo..apple..disk..Disk$u20$as$u20$sysinfo..traits..DiskExt$GT$::refresh::hb778737090fd920c in libsysinfo-77ae13d449a9cd0b.rlib(sysinfo-77ae13d449a9cd0b.sysinfo.0e8a7460-cgu.15.rcgu.o)
                sysinfo::apple::disk::get_disks::h8307a96e914b81de in libsysinfo-77ae13d449a9cd0b.rlib(sysinfo-77ae13d449a9cd0b.sysinfo.0e8a7460-cgu.15.rcgu.o)
          ld: symbol(s) not found for architecture x86_64
          clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
@DrewMcArthur
Copy link
Contributor Author

according to a search for this bug,

This error indicates that the symbol "_kCFURLVolumeAvailableCapacityForImportantUsageKey" is undefined. This symbol is part of the Core Foundation framework and is used to get the available capacity of a storage device. To fix this error, you need to include the Core Foundation framework in your project. To do this, simply add the following line to your project's header file:
#import <CoreFoundation/CoreFoundation.h>
Once this is done, the compiler should be able to recognize the symbol and will no longer throw this error.

then searching the holochain org for CoreFoundation yields a few results, here

@abe-njama
Copy link
Collaborator

@steveej to be solved with the MacOS support work?

@steveej
Copy link
Member

steveej commented Jan 16, 2023

this is being worked on as part of #1760.

cc @DavHau

@steveej steveej added the bug Something isn't working label Jan 16, 2023
@DrewMcArthur
Copy link
Contributor Author

cool, let me know how i can help! more than happy to dig into some of these codebases further.

@DrewMcArthur
Copy link
Contributor Author

DrewMcArthur commented Jan 16, 2023

this may be related to NixOS/nix#3605; after following through some of the conversation there, i tried nix-shell -vvv (instead of --verbose) inside of dave's development branch for that PR, and that worked. not sure if the command made a difference, or if the check.sh test in nix is flaky (the logs say it is, so i wouldn't be surprised). but that seemed to get me into a dev shell with a local branch. i'm going to try with holochain.love next.

edit; sorry - maybe not this bug above, but the bug i got when running dave's branch is likely a nix bug. the above error persists, whether running via the .love url, or trying to cargo build from within the nix-shell on dave's branch. posted those error logs in my comment on his PR. (side note, let me know how i should be organizing these comments, where it makes sense for me to be putting them. apologies if i'm a little all over the place!)

@DrewMcArthur
Copy link
Contributor Author

it looks like dave's one step ahead of me! just found this issue in the rust sys info repo, which appears to be the source of my bug.

@DrewMcArthur
Copy link
Contributor Author

i was able to get the sysinfo repository compiled and tests working* with this shell.nix configuration: so the question for this bug is what the difference between the holochain nix configuration and this one:

{ pkgs ? import <nixpkgs> {} }:
  pkgs.mkShell {
    nativeBuildInputs = [ 
        pkgs.darwin.IOKit 
        pkgs.libiconv
        pkgs.darwin.apple_sdk_11_0.frameworks.CoreFoundation
    ];
}

* including a quick unit test that hits this specific corefoundation constant, see the comment on that issue linked above

@DrewMcArthur
Copy link
Contributor Author

took a bit of trial and error (not super familiar with nix!), but i think i found the right location to inject those dependencies within the nix config. changes can be pulled into develop-dave here!

@DrewMcArthur
Copy link
Contributor Author

it looks like this will be closed by #1776

@steveej
Copy link
Member

steveej commented Feb 9, 2023

@DrewMcArthur the command nix-shell https://holochain.love should be working for you now. please give it a try and report back. that said, the best way forward will be to use the nix flake features. documentation is about to follow, but as a heads up the equivalent command to the one above is nix develop github:holochain/holochain#holonix.

@abe-njama
Copy link
Collaborator

@DrewMcArthur seems like this issue should now be resolved and the command nix-shell https://holochain.love working. Could you run the command and give us feedback on its status?

@DrewMcArthur
Copy link
Contributor Author

sorry for the delay, but just confirmed that it does work now, closing this! thanks for the help everybody 😄

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
Development

No branches or pull requests

3 participants