Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Failing on OSX Catalina, similar issue as previous -liconv #10

Closed
stephenpurkiss opened this issue Jun 13, 2021 · 7 comments
Closed

Failing on OSX Catalina, similar issue as previous -liconv #10

stephenpurkiss opened this issue Jun 13, 2021 · 7 comments

Comments

@stephenpurkiss
Copy link

stephenpurkiss commented Jun 13, 2021

Hi,

Saw the new (well new since I was last here) section on "Building your own Holochain app (optional)" so thought I'd try it out and when I follow the instructions it fails like it was before when we had OSX Catalina issues and @guillemcordoba fixed it by referring to a different version of holonix that had the fix for the same error as I'm getting here so I'm hoping this is the same problem and so will be a simple fix ;)

Here's my output:

cd holochain-dna-build-tutorial/
 ~/H/h/holochain-dna-build-tutorial   develop   nix-shell

[nix-shell:~/Holoplay/holochain-gym/holochain-dna-build-tutorial]$ CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
    Updating crates.io index
hc dna pack workdir/dna
hc app pack workdir/happ
  Downloaded arrayref v0.3.6
  Downloaded lazy_static v1.4.0
  Downloaded matchers v0.0.1
  Downloaded autocfg v1.0.1
  Downloaded arrayvec v0.5.2
  Downloaded cfg-if v1.0.0
  Downloaded num-integer v0.1.44
  Downloaded num-traits v0.2.14
  Downloaded byteorder v1.4.3
  Downloaded hdk_derive v0.0.2-alpha.1
  Downloaded proc-macro2 v1.0.27
  Downloaded tracing-serde v0.1.2
  Downloaded subtle v2.4.0
  Downloaded tracing-attributes v0.1.15
  Downloaded pin-project-lite v0.2.6
  Downloaded thiserror v1.0.25
  Downloaded indexmap v1.6.2
  Downloaded tracing-subscriber v0.2.18
  Downloaded syn v1.0.73
  Downloaded regex v1.5.4
  Downloaded paste v1.0.3
  Downloaded holochain_wasmer_guest v0.0.67
  Downloaded heck v0.3.3
  Downloaded convert_case v0.4.0
  Downloaded ryu v1.0.5
  Downloaded serde_bytes v0.11.5
  Downloaded rmp-serde v0.15.5
  Downloaded tracing-core v0.1.18
  Downloaded thread_local v1.1.3
  Downloaded serde_derive v1.0.123
  Downloaded rand_chacha v0.2.2
  Downloaded strum v0.18.0
  Downloaded holochain_serialized_bytes v0.0.50
  Downloaded parking_lot_core v0.7.2
  Downloaded derive_more v0.99.14
  Downloaded thiserror-impl v1.0.25
  Downloaded unicode-segmentation v1.7.1
  Downloaded sharded-slab v0.1.1
  Downloaded time v0.1.44
  Downloaded tracing v0.1.26
  Downloaded smallvec v1.6.1
  Downloaded regex-automata v0.1.10
  Downloaded unicode-xid v0.2.2
  Downloaded rand_core v0.5.1
  Downloaded once_cell v1.8.0
  Downloaded tracing-log v0.1.2
  Downloaded serde-transcode v1.1.0
  Downloaded regex-syntax v0.6.25
  Downloaded libc v0.2.97
  Downloaded log v0.4.14
  Downloaded getrandom v0.1.16
  Downloaded itoa v0.4.7
  Downloaded serde_json v1.0.64
  Downloaded parking_lot v0.10.2
  Downloaded rmp v0.8.10
  Downloaded strum_macros v0.18.0
  Downloaded constant_time_eq v0.1.5
  Downloaded holo_hash v0.0.2-alpha.1
  Downloaded fixt v0.0.2-alpha.1
  Downloaded rand v0.7.3
  Downloaded quote v1.0.9
  Downloaded hashbrown v0.9.1
  Downloaded chrono v0.4.19
  Downloaded holochain_serialized_bytes_derive v0.0.50
  Downloaded hdk v0.0.100
  Downloaded serde v1.0.123
  Downloaded holochain_wasmer_common v0.0.67
  Downloaded blake2b_simd v0.5.11
  Downloaded cfg-if v0.1.10
  Downloaded scopeguard v1.1.0
  Downloaded ppv-lite86 v0.2.10
  Downloaded holochain_zome_types v0.0.2-alpha.1
  Downloaded ansi_term v0.12.1
  Downloaded base64 v0.13.0
  Downloaded lock_api v0.3.4
  Downloaded 75 crates (3.6 MB) in 2.25s
   Compiling proc-macro2 v1.0.27
   Compiling unicode-xid v0.2.2
   Compiling autocfg v1.0.1
   Compiling syn v1.0.73
   Compiling serde_derive v1.0.123
   Compiling serde v1.0.123
   Compiling libc v0.2.97
   Compiling ryu v1.0.5
   Compiling getrandom v0.1.16
   Compiling serde_json v1.0.64
   Compiling cfg-if v1.0.0
   Compiling lazy_static v1.4.0
   Compiling unicode-segmentation v1.7.1
   Compiling hashbrown v0.9.1
   Compiling byteorder v1.4.3
   Compiling itoa v0.4.7
   Compiling paste v1.0.3
   Compiling convert_case v0.4.0
   Compiling cfg-if v0.1.10
   Compiling scopeguard v1.1.0
   Compiling smallvec v1.6.1
   Compiling ppv-lite86 v0.2.10
   Compiling regex-syntax v0.6.25
   Compiling log v0.4.14
   Compiling constant_time_eq v0.1.5
   Compiling strum v0.18.0
   Compiling arrayvec v0.5.2
   Compiling arrayref v0.3.6
   Compiling pin-project-lite v0.2.6
   Compiling base64 v0.13.0
   Compiling subtle v2.4.0
   Compiling once_cell v1.8.0
   Compiling ansi_term v0.12.1
   Compiling num-traits v0.2.14
   Compiling indexmap v1.6.2
   Compiling num-integer v0.1.44
   Compiling tracing-core v0.1.18
   Compiling sharded-slab v0.1.1
   Compiling lock_api v0.3.4
   Compiling heck v0.3.3
   Compiling parking_lot_core v0.7.2
   Compiling blake2b_simd v0.5.11
   Compiling thread_local v1.1.3
   Compiling parking_lot v0.10.2
   Compiling rand_core v0.5.1
   Compiling time v0.1.44
   Compiling quote v1.0.9
   Compiling tracing-log v0.1.2
   Compiling regex-automata v0.1.10
   Compiling regex v1.5.4
   Compiling rand_chacha v0.2.2
   Compiling rmp v0.8.10
   Compiling rand v0.7.3
   Compiling chrono v0.4.19
   Compiling matchers v0.0.1
   Compiling thiserror-impl v1.0.25
   Compiling holochain_serialized_bytes_derive v0.0.50
   Compiling strum_macros v0.18.0
   Compiling tracing-attributes v0.1.15
   Compiling derive_more v0.99.14
   Compiling thiserror v1.0.25
   Compiling tracing v0.1.26
   Compiling serde_bytes v0.11.5
   Compiling serde-transcode v1.1.0
   Compiling rmp-serde v0.15.5
   Compiling tracing-serde v0.1.2
   Compiling holochain_serialized_bytes v0.0.50
   Compiling tracing-subscriber v0.2.18
   Compiling fixt v0.0.2-alpha.1
   Compiling holochain_wasmer_common v0.0.67
   Compiling holochain_wasmer_guest v0.0.67
   Compiling holo_hash v0.0.2-alpha.1
   Compiling holochain_zome_types v0.0.2-alpha.1
   Compiling hdk_derive v0.0.2-alpha.1
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-arch" "x86_64" "-L" "/nix/store/mbmhlhhbcd6h3nwscfm6hyfi4g0adrvh-rust-1.48.0-2020-11-16-7eac88abb/lib/rustlib/x86_64-apple-darwin/lib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.0.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.1.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.10.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.11.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.12.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.13.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.14.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.15.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.2.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.3.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.4.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.5.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.6.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.7.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.8.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.hdk_derive.5leb66bi-cgu.9.rcgu.o" "-o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libhdk_derive-f7b55c62e3b8a9aa.dylib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.sw3o4fwt88at2kp.rcgu.o" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/hdk_derive-f7b55c62e3b8a9aa.2a4r2rsis7dhk0dr.rcgu.o" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "-L" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps" "-L" "/nix/store/mbmhlhhbcd6h3nwscfm6hyfi4g0adrvh-rust-1.48.0-2020-11-16-7eac88abb/lib/rustlib/x86_64-apple-darwin/lib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libholochain_zome_types-29552127ea5ff90a.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libtracing-c5c1d0a655b260f9.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libpin_project_lite-c1d49aa98f0d41b2.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libtracing_core-9a8516a78a3dfa8b.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libsubtle-87a0c641689c27f1.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libchrono-65a3820af69a72a7.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libnum_integer-3c48095ee54a9894.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libtime-2dcbc47a98eb52df.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libholo_hash-b1294e11515a2dd8.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libblake2b_simd-ed3fce8f6061ff91.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libconstant_time_eq-fd1b40f34a02a4e9.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libarrayvec-28075f86f892c2f4.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libarrayref-902e88d1efbdb925.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libbase64-2c6e8f7f5bf2af3b.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libfixt-70390dd5590a14fb.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/liblazy_static-149280817e49accd.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libparking_lot-307266430efb9e07.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libparking_lot_core-13aad9b836b70ed0.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libsmallvec-23d5f244e9bacf58.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libcfg_if-604ee0b4c0addce1.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/liblock_api-72c999a10e10102b.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libscopeguard-f8ea945b63a2e3ba.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libstrum-c4f04eccf78738ba.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/librand-054d2dcdd08c8a80.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/librand_chacha-a54bf4902c4511c0.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libppv_lite86-105cba632efaed93.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/librand_core-f95a5685dd7fb77d.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libgetrandom-8f500d6b48f34705.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/liblibc-4f1b605db06d4946.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libcfg_if-89ba5a4e0fc60526.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libholochain_serialized_bytes-56ee6ea084c297cf.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libserde_transcode-d6de17a578f637a2.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libserde_bytes-7e002472b329bfdf.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libthiserror-b385b02a5c0b5a50.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/librmp_serde-314736ccbe711b20.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/librmp-2b02509560a27537.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libnum_traits-79eb825e363031cc.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libbyteorder-94e39c982dbc2534.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libserde_json-ccb0755f184d8992.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libryu-c4c3011e63c98420.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libitoa-cd1de470fa8d073a.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libindexmap-550fc00c7d56d098.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libhashbrown-9012fe517b432844.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libserde-e7ac3a6edff79393.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libsyn-dc209b21ed4bb8b7.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libquote-f1697948c7f804b1.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libproc_macro2-254deacd1173734d.rlib" "/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/target/release/deps/libunicode_xid-a0416d08e91db928.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libproc_macro-41f9768367436ba9.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libstd-688c1376a25c049d.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libobject-fec020208bc1ad3c.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-38540dcacc9fd218.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libgimli-6f613179f618c598.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-4d1a5d7118aaeaf2.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-d88fab3b1b9d8356.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-a21754532a052f2f.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libunwind-2e9ebc4127641a96.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-82d0f961232a05ca.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/liblibc-370b1b71f08bac3c.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/liballoc-816106c1f35f5421.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-20f3a030f1a56a86.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libcore-60333aa00936c5ce.rlib" "/nix/store/2gpgkccqb22gchhcvaf73li8nyq0qcvi-rust/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-116aaeaea873ef94.rlib" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -liconv
          clang-7: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: could not compile `hdk_derive`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

[nix-shell:~/Holoplay/holochain-gym/holochain-dna-build-tutorial]$ hc dna pack workdir/dna
Error: IO error: ffs::IoError at path '/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/workdir/dna/../../target/wasm32-unknown-unknown/release/foo.wasm': No such file or directory (os error 2)
backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>


Caused by:
    ffs::IoError at path '/Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/workdir/dna/../../target/wasm32-unknown-unknown/release/foo.wasm': No such file or directory (os error 2)
    backtrace:
       0: <unknown>
       1: <unknown>
       2: <unknown>
       3: <unknown>
       4: <unknown>
       5: <unknown>
       6: <unknown>
       7: <unknown>
       8: <unknown>
       9: <unknown>
      10: <unknown>
      11: <unknown>
      12: <unknown>
      13: <unknown>
      14: <unknown>
      15: <unknown>
      16: <unknown>
      17: <unknown>


[nix-shell:~/Holoplay/holochain-gym/holochain-dna-build-tutorial]$ hc app pack workdir/happ
Wrote bundle /Users/steve/Holoplay/holochain-gym/holochain-dna-build-tutorial/workdir/happ/demo-happ.happ

[nix-shell:~/Holoplay/holochain-gym/holochain-dna-build-tutorial]$
@stephenpurkiss
Copy link
Author

stephenpurkiss commented Jun 13, 2021

holochain-gym/developer-exercises#20 (comment)

"@stephenbpurkiss can you try again doing nix-shell from the master branch? I just bumped the holonix version, which should point to the latest develop and include the liconv fix. I think that should fix the issue, it should be very close to everything you get with nix-shell https://nightly.holochain.love."

@guillemcordoba
Copy link
Collaborator

Awesome @stephenbpurkiss , can you try again?

@stephenpurkiss
Copy link
Author

Hmmm.... it did lots of things, I forgot about it, it did more things, I forgot about it, it broke:

Vendoring zeroize v1.2.0 (/private/tmp/nix-build-holochain-vendor.tar.gz.drv-0/source/cargo-home.r8h/registry/src/github.com-1ecc6299db9ec823/zeroize-1.2.0) to holochain-vendor.tar.gz/zeroize
   Vendoring zeroize_derive v1.0.1 (/private/tmp/nix-build-holochain-vendor.tar.gz.drv-0/source/cargo-home.r8h/registry/src/github.com-1ecc6299db9ec823/zeroize_derive-1.0.1) to holochain-vendor.tar.gz/zeroize_derive
To use vendored sources, add this to your .cargo/config.toml for this project:

installing
hash mismatch in fixed-output derivation '/nix/store/v97983fx4zhfaa71azax02c4vhj74dhq-holochain-vendor.tar.gz':
  wanted: sha256:15g0ndb64hcfqyqn5pb01vnipg4gxlm0p543z2vr407dgrwfwvhw
  got:    sha256:0y72lm5b0fl9anb2z9pcx1i3shqdlckz04zx3phc084hbzpig4cq
cannot build derivation '/nix/store/d47gdjd5kg15srcaqydpji0ywakj75rp-holochain.drv': 1 dependencies couldn't be built
error: build of '/nix/store/d47gdjd5kg15srcaqydpji0ywakj75rp-holochain.drv', '/nix/store/fjhlpp00ibz23pglm3bhw0b7mc10jgns-lair-keystore.drv', '/nix/store/kb2ar25wg8sp7pdwrmwz5ayr8xwp2db5-holochain.drv' failed
 ✘  ~/H/h/holochain-dna-build-tutorial   develop  

@stephenpurkiss
Copy link
Author

FYI my brain thought ‘cache’ so I started typing ‘clear nix’ into Google and it suggested ‘clear nix store’ so I did nix-store —gc and threw in a sudo rm -rf /tmp/* for fun and tried it again but still the same error.

@zippy
Copy link
Member

zippy commented Dec 14, 2021

Hey @stephenbpurkiss is this still an issue with latest version (just updated).

@stephenpurkiss
Copy link
Author

stephenpurkiss commented Dec 14, 2021

@zippy well I just replaced my 2012 MacBook Pro with a 2021 M1 Pro but dug the old one out from under the desk, prized it open & thought I’d do a speed comparison too… 1h 15m for the 9 year old laptop and… drum roll 1h 10m for the new one, although I didn’t use stopwatch so it could’ve been exactly the same amount of time - whatever, I was hoping for half the time at least lol! Wonder what the M1 Max would do it in.

...just noticed:
2012 Laptop: Finished release [optimized] target(s) in 25m 38s
2021 Laptop: Finished release [optimized] target(s) in 18m 34s

Anyway yes it compiles ok!

5ADF75AE-7F32-4C60-A712-38714F6AB28E

@stephenpurkiss
Copy link
Author

Guessing this needs closing then! Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants