!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

569 Members
124 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@quadradical:federated.nexusQuadRadical (Ping) ahh, thank you! 19:01:07
@quadradical:federated.nexusQuadRadical (Ping) welp time to build librewolf 19:10:55
@quadradical:federated.nexusQuadRadical (Ping) damn
warning: Git tree '/home/quadradical/.config/nixos' is dirty
error: builder for '/nix/store/n4a2w5m6d37skfvcy2lgl4m6pdbwr89y-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv' failed with exit code 1;
       last 25 log lines:
       >    Compiling toml_datetime v0.6.8
       >    Compiling fastrand v2.3.0
       > error: linker `cc` not found
       >   |
       >   = note: No such file or directory (os error 2)
       >
       >    Compiling static_assertions v1.1.0
       > error: could not compile `proc-macro2` (build script) due to 1 previous error
       > warning: build failed, waiting for other jobs to finish...
       > error: could not compile `crossbeam-utils` (build script) due to 1 previous error
       > error: could not compile `serde` (build script) due to 1 previous error
       > error: could not compile `libc` (build script) due to 1 previous error
       > [1/12] Merging translations for loaders/glycin-jxl.conf
       > /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
       > [2/12] Merging translations for loaders/glycin-svg.conf
       > /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
       > [3/12] Merging translations for loaders/glycin-image-rs.conf
       > /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
       > loaders/tmp-glycin-image-rs:27:0: warning: invalid non-blank line
       > loaders/tmp-glycin-image-rs:31:0: warning: invalid non-blank line
       > [4/12] Merging translations for loaders/glycin-heif.conf
       > /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
       > FAILED: loaders/glycin-heif-bin
       > env CARGO_HOME=/build/glycin-1.2.3/build/cargo-home LOCALEDIR=/nix/store/cdpamqr3bgswbjkn0bbz4ah259rif5nm-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3/share/locale GIT_DESCRIBE= /nix/store/as0xa9521nz18lgw9a5q3r3x5r4b15pz-aarch64-unknown-linux-gnu-cargo-1.88.0/bin/cargo build --target-dir /build/glycin-1.2.3/build/cargo-target --profile release --manifest-path /build/glycin-1.2.3/Cargo.toml --package glycin-heif
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/n4a2w5m6d37skfvcy2lgl4m6pdbwr89y-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv'.
error: 1 dependencies of derivation '/nix/store/g62g4z53fpykmzbkhwxr623smj7y62ky-loupe-aarch64-unknown-linux-gnu-48.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jr2bvv6ypxdk1kiq81y8g7vckfrspi99-snapshot-aarch64-unknown-linux-gnu-48.0.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/grshilj0mrln0ihslfn9zws30a7nnkdg-loupe-aarch64-unknown-linux-gnu-48.1_fish-completions.drv' failed to build
error (ignored): error: cannot unlink 'deps' in directory '/nix/var/nix/builds/nix-build-librewolf-unwrapped-aarch64-unknown-linux-gnu-141.0.3-1.drv-1/firefox-141.0.3/objdir/release': Directory not empty
error: 1 dependencies of derivation '/nix/store/pcb6i896ym3dv7a5lzj847584hlzvavs-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d1r8gx1469b5djkyygnr4k5a0fz9fci2-system-path.drv' failed to build
error (ignored): error: cannot unlink 'build' in directory '/nix/var/nix/builds/nix-build-gjs-aarch64-unknown-linux-gnu-1.84.2.drv-0/gjs-1.84.2': Directory not empty
error: 1 dependencies of derivation '/nix/store/ldin4dvw5zark6rp4wzwnh5j03y4671v-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cwj7lw5l8707vw9dg4f3igf1lgmgg5s1-nixos-system-quadphone-25.11.20250812.005433b.drv' failed to build
error: 1 dependencies of derivation '/nix/store/l0v9snvnsyk0m7vy4jmd5injs4sp74s3-image.drv' failed to build
19:26:32
@artturin:matrix.orgArtturinhttps://gitlab.gnome.org/GNOME/glycin/-/blob/main/glycin-loaders/meson.build?ref_type=heads#L80 Looks like the same issue as https://github.com/NixOS/nixpkgs/pull/43457919:29:38
@quadradical:federated.nexusQuadRadical (Ping)hmm okay thanks19:29:55
@quadradical:federated.nexusQuadRadical (Ping)do you think the same substitute will work?19:31:31
@artturin:matrix.orgArtturinApplied to here https://gitlab.gnome.org/GNOME/glycin/-/blob/main/glycin-loaders/meson.build?ref_type=heads#L106 19:32:21
@artturin:matrix.orgArtturinRedacted or Malformed Event19:32:43
@artturin:matrix.orgArtturin * Change this https://gitlab.gnome.org/GNOME/glycin/-/blob/main/glycin-loaders/meson.build?ref_type=heads#L106 19:33:10
@quadradical:federated.nexusQuadRadical (Ping)hmm okay thanks19:36:32
@quadradical:federated.nexusQuadRadical (Ping) with a substituteInPlace like before right? 19:40:09
@artturin:matrix.orgArtturinyeah19:40:17
@quadradical:federated.nexusQuadRadical (Ping) so do i not need two substitutes like i do for user share? 19:41:14
@artturin:matrix.orgArtturinCheck the current state of https://github.com/NixOS/nixpkgs/pull/43457919:41:43
@quadradical:federated.nexusQuadRadical (Ping)oh i see thanks19:43:00
@quadradical:federated.nexusQuadRadical (Ping) hmm
        postPatch = lib.optionalString (super.stdenv.buildPlatform != super.stdenv.hostPlatform) ''
          substituteInPlace meson.build \
            --replace-fail "cargo_target_dir / rust_target / loader," "'${super.stdenv.hostPlatform.rust.cargoShortTarget}' / cargo_target_dir / rust_target / loader,"
        '';
i tried this but it doesnt match
19:53:17
@quadradical:federated.nexusQuadRadical (Ping)im not sure what i did wrong19:53:20
@quadradical:federated.nexusQuadRadical (Ping) @Artturin sorry for the ping but if you have an idea id be most appreciative 19:54:52
@artturin:matrix.orgArtturinwrong path19:56:17
@quadradical:federated.nexusQuadRadical (Ping)oh?19:58:29
@quadradical:federated.nexusQuadRadical (Ping) is it glycin-loaders/meson.build? 19:58:40
@quadradical:federated.nexusQuadRadical (Ping) because that says ERROR: file 'glycin-loaders/meson.build' does not exist 19:59:28
@quadradical:federated.nexusQuadRadical (Ping)ty for the help btw, i do appreciate it20:01:20
@artturin:matrix.orgArtturin Build with --keep-failed and inspect the failed build in /tmp 20:02:06
@artturin:matrix.orgArtturin With for example ranger 20:02:14
@artturin:matrix.orgArtturin * With for example ranger cli file manager 20:02:18
@quadradical:federated.nexusQuadRadical (Ping) sorry, how do i build only that package with my overlay? 20:04:53
@quadradical:federated.nexusQuadRadical (Ping)ah i found a way20:07:06
@artturin:matrix.orgArtturin nixosConfigurations.<hostname>.pkgs.glycin-loaders might work 20:11:09
@quadradical:federated.nexusQuadRadical (Ping)its going thanks20:13:04

Show newer messages


Back to Room ListRoom Version: 6