Subject: bug#73065: closed (Re: bug#73065: glibc-supported-locales needs zstd)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 09 Sep 2024 18:33:02 +0000

Your bug report

#73065: glibc-supported-locales needs zstd

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73065: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73065
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#73065: glibc-supported-locales needs zstd
From: Ludovic Courtès <[email-masked]>
To: Ricardo Wurmus <[email-masked]>
Cc: [email-masked]
Date: Mon, 09 Sep 2024 20:32:06 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Ricardo Wurmus <[email-masked]> 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’.

Subject: glibc-supported-locales needs zstd
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Fri, 06 Sep 2024 13:03:53 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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