mbox series

[bug#67824,core-updates,v2,0/9] Run builds in C.UTF-8 locale

Message ID cover.1702916397.git.ludo@gnu.org
Headers show
Series Run builds in C.UTF-8 locale | expand

Message

Ludovic Courtès Dec. 18, 2023, 4:30 p.m. UTC
Hello Guix!

This is an updated version of the patch set.  Changes since v1:

  • Change default value of #:locale in ‘gnu-build-system.scm’,
    since all the build systems except ‘gnu’ rely on it.

  • Remove customization of util-linux tests that was due to
    the lack of C.UTF-8 on our side before.

  • Skip failing GLib test, which should allow us to go further
    towards evaluating ‘core-updates’ (!).

  • Add useful x86_64-gnu patch in glibc (piggy-backed, not related
    to the issues at hand).

  • Include fix for <https://issues.guix.gnu.org/30948>.  Probably
    not strictly necessary but a good opportunity, especially since
    Gash/Guile & co. seem to leave zombies when building the early
    ‘mesboot’ packages (something Janneke and I discussed on IRC
    a couple of days ago).

Feedback welcome!

Ludo’.

Ludovic Courtès (9):
  packages: Remove reference to ‘glibc-utf8-locales’ in
    ‘patch-and-repack’.
  build-system/gnu: Change default locale to C.UTF-8.
  gnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’.
  profiles: Use C.UTF-8 instead of ‘glibc-utf8-locales’ where possible.
  packages: Output and error ports are line-buffered in
    ‘patch-and-repack’.
  gnu: glibc-utf8-locales: Add the C.UTF-8 locale.
  gnu: glibc: Add patch for ‘ucontext’ on x86_64-gnu (GNU/Hurd).
  build-system/gnu: Turn PID 1 into an “init”-style process by default.
  gnu: glib: Skip test that fails with glibc 2.38.

 gnu/local.mk                                  |  1 +
 gnu/packages/base.scm                         | 24 +++--
 gnu/packages/commencement.scm                 | 31 ++++---
 gnu/packages/gawk.scm                         |  6 +-
 gnu/packages/glib.scm                         |  6 +-
 gnu/packages/linux.scm                        |  6 +-
 .../patches/glibc-2.38-hurd-ucontext.patch    | 87 +++++++++++++++++++
 gnu/packages/texinfo.scm                      |  7 +-
 guix/build-system/gnu.scm                     |  8 +-
 guix/build/gnu-build-system.scm               | 41 ++++++++-
 guix/packages.scm                             | 34 ++++----
 guix/profiles.scm                             | 33 ++-----
 tests/profiles.scm                            |  7 +-
 13 files changed, 206 insertions(+), 85 deletions(-)
 create mode 100644 gnu/packages/patches/glibc-2.38-hurd-ucontext.patch


base-commit: e4013b31266b40dc9cb250c44b2088d3931cb3b3

Comments

Ludovic Courtès Dec. 19, 2023, 10:54 p.m. UTC | #1
Ludovic Courtès <ludo@gnu.org> skribis:

>   packages: Remove reference to ‘glibc-utf8-locales’ in
>     ‘patch-and-repack’.
>   build-system/gnu: Change default locale to C.UTF-8.
>   gnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’.
>   profiles: Use C.UTF-8 instead of ‘glibc-utf8-locales’ where possible.
>   packages: Output and error ports are line-buffered in
>     ‘patch-and-repack’.
>   gnu: glibc-utf8-locales: Add the C.UTF-8 locale.
>   gnu: glibc: Add patch for ‘ucontext’ on x86_64-gnu (GNU/Hurd).
>   build-system/gnu: Turn PID 1 into an “init”-style process by default.
>   gnu: glib: Skip test that fails with glibc 2.38.

Pushed v2 as 62e67aa7994f40c438ef5a528675e85699d7af76.

Now to see what ci.guix thinks about it…

Ludo’.
Janneke Nieuwenhuizen Dec. 20, 2023, 7:20 a.m. UTC | #2
Ludovic Courtès writes:

> Ludovic Courtès <ludo@gnu.org> skribis:
>
>>   packages: Remove reference to ‘glibc-utf8-locales’ in
>>     ‘patch-and-repack’.
>>   build-system/gnu: Change default locale to C.UTF-8.
>>   gnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’.
>>   profiles: Use C.UTF-8 instead of ‘glibc-utf8-locales’ where possible.
>>   packages: Output and error ports are line-buffered in
>>     ‘patch-and-repack’.
>>   gnu: glibc-utf8-locales: Add the C.UTF-8 locale.
>>   gnu: glibc: Add patch for ‘ucontext’ on x86_64-gnu (GNU/Hurd).
>>   build-system/gnu: Turn PID 1 into an “init”-style process by default.
>>   gnu: glib: Skip test that fails with glibc 2.38.
>
> Pushed v2 as 62e67aa7994f40c438ef5a528675e85699d7af76.
>
> Now to see what ci.guix thinks about it…

+1

Haven't built everyting just yet, but it's looking good.
Thank you!