all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#73065: glibc-supported-locales needs zstd
@ 2024-09-06 11:03 Ricardo Wurmus
  2024-09-06 22:03 ` bug#73065: [PATCH] system: Add zstd to glibc-supported-locales Ricardo Wurmus
  2024-09-07 10:28 ` Roman Scherer
  0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2024-09-06 11:03 UTC (permalink / raw)
  To: 73065

I'm trying to build the installer with

    guix system image -t iso9660 gnu/system/install.scm

This fails:

    build of /gnu/store/64r5f7ikrjwzs9bslhfabv1p8r5gzk83-glibc-supported-locales.scm.drv failed

--8<---------------cut here---------------start------------->8---
tar (child): zstd: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Backtrace:
           3 (primitive-load "/gnu/store/3jkscaxiws5q79bhyklw9y65qib?")
In ice-9/eval.scm:
    619:8  2 (_ #f)
In guix/build/gnu-build-system.scm:
   208:10  1 (unpack #:source _)
In guix/build/utils.scm:
    822:6  0 (invoke "tar" "xvf" "/gnu/store/3rqf5bv8zl4wdy1vmgzsfwq?")

guix/build/utils.scm:822:6: In procedure invoke:
ERROR:
  1. &invoke-error:
      program: "tar"
      arguments: ("xvf" "/gnu/store/3rqf5bv8zl4wdy1vmgzsfwqiw094x3pv-glibc-2.39.tar.zst")
      exit-status: 2
      term-signal: #f
      stop-signal: #f
--8<---------------cut here---------------end--------------->8---

Looking at gnu/system/locale.scm I can see that the PATH does not
include zstd but only xz.

Adding

     #+(file-append zstd "/bin") ":"

to the PATH definition in glibc-supported-locales fixed this for me.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#73065: [PATCH] system: Add zstd to glibc-supported-locales.
  2024-09-06 11:03 bug#73065: glibc-supported-locales needs zstd Ricardo Wurmus
@ 2024-09-06 22:03 ` Ricardo Wurmus
  2024-09-09 18:32   ` bug#73065: glibc-supported-locales needs zstd Ludovic Courtès
  2024-09-07 10:28 ` Roman Scherer
  1 sibling, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2024-09-06 22:03 UTC (permalink / raw)
  To: 73065; +Cc: Ricardo Wurmus

* gnu/system/locale.scm (glibc-supported-locales): Add zstd to PATH.

Fixes <https://issues.guix.gnu.org/73065>.

Change-Id: I8f553636789df598937c30adca79cef8cf077337
---
 gnu/system/locale.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/system/locale.scm b/gnu/system/locale.scm
index d2a967eb8f..b317321e84 100644
--- a/gnu/system/locale.scm
+++ b/gnu/system/locale.scm
@@ -204,6 +204,7 @@ (define* (glibc-supported-locales #:optional (glibc glibc))
           (setenv "PATH"
                   (string-append #+(file-append tar "/bin") ":"
                                  #+(file-append xz "/bin") ":"
+                                 #+(file-append zstd "/bin") ":"
                                  #+(file-append gzip "/bin")))
           (unpack #:source #+(package-source glibc))
 

base-commit: 18d02443e1ec37779ee3cf63f9aaff1746bfdd8e
prerequisite-patch-id: 4ffb617d91dd5b9402dbbc4b283a10ddb2e346fa
prerequisite-patch-id: 71683bcfadbcfa4015533d7a9f350cc56ee0bcc9
prerequisite-patch-id: 791a04c394d72d0ebc43e256f36b87a328730021
prerequisite-patch-id: 0304eeb68533b569a1e97db280f9c3056fdbd18e
prerequisite-patch-id: 62bc2f225dc341e92ccd57e6e85e820781276325
prerequisite-patch-id: 80dddd088995777720d8bd9bfbbdc624bb73558e
prerequisite-patch-id: 17c1e3549ad480aa4898c41345f9fc42a31e36f8
prerequisite-patch-id: 101787b1a916da58bebc25c93c5119933dd5b342
prerequisite-patch-id: a17f97af2833018ba63ec532841ec365b88819d2
prerequisite-patch-id: d24e2e49818c64a7196123123f3799e2d6d68df6
prerequisite-patch-id: d77d6b930b595ddcf65f87eaa0017377009df33e
prerequisite-patch-id: a0e9a69a85d2ba39893ce272a4154d78fd70d436
prerequisite-patch-id: 6e95fccb5adca3aa9c525205dbf8a504d9fc3011
prerequisite-patch-id: 6fc64e51903b7dc549a57a2e476f04cba38064ca
prerequisite-patch-id: fc76be9d9a7c50b3c0929f1540cce53f6310ff3f
prerequisite-patch-id: 3645ebc0f7c660c7f9f4484aa5cc836a32dca88b
prerequisite-patch-id: 8f3115f73547fbda4c7ab8758d57093d89f5556f
prerequisite-patch-id: 2945b1975128021fa547990b34444d5425bd05b0
prerequisite-patch-id: efe0e637a1b92bca3438f8f322597f55e483e3cd
prerequisite-patch-id: 9a3cc330e771344f3d04bd1f8fd1b1f6e5092485
prerequisite-patch-id: 1d4b7f915798aaaa33ff1698c787a964d0520b6d
prerequisite-patch-id: 79674edf84a571c3fd9f5a3d86953690e1c9bc0e
prerequisite-patch-id: 14e78aa57aecec4f767a148df724589ff2e7fb47
prerequisite-patch-id: 7907c8d13571d434dcaf46d1236cba23ea9a3759
prerequisite-patch-id: 93e2ae209447710f140c0931a5bbd76e71639cea
prerequisite-patch-id: f3e23be6a18c939bb8f498438f025adf101d232e
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#73065: glibc-supported-locales needs zstd
  2024-09-06 11:03 bug#73065: glibc-supported-locales needs zstd Ricardo Wurmus
  2024-09-06 22:03 ` bug#73065: [PATCH] system: Add zstd to glibc-supported-locales Ricardo Wurmus
@ 2024-09-07 10:28 ` Roman Scherer
  1 sibling, 0 replies; 4+ messages in thread
From: Roman Scherer @ 2024-09-07 10:28 UTC (permalink / raw)
  To: 73065

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]


Hi Ricardo,

I was just looking into this as well and would have tried the same.

LGTM.

Reviewed-by: Roman Scherer <roman.scherer@burningswell.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#73065: glibc-supported-locales needs zstd
  2024-09-06 22:03 ` bug#73065: [PATCH] system: Add zstd to glibc-supported-locales Ricardo Wurmus
@ 2024-09-09 18:32   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2024-09-09 18:32 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 73065-done

Hello,

Ricardo Wurmus <rekado@elephly.net> skribis:

> * gnu/system/locale.scm (glibc-supported-locales): Add zstd to PATH.
>
> Fixes <https://issues.guix.gnu.org/73065>.
>
> Change-Id: I8f553636789df598937c30adca79cef8cf077337

Pushed a similar thing just today (oops!) as
9d17cda3d915e1226494a1983ef95a3c600acf9d.

Thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-09 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 11:03 bug#73065: glibc-supported-locales needs zstd Ricardo Wurmus
2024-09-06 22:03 ` bug#73065: [PATCH] system: Add zstd to glibc-supported-locales Ricardo Wurmus
2024-09-09 18:32   ` bug#73065: glibc-supported-locales needs zstd Ludovic Courtès
2024-09-07 10:28 ` Roman Scherer

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.