all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 67507@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"Janneke Nieuwenhuizen" <janneke@gnu.org>
Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd
Date: Wed, 29 Nov 2023 16:44:49 +0100	[thread overview]
Message-ID: <cover.1701272537.git.ludo@gnu.org> (raw)
In-Reply-To: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net>

Hello!

This is an updated version of Janneke's patches
in <https://issues.guix.gnu.org/66472> combined with
Christopher's patch from <https://issues.guix.gnu.org/67507>.
Team work!

This should fix the infamous dependency cycle introduced
in 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64 *and* ensure
the right version of glibc locale data is used throughout.

One thing that sucks is that, anytime we were doing:

  #~(… #+glibc-utf8-locales …)

we now have to do:

  #~(… #+(libc-locales-for-target (%current-system)) …)

to explicitly request the native libc locales.

I verified things like this:

  ./pre-inst-env guix build coreutils --target=i586-pc-gnu
  ./pre-inst-env guix build findutils -s i586-gnu --no-grafts
  make check-system TESTS=childhurd

and also, after adding #:system "i586-gnu" to the ‘build’
call in ‘build-aux/compile-as-derivation.scm’ as Chris
suggested on IRC:

  make as-derivation

I didn’t let it run to completion because that triggers a
lot of expensive builds, but it no longer eats all the
memory doing nothing as was the case since
95ea1277ae2ebd278bdb51a7887f5ba1116fbc64.

Thanks,
Ludo’.

Janneke Nieuwenhuizen (2):
  gnu: Add ‘libc-locales-for-target’ and related.
  gnu: Use ‘libc-utf8-locales-for-target’.

 gnu/home/services/ssh.scm           |  8 ++++---
 gnu/installer.scm                   |  7 +++---
 gnu/packages/base.scm               | 19 +++++++++++++++
 gnu/packages/chromium.scm           |  2 +-
 gnu/packages/gnome.scm              |  4 ++--
 gnu/packages/javascript.scm         |  2 +-
 gnu/packages/package-management.scm |  4 ++--
 gnu/packages/raspberry-pi.scm       |  2 +-
 gnu/packages/suckless.scm           |  2 +-
 gnu/services.scm                    |  4 +++-
 gnu/services/base.scm               |  7 ++++--
 gnu/services/guix.scm               | 23 +++++++++++-------
 gnu/services/web.scm                |  6 +++--
 gnu/system/image.scm                | 13 ++++++----
 gnu/system/install.scm              |  2 +-
 guix/packages.scm                   |  6 ++++-
 guix/profiles.scm                   | 37 +++++++++++++++++------------
 guix/scripts/pack.scm               |  8 +++++--
 guix/self.scm                       |  5 +++-
 tests/pack.scm                      |  7 +++---
 tests/profiles.scm                  |  4 ++--
 21 files changed, 116 insertions(+), 56 deletions(-)


base-commit: f3173bb901c0eee6c71d066cffab115d27052fc1
-- 
2.41.0





  reply	other threads:[~2023-11-29 15:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-28 11:33 [bug#67507] [PATCH] packages: Use glibc-utf8-locales/hurd in %standard-patch-inputs Christopher Baines
2023-11-29 15:44 ` Ludovic Courtès [this message]
2023-11-29 17:39   ` [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Janneke Nieuwenhuizen
2023-11-30 21:43     ` Ludovic Courtès
2023-12-01 19:49       ` Janneke Nieuwenhuizen
2023-12-02 11:39         ` bug#67507: " Ludovic Courtès
2023-12-02 14:38           ` [bug#67507] " Janneke Nieuwenhuizen
2023-12-04 19:34           ` itd
2023-12-01 18:42   ` Christopher Baines
2023-11-29 15:44 ` [bug#67507] [PATCH v2 1/2] gnu: Add ‘libc-locales-for-target’ and related Ludovic Courtès
2023-11-29 15:44 ` [bug#67507] [PATCH v2 2/2] gnu: Use ‘libc-utf8-locales-for-target’ Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1701272537.git.ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=67507@debbugs.gnu.org \
    --cc=janneke@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.