Age | Commit message (Expand) | Author |
2023-11-26 | gnu: commencement: Make ‘glibc-final’ immune to ‘%current-target-system......Previously, the value memoized for ‘glibc-final’ was influenced by that
of ‘%current-target-system’ since it is used as a default argument to
‘libc-for-target’. Thus, due to the order in which modules were loaded
versus the time at which ‘%current-target-system’ was set, it was
possible to end up with ‘glibc-final’ set to the “wrong” libc, for
instance when doing:
guix build -f guix.scm --target=i586-pc-gnu
from another project such as the Shepherd.
This is similar to the problem fixed in
625a847d2a554168bec6e294888d9d1f8ab03d08.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)
(glibc-final): Explicitly pass (%current-system) as the first argument
to ‘libc-for-target’ so that the value of ‘%current-target-system’ at
that time has no influence.
Change-Id: I2f05898b8f9d1f99d4c75108441c7ad38728225f
| Ludovic Courtès |
2023-11-25 | gnu: commencement: Avoid cyclic dependency when targeting i586-pc-gnu....Fixes a regression introduced in
95ea1277ae2ebd278bdb51a7887f5ba1116fbc64 where:
guix build coreutils --target=i586-pc-gnu coreutils
would never complete due to a dependency loop introduced in
‘%final-inputs’.
* gnu/packages/commencement.scm (%final-inputs): Pass argument to
‘target-hurd?’.
Change-Id: I4df7907fb9afcd2b170ba19307666eaa81f12d41
| Ludovic Courtès |
2023-11-25 | gnu: commencement: Use locales for the right libc version on GNU/Hurd....Fixes <https://issues.guix.gnu.org/66472>.
Until now, we were unconditionally using ‘glibc-utf8-locales’, which
targets the glibc version used on Linux (2.35) rather than that used on
the Hurd (2.37). This would lead to build failures due to the inability
to use locale encoding when targeting i586-gnu.
* gnu/packages/base.scm (glibc-utf8-locales/hurd): New variable.
* gnu/packages/commencement.scm (glibc-utf8-locales-final/hurd): New
variable.
(%boot5-inputs): Use it when ‘target-hurd?’ returns #t.
(%final-inputs): Likewise.
Change-Id: I1666d615dffbe3561cf2d9612b85cd31a48a7dcd
| Ludovic Courtès |
2023-09-28 | gnu: Add gcc-toolchain-13....* gnu/packages/commencement.scm (gcc-toolchain-13): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
| Hilton Chain |
2023-08-25 | gnu: gcc-toolchain: Add empty librt.a....* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a.
* gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
| Josselin Poiret |
2023-08-18 | gnu: commencement: Use system in %final-inputs....Otherwise this causes odd issues, I presume arising from when %current-system
differs from the system argument passed to %final-inputs.
* gnu/packages/commencement.scm (%final-inputs): Set %current-system to
system.
* gnu/packages/base.scm (%final-inputs): Add optional system parameter.
* gnu/ci.scm (base-packages): New procedure to memoize the base packages
depending on system.
(package->job): Pass system to base-packages.
Co-authored-by: Josselin Poiret <dev@jpoiret.xyz>
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Christopher Baines |