Hello Janneke & Josselin, Janneke Nieuwenhuizen skribis: > Janneke Nieuwenhuizen writes: [...] >> As discussed on IRC, I found that we're still building glibc-2.35 during >> commencement. I overlooked that this recent patch of yours made these >> changes in commencement, so I already made patches for this (attached). > > Even with these patches (on wip-hurd now), gcc-toolchain still depends > on glibc-2.35 for offload builds, as you can see when doing > > ./pre-inst-env guix build --system=i568-gnu -d gcc-toolchain > > from GNU/Linux. When running this same build in a childhurd, the > glibc-2.35 dependency is gone. Note that gcc-final, i.e. > > ./pre-inst-env guix build --system=i568-gnu -d \ > -e '(@@ (gnu packages commencement) gcc-final)' > > does not depend ond glibc-2.35, but both glibc-final and > glibc-final-with-bootstrap-bash build 2.35 when using --system. Turns out that this was because ‘%final-inputs’ now also needs to be parameterized by system type so it returns the right ‘glibc-final’ package. Patch below. Josselin, Janneke: could you squash this with the original ‘libc-for-target’ patch? (Eventually we should update callers of ‘standard-packages’ so they pass the ‘system’ argument.) Thanks, Ludo’.