-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I just installed a fresh copy of NixOS on my Raspberry Pi 4B and tried to get my Hyperpixel panel to work. Connecting the panel and trying to compile this flake from the unit, I get a reproducible SIGBUS error message:
> nix build github:lovesegfault/hyperpixel-init
error: builder for '/nix/store/09dfw6akknpj62b878pgg68kyqn0isn4-hyperpixel_init-deps-aarch64-unknown-linux-musl-0.1.0.drv' failed with exit code 101;
last 10 log lines:
> Executing configureCargoCommonVars
> updateAutotoolsGnuConfigScriptsPhase
> configuring
> will append /build/dummy-src/.cargo-home/config.toml with contents of /nix/store/xqqvk835zgxlca6rln346kfqh9rk6gpx-vendor-cargo-deps/config.toml
> no configure script, doing nothing
> building
> ++ command cargo --version
> cargo 1.63.0 (fd9c4297c 2022-07-01)
> ++ command cargo check --profile release --all-targets
> error: process didn't exit successfully: `rustc -vV` (signal: 7, SIGBUS: access to undefined memory)
For full logs, run 'nix log /nix/store/09dfw6akknpj62b878pgg68kyqn0isn4-hyperpixel_init-deps-aarch64-unknown-linux-musl-0.1.0.drv'.
error: 1 dependencies of derivation '/nix/store/hx5rjyabw575aq68nhkihd7ms1b613r2-hyperpixel_init-aarch64-unknown-linux-musl-0.1.0.drv' failed to build
Edit - the nix log ...
output is:
cargoArtifacts not set, will not reuse any cargo artifacts
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/jjy32ybf05wibbnxf22v80rc9vca2z5h-dummy-src
source root is dummy-src
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing configureCargoCommonVars
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
will append /build/dummy-src/.cargo-home/config.toml with contents of /nix/store/xqqvk835zgxlca6rln346kfqh9rk6gpx-vendor-cargo-deps/config.toml
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
++ command cargo --version
cargo 1.63.0 (fd9c4297c 2022-07-01)
++ command cargo check --profile release --all-targets
error: process didn't exit successfully: `rustc -vV` (signal: 7, SIGBUS: access to undefined memory)
Metadata
Metadata
Assignees
Labels
No labels