You are right and the confusion is mine. The reason the error messages disappeared is that thanks to a "guix pull", a "guix upgrade", and a "guix install glibc-utf8-locales" on user "root" I now have the latest version of the utf8-locales, 2.31, installed at /var/guix/profiles/per-user/root/guix-profile/lib/locale.

Sorry for the bother. However, judging by prior discussions not everyone understands that the build daemons rely in this way on the guix-profile of the root. It would help if the documentation pointed out this common misunderstanding and explicitly advised users on foreign distributions to pull and upgrade the root profile regularly.


On Sat, Aug 22, 2020 at 10:30 AM Leo Famulari <leo@famulari.name> wrote:
Can you reply to the bug tracker?

In any case, "~root" is a different directory than "/var/guix/profiles/per-user/root", and the guix-profile directory is named differently in each location.

On Sat, Aug 22, 2020, at 13:10, Michael Gorlick wrote:
Au contraire.

$ sudo -i ls -a ~root
.  ..  .bash_history  .bashrc  .cache  .config .gnupg .guix-profile  .local  .profile  .wget-hsts

On Sat, Aug 22, 2020 at 10:06 AM Leo Famulari <leo@famulari.name> wrote:
On Sat, Aug 22, 2020 at 09:46:05AM -0700, Michael Gorlick wrote:
> There is a wee typo in the systemd file *guix-daemon.service* installed on
> Ubuntu 20.04 by the guix-install.sh script.
> The text of */root/.config/guix/current/lib/systemd/system/guix-daemon.service
> *contains the text:
>
> Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale'
> LC_ALL=en_US.utf8
>
> The portion .../guix-profile/... should read .../*.guix-profile/*..., in
> other words the path as given omits the requisite single period (.) as the
> prefix of the directory .guix-profile.

In my experience, the path as shown in your example is correct. The
directory is not a "hidden" directory in this location.