| 19 Jul 2025 |
Artturin | Let's add doInstallCheckCross? | 02:04:23 |
Colin | In reply to @artturin:matrix.org Let's add doInstallCheckCross? hmm, there are some old TODOs about not forcing doInstallCheck to be false on cross. idk if those might still be relevant | 02:05:12 |
Artturin | In reply to @colin:uninsane.org is there an easy way i can build all passthru.tests for every package i have on my system? I'm not aware of an easy way | 02:07:12 |
Colin | Redacted or Malformed Event | 02:08:04 |
Colin | In reply to @colin:uninsane.org hmm, there are some old TODOs about not forcing doInstallCheck to be false on cross. idk if those might still be relevant https://github.com/NixOS/nixpkgs/blob/aa030ff8678c65967b09472893bab8f35c643d15/pkgs/stdenv/generic/make-derivation.nix#L322-L324 | 02:08:07 |
| missbehaves changed their display name from thewholeworldisburning123 💕 to missbehaves. | 19:49:29 |
| 22 Jul 2025 |
@neobrain:matrix.org | Is it possible to use nix to install a cross-compiling GCC (including libstdc++) targeting a non-nix runtime environment (i.e. using the host libc and reading libraries from /usr/lib)? | 08:39:50 |
@neobrain:matrix.org | (I'm assuming this would be equivalent to compiling gcc without any nix-specific patches, which is probably easier said than done) | 08:40:53 |
@neobrain:matrix.org | * Is it possible to use nix to install a cross-compiling GCC (including libstdc++) targeting a non-nix runtime environment (i.e. using the host libc and reading libraries from /usr/lib instead of referencing the nix store)? | 08:42:01 |
| 23 Jul 2025 |
| implr set a profile picture. | 10:57:42 |
| implr changed their profile picture. | 11:22:01 |
| 24 Jul 2025 |
Greg Hellings | I've used it to build Windows binaries, so I'm sure what you're asking for is possible. There are lots of targets under the pkgsCross collection, including Android, many flavors of BSD, Windows, Darwin, and more. | 04:07:35 |
Artturin | In reply to @neobrain:matrix.org (I'm assuming this would be equivalent to compiling gcc without any nix-specific patches, which is probably easier said than done) https://trofi.github.io/posts/289-building-vanilla-gcc-on-nixos.html | 08:34:15 |
@neobrain:matrix.org | Thanks, I'll have to play around with that! | 19:58:39 |
| 25 Jul 2025 |
| Vuks joined the room. | 18:01:51 |
| 26 Jul 2025 |
| oak 🏳️🌈♥️ changed their profile picture. | 08:27:11 |
| 27 Jul 2025 |
| QuadRadical (Ping) changed their display name from QuadRadical (Ping / Reply) to QuadRadical (Ping). | 19:57:24 |
| 28 Jul 2025 |
| ytr set a profile picture. | 10:06:36 |
| 1 Aug 2025 |
| skoove changed their profile picture. | 08:08:51 |
| skoove changed their profile picture. | 08:08:55 |
| 6 Aug 2025 |
| FireFly joined the room. | 07:16:50 |
QuadRadical (Ping) | Alrighty, another cross compile error :)
error: builder for '/nix/store/wlf1hfax3y1qb1z246qc0hvznq9r5nbv-bind-aarch64-unknown-linux-gnu-9.20.11.drv' failed with exit code 1;
last 25 log lines:
> checking for library containing backtrace_symbols... none required
> checking for backtrace_symbols... yes
> checking for IPv6 structures... yes
> checking for strlcpy... yes
> checking for strlcat... yes
> checking for strnstr... no
> checking for libedit... no
> checking for libeditline... no
> checking for readline... no
> checking for chroot... yes
> checking for libcap... yes
> checking for tzset... yes
> checking for optarg declaration... yes
> checking for st_mtim.tv_nsec... yes
> checking for if_nametoindex... yes
> checking for uchar.h... yes
> checking compiler support for __builtin_unreachable()... yes
> checking compiler support for __builtin_clz... yes
> checking compiler support for __builtin_add_overflow()... yes
> checking compiler support for __builtin_sub_overflow()... yes
> checking compiler support for __builtin_mul_overflow()... yes
> checking for libfstrm libprotobuf-c... yes
> checking for fstrm_capture... no
> checking for protoc-c... no
> configure: error: protoc-c compiler not found
For full logs, run 'nix log /nix/store/wlf1hfax3y1qb1z246qc0hvznq9r5nbv-bind-aarch64-unknown-linux-gnu-9.20.11.drv'.
error: 1 dependencies of derivation '/nix/store/qmw9hxybmr6wpn5l5fzac19154a87f3y-bind-aarch64-unknown-linux-gnu-9.20.11_fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/khaqk99n0qvsgimcwv0xccm5idkdrrjc-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4xkzi9cgaymn3b6hv8zciz54hhkpr3gk-system-path.drv' failed to build
error (ignored): error: cannot unlink 'ruby-3.3.8' in directory '/nix/var/nix/builds/nix-build-ruby-aarch64-unknown-linux-gnu-3.3.8.drv-0': Directory not empty
error: 1 dependencies of derivation '/nix/store/j4pa68jw1j8hlz0arrslhwkrwn48rsk3-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zffzw9njkqvnjzcln3zmq28nvq5jqq6g-nixos-system-quadphone-25.11.20250803.5b09dc4.drv' failed to build
error (ignored): error: cannot unlink 'man' in directory '/nix/var/nix/builds/nix-build-systemd-minimal-aarch64-unknown-linux-gnu-257.6.drv-0/source': Directory not empty
error: 1 dependencies of derivation '/nix/store/j4mmybnicx5jrdz9glzq1nac0pm05s21-image.drv' failed to build
Any ideas? Thanks :D | 17:52:05 |
QuadRadical (Ping) | Unmaintained too :/ | 17:52:40 |
FZDSLR | In reply to @quadradical:federated.nexus Alrighty, another cross compile error :)
error: builder for '/nix/store/wlf1hfax3y1qb1z246qc0hvznq9r5nbv-bind-aarch64-unknown-linux-gnu-9.20.11.drv' failed with exit code 1;
last 25 log lines:
> checking for library containing backtrace_symbols... none required
> checking for backtrace_symbols... yes
> checking for IPv6 structures... yes
> checking for strlcpy... yes
> checking for strlcat... yes
> checking for strnstr... no
> checking for libedit... no
> checking for libeditline... no
> checking for readline... no
> checking for chroot... yes
> checking for libcap... yes
> checking for tzset... yes
> checking for optarg declaration... yes
> checking for st_mtim.tv_nsec... yes
> checking for if_nametoindex... yes
> checking for uchar.h... yes
> checking compiler support for __builtin_unreachable()... yes
> checking compiler support for __builtin_clz... yes
> checking compiler support for __builtin_add_overflow()... yes
> checking compiler support for __builtin_sub_overflow()... yes
> checking compiler support for __builtin_mul_overflow()... yes
> checking for libfstrm libprotobuf-c... yes
> checking for fstrm_capture... no
> checking for protoc-c... no
> configure: error: protoc-c compiler not found
For full logs, run 'nix log /nix/store/wlf1hfax3y1qb1z246qc0hvznq9r5nbv-bind-aarch64-unknown-linux-gnu-9.20.11.drv'.
error: 1 dependencies of derivation '/nix/store/qmw9hxybmr6wpn5l5fzac19154a87f3y-bind-aarch64-unknown-linux-gnu-9.20.11_fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/khaqk99n0qvsgimcwv0xccm5idkdrrjc-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4xkzi9cgaymn3b6hv8zciz54hhkpr3gk-system-path.drv' failed to build
error (ignored): error: cannot unlink 'ruby-3.3.8' in directory '/nix/var/nix/builds/nix-build-ruby-aarch64-unknown-linux-gnu-3.3.8.drv-0': Directory not empty
error: 1 dependencies of derivation '/nix/store/j4pa68jw1j8hlz0arrslhwkrwn48rsk3-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zffzw9njkqvnjzcln3zmq28nvq5jqq6g-nixos-system-quadphone-25.11.20250803.5b09dc4.drv' failed to build
error (ignored): error: cannot unlink 'man' in directory '/nix/var/nix/builds/nix-build-systemd-minimal-aarch64-unknown-linux-gnu-257.6.drv-0/source': Directory not empty
error: 1 dependencies of derivation '/nix/store/j4mmybnicx5jrdz9glzq1nac0pm05s21-image.drv' failed to build
Any ideas? Thanks :D https://github.com/NixOS/nixpkgs/pull/430164 | 18:30:09 |
QuadRadical (Ping) | woohoo thanks!! | 18:30:27 |
| 8 Aug 2025 |
QuadRadical (Ping) | Hmm, any clues on this now?
error: builder for '/nix/store/10w675y81lc7bnljwk5xzdp0dqibj0ym-ruby-aarch64-unknown-linux-gnu-3.3.8.drv' failed with exit code 2;
last 25 log lines:
> |
> 750 | if let Some(cfunc_name_to_idx) = CFUNC_NAME_TO_IDX.as_mut() {
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
> |
> = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
> = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
>
> warning: creating a mutable reference to mutable static
> --> ./yjit/src/stats.rs:751:31
> |
> 751 | let call_counts = CFUNC_CALL_COUNT.as_mut().unwrap();
> | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
> |
> = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
> = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
>
> warning: 17 warnings emitted
>
> touch yjit/target/release/libyjit.a
> partial linking yjit/target/release/libyjit.a into yjit/target/release/libyjit.o
> /nix/store/g3hp4ilgnq77kycj57an658s28k2h1pp-aarch64-unknown-linux-gnu-binutils-2.44/bin/aarch64-unknown-linux-gnu-ld: yjit/target/release/libyjit.a(yjit.10tuhdtq5iclk7uhuxsxfkyg1.rcgu.o): Relocations in generic ELF (EM: 62)
> /nix/store/g3hp4ilgnq77kycj57an658s28k2h1pp-aarch64-unknown-linux-gnu-binutils-2.44/bin/aarch64-unknown-linux-gnu-ld: yjit/target/release/libyjit.a(yjit.10tuhdtq5iclk7uhuxsxfkyg1.rcgu.o): Relocations in generic ELF (EM: 62)
> /nix/store/g3hp4ilgnq77kycj57an658s28k2h1pp-aarch64-unknown-linux-gnu-binutils-2.44/bin/aarch64-unknown-linux-gnu-ld: yjit/target/release/libyjit.a(yjit.10tuhdtq5iclk7uhuxsxfkyg1.rcgu.o): error adding symbols: file in wrong format
> make: *** [yjit/yjit.mk:48: yjit/target/release/libyjit.o] Error 1
> make: *** Waiting for unfinished jobs....
For full logs, run 'nix log /nix/store/10w675y81lc7bnljwk5xzdp0dqibj0ym-ruby-aarch64-unknown-linux-gnu-3.3.8.drv'.
error: 1 dependencies of derivation '/nix/store/ay6j2j4zg12sbs8jz8bw9r057bcb4sxc-unity-test-aarch64-unknown-linux-gnu-2.6.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ps5x4gn7zpfp4k9aq3lm1i36djdisqqz-remove-fetchcontent-usage.patch.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p602213sl9z2ikp6wljv3h0brvbac1kv-iniparser-aarch64-unknown-linux-gnu-4.2.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fy0s91xlvk5d8p01mxindk1rcwfm1vcn-libndctl-aarch64-unknown-linux-gnu-82.drv' failed to build
error: 1 dependencies of derivation '/nix/store/frqmb2a4x46rmwdzzj5lvcnmnsnixbsn-libblockdev-aarch64-unknown-linux-gnu-3.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rsz76hnrhx591arjv3znhjmd0b4j92yr-etc.drv' failed to build
error (ignored): error: cannot unlink 'nix-build-spidermonkey-aarch64-unknown-linux-gnu-128.5.0.drv-0' in directory '/nix/var/nix/builds': Directory not empty
error: 1 dependencies of derivation '/nix/store/k8zkxmzqhfksa41ilhawgygzq8b1d1vn-udisks-aarch64-unknown-linux-gnu-2.10.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1bxab7jcg8pr1zdgxb3b3cqzmly80ay6-nixos-system-quadphone-25.11.20250806.c2ae88e.drv' failed to build
error: 1 dependencies of derivation '/nix/store/yd1cmgqg7626zzv4yiv00xc6wmky9897-ukify.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/058cmhlhhg4slpbp2dk1f0lzqw6k2i82-image.drv' failed to build
| 03:32:08 |
QuadRadical (Ping) | Ah it's reported. https://github.com/NixOS/nixpkgs/issues/405767 | 03:32:47 |
| ash (it/its) 🏳️⚧️ changed their profile picture. | 06:04:47 |
| 0x4A6F joined the room. | 06:25:57 |
| 11 Aug 2025 |
| rake5k joined the room. | 19:58:57 |