!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

555 Members
119 Servers

Load older messages


SenderMessageTime
26 Sep 2025
@matthewcroughan:defenestrate.itmatthewcroughan
diffutils-aarch64-linux> .. contents:: :depth: 2
diffutils-aarch64-linux> 
diffutils-aarch64-linux> FAIL: test-c32ispunct.sh
diffutils-aarch64-linux> ========================
diffutils-aarch64-linux> 
diffutils-aarch64-linux> test-c32ispunct.c:261: assertion 'is == 0' failed
diffutils-aarch64-linux> Aborted (core dumped)
diffutils-aarch64-linux> FAIL test-c32ispunct.sh (exit status: 1)
14:50:25
@matthewcroughan:defenestrate.itmatthewcroughansame for diffutils.. hmm14:50:28
@matthewcroughan:defenestrate.itmatthewcroughanhttps://patchwork.yoctoproject.org/project/oe-core/patch/20250819010128.3519760-3-raj.khem@gmail.com/14:50:58
27 Sep 2025
@outfoxxed:outfoxxed.meoutfoxxedI feel like this is wrong (it does work) but I don't know how I'm supposed to deal with it:20:20:52
@outfoxxed:outfoxxed.meoutfoxxedimage.png
Download image.png
20:20:53
@outfoxxed:outfoxxed.meoutfoxxedimage.png
Download image.png
20:21:23
@outfoxxed:outfoxxed.meoutfoxxedIf we have multiple host offsets then the hook separates build/target packages, otherwise it doesn't20:21:57
@k900:0upti.meK900 I think the correct way to do Qt6 cross is to always have it be nativeBuildInputs 20:24:50
@k900:0upti.meK900And dispatch on $target20:24:58
@outfoxxed:outfoxxed.meoutfoxxedThe qt packages themselves should potentially depend on their pkgsBuildHost versions in nativeBuildInputs20:26:31
@k900:0upti.meK900It's extremely stupid20:26:31
@outfoxxed:outfoxxed.meoutfoxxedbut users shouldnt have to20:26:33
@k900:0upti.meK900No, that's not what I meant20:26:41
@k900:0upti.meK900I mean that Qt cross is weird enough that we basically want to have Qt always be "on build for target"20:27:03
@outfoxxed:outfoxxed.meoutfoxxedYeah currently all the package files pass things via cmake flags to override paths which im not particularly fond of20:27:05
@k900:0upti.meK900And target-aware20:27:16
@outfoxxed:outfoxxed.meoutfoxxedso far I've successfully crossed everything to riscv64 using the hook stuff above but I'm going to try removing all the special casing from the nix expressions and just hoping QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH does what its supposed to20:28:11
@qyliss:fairydust.spaceAlyssa RossNice!20:28:26
@outfoxxed:outfoxxed.meoutfoxxedIts rather unhelpful that every single test run takes 45 minutes to build20:28:52
@k900:0upti.meK900Push it20:29:25
@k900:0upti.meK900 cmake cross might just be the thing I need to get my mind off being fired from moderation 20:29:36
@outfoxxed:outfoxxed.meoutfoxxedalright20:29:36
@outfoxxed:outfoxxed.meoutfoxxedcmake cross is a thing20:29:44
@outfoxxed:outfoxxed.meoutfoxxedthat part works fine20:29:47
@outfoxxed:outfoxxed.meoutfoxxedits qt's self referential dependencies20:29:56
@k900:0upti.meK900I am aware, and it's horrible20:29:58
@outfoxxed:outfoxxed.meoutfoxxedI also changed all the pkgsBuildBuild instances to pkgsBuildHost because pkgsBuildBuild makes me rebuild the (qt) world 3 times instead of 220:30:46
@outfoxxed:outfoxxed.meoutfoxxedwill send the branch in a minute20:32:50
@outfoxxed:outfoxxed.meoutfoxxedimage.png
Download image.png
20:32:51
@outfoxxed:outfoxxed.meoutfoxxedhttps://github.com/NixOS/nixpkgs/compare/master...outfoxxed:nixpkgs:qt-stuff currently at the stage of narrowing down what I can remove while having it still work20:33:56

Show newer messages


Back to Room ListRoom Version: 6