You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reviewing a Nixpkgs PR (NixOS/nixpkgs#116274 (comment)) which intends to add a new stdenv (the default build environment for packages in NIxpkgs) based on uutils-coreutils instead of GNU coreutils. The good news is that some packages build successfully such as bash, tmux, guile, fish. However several common packages do not, here's an example backtrace when compiling miranda (it compiles successfully with GNU coreutils).
[nix-shell:~/nixpkgs]$ nix-build --show-trace -E 'with import ./. { }; miranda.override { stdenv = stdenvUutilsCoreutils; }'
these derivations will be built:
/nix/store/5dih65675n9dkzdvr4h5dv8k0k9bqxyq-miranda-2.066.drv
building '/nix/store/5dih65675n9dkzdvr4h5dv8k0k9bqxyq-miranda-2.066.drv'...
unpacking sources
unpacking source archive /nix/store/dl6ahdcycmw4yry2zpmslq7w7i2mdlvk-source
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/uu/cp/src/cp.rs:1257:10
stack backtrace:
0: 0x555555a0810c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h579b28686b409bee
1: 0x555555a3210f - core::fmt::write::h177edd21b8369127
2: 0x555555a07666 - std::io::Write::write_fmt::haa2ae72671ba5de2
3: 0x5555559e7a85 - std::panicking::default_hook::{{closure}}::h71a46c54ea32ce02
4: 0x5555559e7653 - std::panicking::default_hook::h562e9028aa910d56
5: 0x5555559e80ea - std::panicking::rust_panic_with_hook::hb6c7abba650d43fa
6: 0x555555a08597 - std::panicking::begin_panic_handler::{{closure}}::h477cfd41c4af51c1
7: 0x555555a0824c - std::sys_common::backtrace::__rust_end_short_backtrace::h2441af18d2e25caa
8: 0x5555559e7c62 - rust_begin_unwind
9: 0x555555a35381 - core::panicking::panic_fmt::h517c1ed6f8518cd6
10: 0x555555a3a953 - core::result::unwrap_failed::h441cbb6e6d50fbfd
11: 0x55555593d62e - uu_cp::copy_helper::h0d6f49dd6ece054a
12: 0x55555593ab35 - uu_cp::copy_file::h61df3196d7a7b976
13: 0x555555938c32 - uu_cp::copy::h8f71f7611c902b71
14: 0x55555562306a - uu_cp::uumain::h95ac159c93136cc4
15: 0x5555555f4543 - coreutils::main::h034f826d5af37e42
16: 0x5555555ef2d3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h612ef4d5ed08f219
17: 0x555555697ac9 - std::rt::lang_start::{{closure}}::h9f84df5707532228
18: 0x5555559e847a - std::rt::lang_start_internal::h8fef16c8ee038552
19: 0x5555555f4862 - main
20: 0x7ffff7ca4ded - __libc_start_main
21: 0x5555555c71ea - _start
22: 0x0 - <unknown>
do not know how to unpack source archive /nix/store/dl6ahdcycmw4yry2zpmslq7w7i2mdlvk-source
builder for '/nix/store/5dih65675n9dkzdvr4h5dv8k0k9bqxyq-miranda-2.066.drv' failed with exit code 1
error: build of '/nix/store/5dih65675n9dkzdvr4h5dv8k0k9bqxyq-miranda-2.066.drv' failed
The text was updated successfully, but these errors were encountered:
I was reviewing a Nixpkgs PR (NixOS/nixpkgs#116274 (comment)) which intends to add a new stdenv (the default build environment for packages in NIxpkgs) based on uutils-coreutils instead of GNU coreutils. The good news is that some packages build successfully such as bash, tmux, guile, fish. However several common packages do not, here's an example backtrace when compiling miranda (it compiles successfully with GNU coreutils).
The text was updated successfully, but these errors were encountered: