!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
127 Servers

Load older messages


SenderMessageTime
6 Aug 2025
@quadradical:federated.nexusQuadRadical (Ping) woohoo thanks!! 18:30:27
8 Aug 2025
@quadradical:federated.nexusQuadRadical (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:federated.nexusQuadRadical (Ping)Ah it's reported. https://github.com/NixOS/nixpkgs/issues/40576703:32:47
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their profile picture.06:04:47
@0x4a6f:nixos.dev0x4A6F joined the room.06:25:57
11 Aug 2025
@rake5k:matrix.orgrake5k joined the room.19:58:57
13 Aug 2025
@pachumicchu:matrix.orgParthiv Seetharaman joined the room.05:50:45
@aidalgol:matrix.orgaidalgol joined the room.21:55:51
@aidalgol:matrix.orgaidalgol I maintain the package for an application that can launch Windows games under Proton, and upstream bundles a couple of native Windows executables for compatibility reasons. I have attempted to package these, but I am not sure whether my approach is acceptable in nixpkgs. Could I please get some feedback on this PR? The cross-built packages are heroic-epic-integration and galaxy-dummy-service. 22:31:54
@emilazy:matrix.orgemily
In reply to @aidalgol:matrix.org
I maintain the package for an application that can launch Windows games under Proton, and upstream bundles a couple of native Windows executables for compatibility reasons. I have attempted to package these, but I am not sure whether my approach is acceptable in nixpkgs. Could I please get some feedback on this PR? The cross-built packages are heroic-epic-integration and galaxy-dummy-service.
we have a few places where pkgsCross is used and hard to remove, but we don't like to do it. it instantiates another Nixpkgs which is expensive. are the binaries pure Rust?
23:54:27
14 Aug 2025
@aidalgol:matrix.orgaidalgolBoth are pure C.00:04:04
@emilazy:matrix.orgemilyI assume they depend on libc, right?00:04:58
@emilazy:matrix.orgemilyotherwise an unwrapped compiler could be used00:05:09
@aidalgol:matrix.orgaidalgolBoth depend on win32 API.00:06:43
@aidalgol:matrix.orgaidalgol* Both depend on the win32 API.00:06:51
@emilazy:matrix.orgemilymay be nothing else for it then00:07:04
@aidalgol:matrix.orgaidalgol You mean we have to use pkgsCross, or we can use an unwrapped compiler? 06:05:36
@k900:0upti.meK900pkgsCross is probably the way06:08:59
@k900:0upti.meK900Unfortunately06:09:01
17 Aug 2025
@quadradical:federated.nexusQuadRadical (Ping) hmm, authenticator cross compile is broken:
error: builder for '/nix/store/psqdy3bj35mbqmmkbcsgv117pqglk1in-qtsvg-5.15.17.drv' failed with exit code 1;
       last 3 log lines:
       > Error: detected mismatched Qt dependencies:
       >     /nix/store/y9zd90mb7hn1g4zhsrfgl1kfqa8hjwf4-qtbase-5.15.17-dev
       >     /nix/store/r510hzq4jqdcikmar5c4iplyxdzhr5vn-qtbase-5.15.17-dev
       For full logs, run 'nix log /nix/store/psqdy3bj35mbqmmkbcsgv117pqglk1in-qtsvg-5.15.17.drv'.
error: 1 dependencies of derivation '/nix/store/rriq25m5rsp5xszas9hp9wi07iisv04l-qtdeclarative-5.15.17.drv' failed to build
error: 1 dependencies of derivation '/nix/store/46f9mkbq55g1na12x65a21vv0m4pdnd8-qtquickcontrols-5.15.17.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6q027f3k159jli65a9q9pbd1gqgn7i1d-qtwayland-5.15.17.drv' failed to build
error: 1 dependencies of derivation '/nix/store/crja800vn0iglix53lr45cw0c7xk9mdp-wrap-qt5-apps-hook.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x7qg17fg1fvsa66xjsbsraglv1c70i1r-zbar-aarch64-unknown-linux-gnu-0.23.93.drv' failed to build
error: 1 dependencies of derivation '/nix/store/358f77fxvb517vnmw6bwwjxs3qx2s62b-authenticator-aarch64-unknown-linux-gnu-4.6.2.drv' failed to build
18:31:58
@quadradical:federated.nexusQuadRadical (Ping)ah reported https://github.com/NixOS/nixpkgs/issues/26975618:32:23
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)oh no, that thing...18:36:07
@quadradical:federated.nexusQuadRadical (Ping)yep, k900 just told me qt5 cross is borked basically18:36:22
@quadradical:federated.nexusQuadRadical (Ping)but its actually a gtk4 app, but it depends on a barcode scanner in QT18:36:34
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)yeah18:36:56
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)ik18:36:58
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) hold on i had a workaround for that here somewhere 18:37:09
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)image.png
Download image.png
18:37:36
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)need to do some building first18:37:36
@quadradical:federated.nexusQuadRadical (Ping) oh if you could send it id be great 18:38:27

Show newer messages


Back to Room ListRoom Version: 6