Package: guix
Version: 1.2.0-4
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Previously, I used a Guix compiled by Guix as the guix daemon.
I would like to switch back to Debian's guix and remove the root
user's Guix profile (because I didn't use it for anything except
for updating the Guix daemon), but I encountered some trouble:

In /etc/systemd/system/guix-daemon.service, there's the line:

Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale'
 LC_ALL=en_US.utf8

However, I'm using Debian's guix so shouldn't it look for glibc's
locales instead?  (Also, I'm not installing anything as root, so I'd
like to remove /var/guix/profiles/per-user/root.)

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I reverted the ExecStart=... line to ExecStart=/usr/bin/guix-daemon.
I removed the GUIX_LOCPATH=... assignment.  However, that resulted
in 'guix substitute' not finding the locale:

$ guix build --source snap
substitute: hint: Consider installing the `glibc-utf8-locales' or 
`glibc-locales' package and
substitute: defining `GUIX_LOCPATH', along these lines:
substitute: 
substitute:      guix install glibc-utf8-locales
substitute:      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
substitute: 
substitute: See the "Application Setup" section in the manual, for more info.
substitute: 
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
113,0 MB will be downloaded: [etc etc].

To resolve the issue, I replaced LC_ALL=en_US.utf8 by LC_ALL=C.UTF-8
(LC_ALL=C.utf8 doesn't work for whatever reason) and did a
"systemctl daemon-reload" + "systemctl restart guix-daemon", after which
the locale warnings didn't appear again.

-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-13-amd64 (SMP w/8 CPU threads)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=nl_BE:nl
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages guix depends on:
ii  guile-2.2       2.2.7+1-6
ii  guile-2.2-libs  2.2.7+1-6
ii  guile-gcrypt    0.3.0-3
ii  guile-git       0.4.0-3
ii  guile-gnutls    3.7.1-5
ii  guile-json      4.3.2-2
ii  guile-lzlib     0.0.2-2
ii  guile-sqlite3   0.1.3-2
ii  guile-ssh       0.13.1-4
ii  guile-zlib      0.0.1-3
ii  libbz2-1.0      1.0.8-4
ii  libc6           2.31-13+deb11u3
ii  libgcc-s1       10.2.1-6
ii  libgcrypt20     1.8.7-6
ii  libsqlite3-0    3.34.1-3
ii  libssh-dev      0.9.5-1+deb11u1
ii  libstdc++6      10.2.1-6
ii  zlib1g          1:1.2.11.dfsg-2+deb11u1

Versions of packages guix recommends:
ii  nscd     2.31-13+deb11u3
ii  systemd  247.3-7

guix suggests no packages.

-- Configuration Files:
/etc/guix/acl [Errno 13] Toegang geweigerd: '/etc/guix/acl'

-- no debconf information

Reply via email to