GNU bug report logs - #73065
glibc-supported-locales needs zstd

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Fri, 6 Sep 2024 11:34:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73065 in the body.
You can then email your comments to 73065 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#73065; Package guix. (Fri, 06 Sep 2024 11:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 06 Sep 2024 11:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: glibc-supported-locales needs zstd
Date: Fri, 06 Sep 2024 13:03:53 +0200
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




Information forwarded to bug-guix <at> gnu.org:
bug#73065; Package guix. (Fri, 06 Sep 2024 22:05:01 GMT) Full text and rfc822 format available.

Message #8 received at 73065 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 73065 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH] system: Add zstd to glibc-supported-locales.
Date: Sat,  7 Sep 2024 00:03:38 +0200
* 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





Information forwarded to bug-guix <at> gnu.org:
bug#73065; Package guix. (Sat, 07 Sep 2024 10:30:03 GMT) Full text and rfc822 format available.

Message #11 received at 73065 <at> debbugs.gnu.org (full text, mbox):

From: Roman Scherer <roman.scherer <at> burningswell.com>
To: 73065 <at> debbugs.gnu.org
Subject: glibc-supported-locales needs zstd
Date: Sat, 07 Sep 2024 12:28:20 +0200
[Message part 1 (text/plain, inline)]
Hi Ricardo,

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

LGTM.

Reviewed-by: Roman Scherer <roman.scherer <at> burningswell.com>
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 09 Sep 2024 18:33:01 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Mon, 09 Sep 2024 18:33:02 GMT) Full text and rfc822 format available.

Message #16 received at 73065-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 73065-done <at> debbugs.gnu.org
Subject: Re: bug#73065: glibc-supported-locales needs zstd
Date: Mon, 09 Sep 2024 20:32:06 +0200
Hello,

Ricardo Wurmus <rekado <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Oct 2024 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.