!UNVBThoJtlIiVwiDjU:nixos.org

Staging

323 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/110 Servers

Load older messages


SenderMessageTime
9 Nov 2025
@9hp71n:matrix.orgghpzin (moved to @ghpzin:envs.net) changed their display name from ghpzin to ghpzin (moved to @ghpzin:envs.net).15:04:11
10 Nov 2025
@elvishjerricco:matrix.orgElvishJerricco

Hm, somehow https://github.com/NixOS/nixpkgs/pull/442965 broke cross compiling libcap

/nix/store/50qdx59fp8w8bzaq5z8825d3kr3d4cx3-aarch64-unknown-linux-gnu-gcc-wrapper-14.3.0/bin/aarch64-unknown-linux-gnu-gcc -m64 -s -o $WORK/b001/exe/mknames -rdynamic /build/go-link-625829632/go.o
aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-m64'
08:41:42
@k900:0upti.meK900Is Go calling it with -m6408:43:02
@k900:0upti.meK900That would be on brand08:43:10
@elvishjerricco:matrix.orgElvishJerriccohere's the full build log, if anyone wants to take a look and help me figure out what to do about it: https://gist.github.com/ElvishJerricco/5e6d898075589d671765ccb4effc41f008:44:22
@katexochen:matrix.orgPaul Meyer (katexochen)not sure if that is related but we merged a fix for that PR in https://github.com/NixOS/nixpkgs/pull/45886708:48:28
@elvishjerricco:matrix.orgElvishJerriccothat does not appear to have helped09:10:02
@elvishjerricco:matrix.orgElvishJerricco So, I can see in the log that it's doing CC="aarch64-unknown-linux-gnu-gcc" GOOS= GOARCH= go run ..., but how could that ever work? 11:10:04
@elvishjerricco:matrix.orgElvishJerricco Hypothesis: When you do GOARCH= go run ..., it was previously using some linker other than $CC, and it was successfully building a binary for the build platform. But now with the PIE change, it's trying to use $CC for its linker, and expecting that to be a valid linker for the build platform, i.e. in this case an x86_64 linker that it can pass -m64 to. So even if it wasn't making the -m64 mistake, it would still fail trying to link an x86_64 binary with an aarch64 linker. 11:15:57
@elvishjerricco:matrix.orgElvishJerriccoDoes that sound plausible?11:16:05
@elvishjerricco:matrix.orgElvishJerriccoOk, yea, that's exactly what's happening, and fixing it requires a patch.15:45:04
@elvishjerricco:matrix.orgElvishJerriccoWhich I guess means I can't get this fix into staging-next15:45:46
@elvishjerricco:matrix.orgElvishJerriccowell, I guess if I add the patch conditionally (only when we're cross compiling), it's not a mass rebuild for non-cross, so it could go to staging-next?15:50:38
@elvishjerricco:matrix.orgElvishJerriccois that even worth it?15:51:07
@k900:0upti.meK900Doable16:00:36
@k900:0upti.meK900Whether worth it is debatable16:00:42
@elvishjerricco:matrix.orgElvishJerricco oh dammit, I did not realize we were substituteInPlace'ing the broken line already to fix cross 16:02:57
@elvishjerricco:matrix.orgElvishJerricco so I've sent an email to the maintainer fixing the cross CC problem while it's not actually cross-buildable because our substitution isn't in there :P 16:03:29
@leona:leona.isleonawe will have another staging-next cycle starting probably wednesday or thursday. IMO it would be okay to fix by then (if you have a patch so quickly)16:12:12
@k900:0upti.meK900Are we skipping 25.05 then16:13:48
@leona:leona.isleonai thought that was the idea16:14:04
@k900:0upti.meK900I have not checked16:14:15
@k900:0upti.meK900tbh16:14:17
@leona:leona.isleona we could also do 25.05, but then the consequence would be to go through all commits/PRs that were merged to staging (since the current staging-next) and decide which of them should be ported to staging-25.11 16:14:50
@leona:leona.isleonait's possible, but feels awful16:15:08
@leona:leona.isleonathat's kinda the problem with the current workflow16:15:19
@leona:leona.isleonaI don't know though how many and what changes are in staging and staging-25.0516:15:39
@elvishjerricco:matrix.orgElvishJerriccoWell, here's a PR to staging with the patch unconditional https://github.com/NixOS/nixpkgs/pull/46039416:30:26
@vcunat:matrix.orgVladimír Čunát I'm clearly in favor of another staging-next. 17:08:51
@k900:0upti.meK900ocaml merge conflict on master -> next again17:15:15

Show newer messages


Back to Room ListRoom Version: 6