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

nix run: Cannot execute latest prerelease version of jj #3161

Closed
bnjmnt4n opened this issue Feb 28, 2024 · 3 comments · Fixed by #3136
Closed

nix run: Cannot execute latest prerelease version of jj #3161

bnjmnt4n opened this issue Feb 28, 2024 · 3 comments · Fixed by #3136

Comments

@bnjmnt4n
Copy link
Member

bnjmnt4n commented Feb 28, 2024

Description

Steps to Reproduce the Problem

  1. Execute nix run 'github:martinvonz/jj'

Expected Behavior

I should be able to execute the jj binary.

Actual Behavior

I get the following error:

error: creating test list failed

Caused by:
  for `jj-lib-proc-macros`, command `/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/deps/jj_lib_proc_macros-1debf585481c427f --list --format terse` exited with signal 6 (SIGABRT)
--- stdout:

--- stderr:
dyld[67903]: Library not loaded: @rpath/libtest-88e97e58e3f4c34e.dylib
  Referenced from: <AD211D3E-FD15-35D0-8619-F904A9F85F2F> /private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/deps/jj_lib_proc_macros-1debf585481c427f
  Reason: tried: '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/build/libgit2-sys-ea5f14cdceab7af0/out/build/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/build/libz-sys-defbe9ee827e75ea/out/lib/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/deps/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/deps/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/libtest-88e97e58e3f4c34e.dylib' (no such file), '/homeless-shelter/lib/libtest-88e97e58e3f4c34e.dylib' (no such file), '/usr/local/lib/libtest-88e97e58e3f4c34e.dylib' (no such file), '/usr/lib/libtest-88e97e58e3f4c34e.dylib' (no such file, not in dyld cache)
Full Nix log
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/zhrfidnw78ja1v4rf5rfjnn72sgrwfpn-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/Cargo.lock and /private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing cargoBuildHook
++ env CC_AARCH64_APPLE_DARWIN=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/cc CXX_AARCH64_APPLE_DARWIN=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/c++ CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/cc CC_AARCH64_APPLE_DARWIN=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/cc CXX_AARCH64_APPLE_DARWIN=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/c++ CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/cc CARGO_BUILD_TARGET=aarch64-apple-darwin HOST_CC=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/cc HOST_CXX=/nix/store/65lhhpbfnsf9b3knd4q2l49y7107fisp-clang-wrapper-16.0.6/bin/c++ cargo build -j 10 --target aarch64-apple-darwin --frozen --profile release --features=packaging --bin jj
�[1m�[32m   Compiling�[0m proc-macro2 v1.0.78
�[1m�[32m   Compiling�[0m unicode-ident v1.0.12
�[1m�[32m   Compiling�[0m libc v0.2.153
�[1m�[32m   Compiling�[0m cfg-if v1.0.0
�[1m�[32m   Compiling�[0m thiserror v1.0.57
�[1m�[32m   Compiling�[0m autocfg v1.1.0
�[1m�[32m   Compiling�[0m parking_lot_core v0.9.9
�[1m�[32m   Compiling�[0m memchr v2.7.1
�[1m�[32m   Compiling�[0m smallvec v1.13.1
�[1m�[32m   Compiling�[0m serde v1.0.197
�[1m�[32m   Compiling�[0m crossbeam-utils v0.8.19
�[1m�[32m   Compiling�[0m regex-syntax v0.8.2
�[1m�[32m   Compiling�[0m scopeguard v1.2.0
�[1m�[32m   Compiling�[0m lock_api v0.4.11
�[1m�[32m   Compiling�[0m either v1.10.0
�[1m�[32m   Compiling�[0m aho-corasick v1.1.2
�[1m�[32m   Compiling�[0m tinyvec_macros v0.1.1
�[1m�[32m   Compiling�[0m bitflags v2.4.2
�[1m�[32m   Compiling�[0m tinyvec v1.6.0
�[1m�[32m   Compiling�[0m regex-automata v0.4.4
�[1m�[32m   Compiling�[0m unicode-normalization v0.1.22
�[1m�[32m   Compiling�[0m rayon-core v1.12.1
�[1m�[32m   Compiling�[0m quote v1.0.35
�[1m�[32m   Compiling�[0m syn v2.0.51
�[1m�[32m   Compiling�[0m bstr v1.9.0
�[1m�[32m   Compiling�[0m crc32fast v1.3.2
�[1m�[32m   Compiling�[0m gix-trace v0.1.7
�[1m�[32m   Compiling�[0m same-file v1.0.6
�[1m�[32m   Compiling�[0m fastrand v2.0.1
�[1m�[32m   Compiling�[0m adler v1.0.2
�[1m�[32m   Compiling�[0m miniz_oxide v0.7.1
�[1m�[32m   Compiling�[0m crossbeam-epoch v0.9.18
�[1m�[32m   Compiling�[0m crossbeam-channel v0.5.11
�[1m�[32m   Compiling�[0m crossbeam-deque v0.8.5
�[1m�[32m   Compiling�[0m crossbeam-queue v0.3.11
�[1m�[32m   Compiling�[0m crossbeam v0.8.4
�[1m�[32m   Compiling�[0m walkdir v2.4.0
�[1m�[32m   Compiling�[0m gix-utils v0.1.9
�[1m�[32m   Compiling�[0m num-traits v0.2.17
�[1m�[32m   Compiling�[0m prodash v28.0.0
�[1m�[32m   Compiling�[0m sha1_smol v1.0.0
�[1m�[32m   Compiling�[0m once_cell v1.19.0
�[1m�[32m   Compiling�[0m parking_lot v0.12.1
�[1m�[32m   Compiling�[0m pkg-config v0.3.29
�[1m�[32m   Compiling�[0m rustix v0.38.31
�[1m�[32m   Compiling�[0m itoa v1.0.10
�[1m�[32m   Compiling�[0m errno v0.3.8
�[1m�[32m   Compiling�[0m powerfmt v0.2.0
�[1m�[32m   Compiling�[0m time-core v0.1.2
�[1m�[32m   Compiling�[0m serde_derive v1.0.197
�[1m�[32m   Compiling�[0m thiserror-impl v1.0.57
�[1m�[32m   Compiling�[0m deranged v0.3.11
�[1m�[32m   Compiling�[0m time-macros v0.2.16
�[1m�[32m   Compiling�[0m rayon v1.9.0
�[1m�[32m   Compiling�[0m flate2 v1.0.28
�[1m�[32m   Compiling�[0m num_threads v0.1.6
�[1m�[32m   Compiling�[0m winnow v0.5.34
�[1m�[32m   Compiling�[0m log v0.4.20
�[1m�[32m   Compiling�[0m memmap2 v0.9.3
�[1m�[32m   Compiling�[0m hashbrown v0.14.3
�[1m�[32m   Compiling�[0m jobserver v0.1.27
�[1m�[32m   Compiling�[0m time v0.3.31
�[1m�[32m   Compiling�[0m cc v1.0.83
�[1m�[32m   Compiling�[0m vcpkg v0.2.15
�[1m�[32m   Compiling�[0m jwalk v0.8.1
�[1m�[32m   Compiling�[0m home v0.5.9
�[1m�[32m   Compiling�[0m pin-project-lite v0.2.13
�[1m�[32m   Compiling�[0m signal-hook-registry v1.4.1
�[1m�[32m   Compiling�[0m heck v0.4.1
�[1m�[32m   Compiling�[0m mio v0.8.10
�[1m�[32m   Compiling�[0m btoi v0.4.3
�[1m�[32m   Compiling�[0m anyhow v1.0.80
�[1m�[32m   Compiling�[0m openssl-sys v0.9.98
�[1m�[32m   Compiling�[0m libz-sys v1.1.14
�[1m�[32m   Compiling�[0m gix-validate v0.8.3
�[1m�[32m   Compiling�[0m gix-chunk v0.4.7
�[1m�[32m   Compiling�[0m gix-path v0.10.5
�[1m�[32m   Compiling�[0m slab v0.4.9
�[1m�[32m   Compiling�[0m utf8parse v0.2.1
�[1m�[32m   Compiling�[0m typenum v1.17.0
�[1m�[32m   Compiling�[0m tempfile v3.10.1
�[1m�[32m   Compiling�[0m version_check v0.9.4
�[1m�[32m   Compiling�[0m generic-array v0.14.7
�[1m�[32m   Compiling�[0m anstyle-parse v0.2.3
�[1m�[32m   Compiling�[0m strsim v0.11.0
�[1m�[32m   Compiling�[0m futures-sink v0.3.30
�[1m�[32m   Compiling�[0m futures-core v0.3.30
�[1m�[32m   Compiling�[0m signal-hook v0.3.17
�[1m�[32m   Compiling�[0m colorchoice v1.0.0
�[1m�[32m   Compiling�[0m anstyle-query v1.0.2
�[1m�[32m   Compiling�[0m anstyle v1.0.4
�[1m�[32m   Compiling�[0m anstream v0.6.11
�[1m�[32m   Compiling�[0m gix-date v0.8.3
�[1m�[32m   Compiling�[0m gix-actor v0.30.0
�[1m�[32m   Compiling�[0m terminal_size v0.3.0
�[1m�[32m   Compiling�[0m libssh2-sys v0.3.0
�[1m�[32m   Compiling�[0m zstd-sys v2.0.9+zstd.1.5.5
�[1m�[32m   Compiling�[0m tracing-core v0.1.32
�[1m�[32m   Compiling�[0m faster-hex v0.9.0
�[1m�[32m   Compiling�[0m percent-encoding v2.3.1
�[1m�[32m   Compiling�[0m gix-hash v0.14.1
�[1m�[32m   Compiling�[0m clap_lex v0.7.0
�[1m�[32m   Compiling�[0m gix-features v0.38.0
�[1m�[32m   Compiling�[0m gix-hashtable v0.5.1
�[1m�[32m   Compiling�[0m rustversion v1.0.14
�[1m�[32m   Compiling�[0m futures-io v0.3.30
�[1m�[32m   Compiling�[0m unicode-bidi v0.3.15
�[1m�[32m   Compiling�[0m clap_builder v4.5.1
�[1m�[32m   Compiling�[0m gix-object v0.41.0
�[1m�[32m   Compiling�[0m gix-fs v0.10.0
�[1m�[32m   Compiling�[0m gix-tempfile v13.1.0
�[1m�[32m   Compiling�[0m gix-commitgraph v0.24.0
�[1m�[32m   Compiling�[0m gix-lock v13.1.0
�[1m�[32m   Compiling�[0m gix-revwalk v0.12.0
�[1m�[32m   Compiling�[0m idna v0.5.0
�[1m�[32m   Compiling�[0m form_urlencoded v1.2.1
�[1m�[32m   Compiling�[0m bytes v1.5.0
�[1m�[32m   Compiling�[0m futures-channel v0.3.30
�[1m�[32m   Compiling�[0m clap_derive v4.5.0
�[1m�[32m   Compiling�[0m tracing-attributes v0.1.27
�[1m�[32m   Compiling�[0m futures-macro v0.3.30
�[1m�[32m   Compiling�[0m getrandom v0.2.12
�[1m�[32m   Compiling�[0m serde_json v1.0.114
�[1m�[32m   Compiling�[0m ucd-trie v0.1.6
�[1m�[32m   Compiling�[0m semver v1.0.21
�[1m�[32m   Compiling�[0m futures-task v0.3.30
�[1m�[32m   Compiling�[0m lazy_static v1.4.0
�[1m�[32m   Compiling�[0m arrayvec v0.7.4
�[1m�[32m   Compiling�[0m camino v1.1.6
�[1m�[32m   Compiling�[0m pin-utils v0.1.0
�[1m�[32m   Compiling�[0m futures v0.1.31
�[1m�[32m   Compiling�[0m tracing v0.1.40
�[1m�[32m   Compiling�[0m uluru v3.0.0
�[1m�[32m   Compiling�[0m clap v4.5.1
�[1m�[32m   Compiling�[0m pest v2.7.7
�[1m�[32m   Compiling�[0m futures-util v0.3.30
�[1m�[32m   Compiling�[0m rand_core v0.6.4
�[1m�[32m   Compiling�[0m signal-hook-mio v0.2.3
�[1m�[32m   Compiling�[0m url v2.5.0
�[1m�[32m   Compiling�[0m gix-ref v0.41.0
�[1m�[32m   Compiling�[0m libgit2-sys v0.16.2+1.7.2
�[1m�[32m   Compiling�[0m tokio-macros v2.2.0
�[1m�[32m   Compiling�[0m gix-sec v0.10.4
�[1m�[32m   Compiling�[0m iovec v0.1.4
�[1m�[32m   Compiling�[0m num_cpus v1.16.0
�[1m�[32m   Compiling�[0m socket2 v0.5.5
�[1m�[32m   Compiling�[0m regex v1.10.3
�[1m�[32m   Compiling�[0m zstd-safe v6.0.6
�[1m�[32m   Compiling�[0m paste v1.0.14
�[1m�[32m   Compiling�[0m byteorder v1.5.0
�[1m�[32m   Compiling�[0m clru v0.6.1
�[1m�[32m   Compiling�[0m regex-syntax v0.6.29
�[1m�[32m   Compiling�[0m ryu v1.0.16
�[1m�[32m   Compiling�[0m unicode-width v0.1.11
�[1m�[32m   Compiling�[0m ppv-lite86 v0.2.17
�[1m�[32m   Compiling�[0m async-trait v0.1.77
�[1m�[32m   Compiling�[0m rand_chacha v0.3.1
�[1m�[32m   Compiling�[0m regex-automata v0.1.10
�[1m�[32m   Compiling�[0m gix-pack v0.47.0
�[1m�[32m   Compiling�[0m bytes v0.4.12
�[1m�[32m   Compiling�[0m pest_meta v2.7.7
�[1m�[32m   Compiling�[0m itertools v0.11.0
�[1m�[32m   Compiling�[0m tokio v1.36.0
�[1m�[32m   Compiling�[0m strum_macros v0.25.3
�[1m�[32m   Compiling�[0m futures-executor v0.3.30
�[1m�[32m   Compiling�[0m crossterm v0.27.0
�[1m�[32m   Compiling�[0m crypto-common v0.1.6
�[1m�[32m   Compiling�[0m block-buffer v0.10.4
�[1m�[32m   Compiling�[0m gix-revision v0.26.0
�[1m�[32m   Compiling�[0m gix-traverse v0.37.0
�[1m�[32m   Compiling�[0m cargo-platform v0.1.6
�[1m�[32m   Compiling�[0m gix-glob v0.16.0
�[1m�[32m   Compiling�[0m gix-config-value v0.14.4
�[1m�[32m   Compiling�[0m gix-quote v0.4.10
�[1m�[32m   Compiling�[0m gix-bitmap v0.2.10
�[1m�[32m   Compiling�[0m filetime v0.2.23
�[1m�[32m   Compiling�[0m unicode-bom v2.0.3
�[1m�[32m   Compiling�[0m arc-swap v1.6.0
�[1m�[32m   Compiling�[0m core-foundation-sys v0.8.6
�[1m�[32m   Compiling�[0m minimal-lexical v0.2.1
�[1m�[32m   Compiling�[0m ref-cast v1.0.22
�[1m�[32m   Compiling�[0m subtle v2.5.0
�[1m�[32m   Compiling�[0m overload v0.1.1
�[1m�[32m   Compiling�[0m digest v0.10.7
�[1m�[32m   Compiling�[0m nom v7.1.3
�[1m�[32m   Compiling�[0m iana-time-zone v0.1.60
�[1m�[32m   Compiling�[0m nu-ansi-term v0.46.0
�[1m�[32m   Compiling�[0m gix-odb v0.57.0
�[1m�[32m   Compiling�[0m gix-config v0.34.0
�[1m�[32m   Compiling�[0m gix-index v0.29.0
�[1m�[32m   Compiling�[0m gix-refspec v0.22.0
�[1m�[32m   Compiling�[0m cargo_metadata v0.17.0
�[1m�[32m   Compiling�[0m futures v0.3.30
�[1m�[32m   Compiling�[0m prost-derive v0.12.3
�[1m�[32m   Compiling�[0m strum v0.25.0
�[1m�[32m   Compiling�[0m pest_generator v2.7.7
�[1m�[32m   Compiling�[0m serde_bser v0.3.1
�[1m�[32m   Compiling�[0m matchers v0.1.0
�[1m�[32m   Compiling�[0m rand v0.8.5
�[1m�[32m   Compiling�[0m gix-discover v0.29.0
�[1m�[32m   Compiling�[0m tokio-util v0.6.10
�[1m�[32m   Compiling�[0m gix-url v0.27.0
�[1m�[32m   Compiling�[0m sharded-slab v0.1.7
�[1m�[32m   Compiling�[0m gix-diff v0.40.0
�[1m�[32m   Compiling�[0m toml v0.5.11
�[1m�[32m   Compiling�[0m tracing-log v0.2.0
�[1m�[32m   Compiling�[0m globset v0.4.14
�[1m�[32m   Compiling�[0m gix-macros v0.1.3
�[1m�[32m   Compiling�[0m ref-cast-impl v1.0.22
�[1m�[32m   Compiling�[0m thread_local v1.1.7
�[1m�[32m   Compiling�[0m instant v0.1.12
�[1m�[32m   Compiling�[0m equivalent v1.0.1
�[1m�[32m   Compiling�[0m smawk v0.3.2
�[1m�[32m   Compiling�[0m pathdiff v0.2.1
�[1m�[32m   Compiling�[0m unicode-segmentation v1.10.1
�[1m�[32m   Compiling�[0m cassowary v0.3.0
�[1m�[32m   Compiling�[0m maplit v1.0.2
�[1m�[32m   Compiling�[0m indoc v2.0.4
�[1m�[32m   Compiling�[0m option-ext v0.2.0
�[1m�[32m   Compiling�[0m unicode-linebreak v0.1.5
�[1m�[32m   Compiling�[0m dirs-sys v0.4.1
�[1m�[32m   Compiling�[0m watchman_client v0.8.0
�[1m�[32m   Compiling�[0m textwrap v0.16.1
�[1m�[32m   Compiling�[0m ratatui v0.23.0
�[1m�[32m   Compiling�[0m config v0.13.4
�[1m�[32m   Compiling�[0m indexmap v2.2.3
�[1m�[32m   Compiling�[0m backoff v0.4.0
�[1m�[32m   Compiling�[0m gix v0.58.0
�[1m�[32m   Compiling�[0m tracing-subscriber v0.3.18
�[1m�[32m   Compiling�[0m ignore v0.4.22
�[1m�[32m   Compiling�[0m prost v0.12.3
�[1m�[32m   Compiling�[0m pest_derive v2.7.7
�[1m�[32m   Compiling�[0m jj-cli v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/cli)
�[1m�[32m   Compiling�[0m zstd v0.12.4
�[1m�[32m   Compiling�[0m blake2 v0.10.6
�[1m�[32m   Compiling�[0m chrono v0.4.34
�[1m�[32m   Compiling�[0m clap_complete v4.5.1
�[1m�[32m   Compiling�[0m serde_spanned v0.6.5
�[1m�[32m   Compiling�[0m toml_datetime v0.6.5
�[1m�[32m   Compiling�[0m jj-lib-proc-macros v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/lib/proc-macros)
�[1m�[32m   Compiling�[0m rtoolbox v0.0.2
�[1m�[32m   Compiling�[0m itertools v0.12.1
�[1m�[32m   Compiling�[0m itertools v0.10.5
�[1m�[32m   Compiling�[0m hex v0.4.3
�[1m�[32m   Compiling�[0m glob v0.3.1
�[1m�[32m   Compiling�[0m roff v0.2.1
�[1m�[32m   Compiling�[0m pollster v0.3.0
�[1m�[32m   Compiling�[0m whoami v1.4.1
�[1m�[32m   Compiling�[0m bitflags v1.3.2
�[1m�[32m   Compiling�[0m esl01-renderdag v0.3.0
�[1m�[32m   Compiling�[0m clap_mangen v0.2.17
�[1m�[32m   Compiling�[0m rpassword v7.3.1
�[1m�[32m   Compiling�[0m toml_edit v0.19.15
�[1m�[32m   Compiling�[0m clap_complete_nushell v4.5.1
�[1m�[32m   Compiling�[0m scm-record v0.2.0
�[1m�[32m   Compiling�[0m tracing-chrome v0.7.1
�[1m�[32m   Compiling�[0m minus v5.5.3
�[1m�[32m   Compiling�[0m dirs v5.0.1
�[1m�[32m   Compiling�[0m clap-markdown v0.1.3
�[1m�[32m   Compiling�[0m timeago v0.4.2
�[1m�[32m   Compiling�[0m git2 v0.18.2
�[1m�[32m   Compiling�[0m jj-lib v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/lib)
�[1m�[32m    Finished�[0m release [optimized] target(s) in 1m 36s
Executing cargoInstallPostBuildHook
Finished cargoInstallPostBuildHook
Finished cargoBuildHook
buildPhase completed in 1 minutes 37 seconds
@nix { "action": "setPhase", "phase": "checkPhase" }
Running phase: checkPhase
Executing cargoNextestHook
++ cargo nextest run -j 10 --cargo-profile release --features=packaging --target aarch64-apple-darwin --frozen --
�[1m�[32m   Compiling�[0m bstr v1.9.0
�[1m�[32m   Compiling�[0m libz-sys v1.1.14
�[1m�[32m   Compiling�[0m openssl-sys v0.9.98
�[1m�[32m   Compiling�[0m cfg-if v1.0.0
�[1m�[32m   Compiling�[0m jj-cli v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/cli)
�[1m�[32m   Compiling�[0m linked-hash-map v0.5.6
�[1m�[32m   Compiling�[0m console v0.15.8
�[1m�[32m   Compiling�[0m similar v2.4.0
�[1m�[32m   Compiling�[0m assert_matches v1.5.0
�[1m�[32m   Compiling�[0m predicates-core v1.0.6
�[1m�[32m   Compiling�[0m test-case-core v3.3.1
�[1m�[32m   Compiling�[0m doc-comment v0.3.3
�[1m�[32m   Compiling�[0m yaml-rust v0.4.5
�[1m�[32m   Compiling�[0m termtree v0.4.1
�[1m�[32m   Compiling�[0m difflib v0.4.0
�[1m�[32m   Compiling�[0m gix-date v0.8.3
�[1m�[32m   Compiling�[0m gix-actor v0.30.0
�[1m�[32m   Compiling�[0m gix-validate v0.8.3
�[1m�[32m   Compiling�[0m gix-object v0.41.0
�[1m�[32m   Compiling�[0m gix-path v0.10.5
�[1m�[32m   Compiling�[0m gix-commitgraph v0.24.0
�[1m�[32m   Compiling�[0m gix-glob v0.16.0
�[1m�[32m   Compiling�[0m gix-config-value v0.14.4
�[1m�[32m   Compiling�[0m gix-quote v0.4.10
�[1m�[32m   Compiling�[0m gix-revwalk v0.12.0
�[1m�[32m   Compiling�[0m gix-ref v0.41.0
�[1m�[32m   Compiling�[0m gix-revision v0.26.0
�[1m�[32m   Compiling�[0m gix-traverse v0.37.0
�[1m�[32m   Compiling�[0m gix-pack v0.47.0
�[1m�[32m   Compiling�[0m gix-index v0.29.0
�[1m�[32m   Compiling�[0m gix-refspec v0.22.0
�[1m�[32m   Compiling�[0m gix-diff v0.40.0
�[1m�[32m   Compiling�[0m gix-url v0.27.0
�[1m�[32m   Compiling�[0m globset v0.4.14
�[1m�[32m   Compiling�[0m gix-config v0.34.0
�[1m�[32m   Compiling�[0m gix-discover v0.29.0
�[1m�[32m   Compiling�[0m gix-odb v0.57.0
�[1m�[32m   Compiling�[0m ignore v0.4.22
�[1m�[32m   Compiling�[0m test-case-macros v3.3.1
�[1m�[32m   Compiling�[0m gix v0.58.0
�[1m�[32m   Compiling�[0m test-case v3.3.1
�[1m�[32m   Compiling�[0m insta v1.35.1
�[1m�[32m   Compiling�[0m predicates v3.1.0
�[1m�[32m   Compiling�[0m predicates-tree v1.0.9
�[1m�[32m   Compiling�[0m wait-timeout v0.2.0
�[1m�[32m   Compiling�[0m assert_cmd v2.0.13
�[1m�[32m   Compiling�[0m proc-macro2 v1.0.78
�[1m�[32m   Compiling�[0m plotters-backend v0.3.5
�[1m�[32m   Compiling�[0m ciborium-io v0.2.1
�[1m�[32m   Compiling�[0m half v1.8.2
�[1m�[32m   Compiling�[0m unicode-ident v1.0.12
�[1m�[32m   Compiling�[0m ciborium-ll v0.2.1
�[1m�[32m   Compiling�[0m plotters-svg v0.3.5
�[1m�[32m   Compiling�[0m cast v0.3.0
�[1m�[32m   Compiling�[0m ciborium v0.2.1
�[1m�[32m   Compiling�[0m criterion-plot v0.5.0
�[1m�[32m   Compiling�[0m quote v1.0.35
�[1m�[32m   Compiling�[0m plotters v0.3.5
�[1m�[32m   Compiling�[0m tinytemplate v1.2.1
�[1m�[32m   Compiling�[0m is-terminal v0.4.10
�[1m�[32m   Compiling�[0m oorandom v11.1.3
�[1m�[32m   Compiling�[0m yansi v0.5.1
�[1m�[32m   Compiling�[0m diff v0.1.13
�[1m�[32m   Compiling�[0m anes v0.1.6
�[1m�[32m   Compiling�[0m prettyplease v0.2.15
�[1m�[32m   Compiling�[0m pretty_assertions v1.4.0
�[1m�[32m   Compiling�[0m syn v2.0.51
�[1m�[32m   Compiling�[0m fixedbitset v0.4.2
�[1m�[32m   Compiling�[0m prost-types v0.12.3
�[1m�[32m   Compiling�[0m criterion v0.5.1
�[1m�[32m   Compiling�[0m petgraph v0.6.4
�[1m�[32m   Compiling�[0m which v4.4.2
�[1m�[32m   Compiling�[0m heck v0.4.1
�[1m�[32m   Compiling�[0m multimap v0.8.3
�[1m�[32m   Compiling�[0m jj-lib-proc-macros v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/lib/proc-macros)
�[1m�[32m   Compiling�[0m libssh2-sys v0.3.0
�[1m�[32m   Compiling�[0m prost-build v0.12.3
�[1m�[32m   Compiling�[0m libgit2-sys v0.16.2+1.7.2
�[1m�[32m   Compiling�[0m git2 v0.18.2
�[1m�[32m   Compiling�[0m gen-protos v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/lib/gen-protos)
�[1m�[32m   Compiling�[0m jj-lib v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/lib)
�[1m�[32m   Compiling�[0m testutils v0.14.0 (/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/lib/testutils)
�[1m�[32m    Finished�[0m release [optimized] target(s) in 1m 56s
�[31;1merror�[0m: creating test list failed

Caused by:
  for `jj-lib-proc-macros`, command `/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/deps/jj_lib_proc_macros-1debf585481c427f --list --format terse` exited with signal 6 (SIGABRT)
--- stdout:

--- stderr:
dyld[67903]: Library not loaded: @rpath/libtest-88e97e58e3f4c34e.dylib
  Referenced from: <AD211D3E-FD15-35D0-8619-F904A9F85F2F> /private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/deps/jj_lib_proc_macros-1debf585481c427f
  Reason: tried: '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/build/libgit2-sys-ea5f14cdceab7af0/out/build/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/build/libz-sys-defbe9ee827e75ea/out/lib/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/deps/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/aarch64-apple-darwin/release/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/deps/libtest-88e97e58e3f4c34e.dylib' (no such file), '/private/tmp/nix-build-jujutsu-unstable-1d4860c.drv-0/source/target/release/libtest-88e97e58e3f4c34e.dylib' (no such file), '/homeless-shelter/lib/libtest-88e97e58e3f4c34e.dylib' (no such file), '/usr/local/lib/libtest-88e97e58e3f4c34e.dylib' (no such file), '/usr/lib/libtest-88e97e58e3f4c34e.dylib' (no such file, not in dyld cache)

---

It seems to build fine, but the checkPhase is the one that's failing.

I am by no means a very experienced Nix user, do let me know if I'm making an error here.

Workaround

Overriding the derivation with doCheck = false does give me a working binary.

  jujutsu = prev.jujutsu.overrideAttrs (old: {
    doCheck = false;
  });

Specifications

  • Platform: macOS

  • Version: Sonoma 14.2.1

  • Nix info:

    nix-info -m
     - system: `"aarch64-darwin"`
     - host os: `Darwin 23.2.0, macOS 14.2.1`
     - multi-user?: `yes`
     - sandbox: `no`
     - version: `nix-env (Nix) 2.18.1`
    
@thoughtpolice
Copy link
Contributor

This will be fixed by #3136

@bnjmnt4n
Copy link
Member Author

@thoughtpolice thanks, I didn't see that issue when searching directly for the error message. Should I close this issue, or leave it open until the PR is merged?

@thoughtpolice
Copy link
Contributor

@thoughtpolice thanks, I didn't see that issue when searching directly for the error message. Should I close this issue, or leave it open until the PR is merged?

I made sure to add this issue to the PR so it would auto-close when merged. :) You should be good to go now if you just try nix run or nix profile install.

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

Successfully merging a pull request may close this issue.

2 participants