Hello, Em terça-feira, 23 de novembro de 2021, às 14:18:10 -03, Ludovic Courtès escreveu: > > But my "test" fails the same: > > > > $ ./pre-inst-env guix build --system=aarch64-linux \ > > > > -e '(@ (gnu packages polkit) polkit)' -n |& grep polkit > > > > /gnu/store/dw11y85xfsb8hcg7w2cw57f1xfs4i74m-polkit-0.120.drv > > /gnu/store/ric7yf4ra2p14p29fwsh18m1nakciakv-polkit-0.120.tar.xz > > That’s expected because here you’re effectively calling > (%current-system) from the top level, and that’s x86_64. > > A good test is to try and build one of its dependents: > > guix build -s aarch64-linux gnome-control-center -n > > should list polkit-duktape. > > HTH!
Sorry, I should have taken a closer look at this patch yesterday. IIUC it’s a bug to test (%current-system) before (%current-target-system). That’s because the latter is only defined for cross-builds, while the former is always defined. So in practice (%current-target-system) will never be checked. This what patch 1 in the series at https://issues.guix.gnu.org/49672 fixes. Rebasing it and addressing Maxime’s comments is on my todo list. > Are we done and ready for merging once this patch has been applied to > ‘core-updates-frozen’? Hooray! I’m currently investigating a problem with lualatex (issue 51252). I don’t know whether it’s serious enough to delay the merge. -- Thanks, Thiago