| 18 Aug 2025 |
QuadRadical (Ping) | ahh, thank you! | 19:01:07 |
QuadRadical (Ping) | welp time to build librewolf | 19:10:55 |
QuadRadical (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 | https://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/434579 | 19:29:38 |
QuadRadical (Ping) | hmm okay thanks | 19:29:55 |
QuadRadical (Ping) | do you think the same substitute will work? | 19:31:31 |
Artturin | Applied to here https://gitlab.gnome.org/GNOME/glycin/-/blob/main/glycin-loaders/meson.build?ref_type=heads#L106 | 19:32:21 |
Artturin | Redacted or Malformed Event | 19:32:43 |
Artturin | * Change this https://gitlab.gnome.org/GNOME/glycin/-/blob/main/glycin-loaders/meson.build?ref_type=heads#L106 | 19:33:10 |
QuadRadical (Ping) | hmm okay thanks | 19:36:32 |
QuadRadical (Ping) | with a substituteInPlace like before right? | 19:40:09 |
Artturin | yeah | 19:40:17 |
QuadRadical (Ping) | so do i not need two substitutes like i do for user share? | 19:41:14 |
Artturin | Check the current state of https://github.com/NixOS/nixpkgs/pull/434579 | 19:41:43 |
QuadRadical (Ping) | oh i see thanks | 19:43:00 |
QuadRadical (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 (Ping) | im not sure what i did wrong | 19:53:20 |
QuadRadical (Ping) | @Artturin sorry for the ping but if you have an idea id be most appreciative | 19:54:52 |
Artturin | wrong path | 19:56:17 |
QuadRadical (Ping) | oh? | 19:58:29 |
QuadRadical (Ping) | is it glycin-loaders/meson.build? | 19:58:40 |
QuadRadical (Ping) | because that says ERROR: file 'glycin-loaders/meson.build' does not exist | 19:59:28 |
QuadRadical (Ping) | ty for the help btw, i do appreciate it | 20:01:20 |
Artturin | Build with --keep-failed and inspect the failed build in /tmp | 20:02:06 |
Artturin | With for example ranger | 20:02:14 |
Artturin | * With for example ranger cli file manager | 20:02:18 |
QuadRadical (Ping) | sorry, how do i build only that package with my overlay? | 20:04:53 |
QuadRadical (Ping) | ah i found a way | 20:07:06 |
Artturin | nixosConfigurations.<hostname>.pkgs.glycin-loaders might work | 20:11:09 |
QuadRadical (Ping) | its going thanks | 20:13:04 |