From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Djurfeldt Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 19:29:03 +0100 Message-ID: References: <87pnd9bk76.fsf@devup.no> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d6bedb05a1253a3a" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42069) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEdS7-0007qn-Px for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEdS6-0000jc-E0 for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEdS6-0000ib-9X for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEdS6-00033K-37 for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87pnd9bk76.fsf@devup.no> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 40123@debbugs.gnu.org --000000000000d6bedb05a1253a3a Content-Type: text/plain; charset="UTF-8" On Wed, Mar 18, 2020 at 7:18 PM Marius Bakke wrote: > Tje Mikael, > > Mikael Djurfeldt writes: > > > To reproduce the bug: > > > > * install guix on top of an ordinary linux distribution using the install > > script at guix.gnu.org > > > > * install glibc-locales as root > > > > Expected: > > > > There should be a link ~root/.guix-profile/lib/locales > > That should be ~root/.guix-profile/lib/locale (note the singular). > Right (just misspelled in the bug report). > This directory actually comes pre-populated with a small subset of UTF-8 > locales when using the binary installation method like the script does, > so it's odd if you don't find anything there. > I think so too. (But it's not true that it is a small subset of UTF-8 locales. It's a big package with several types of locale.) > > Which distribution are you on, Debian Buster > and how do you become root? sudo -i > Is the $HOME > variable set to root's home directory when you are in a root shell? > Yes. To figure out where the package gets installed, try running this > command: > > find /var/guix/profiles -name sv_SE.utf8 -type d > It's obvious that that line will produce an empty result. That is because the sv_SE.utf8 directory only exists in the store. But I don't see the point of looking it up in the store. The problem is that the link into the store from the root user profile is never created. (It *is* created in other user profiles.) Best regards, Mikael --000000000000d6bedb05a1253a3a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Mar 18, 2020 at 7:18 PM Marius Ba= kke <mbakke@fastmail.com> = wrote:
Tje Mikael,

Mikael Djurfeldt <mikael@djurfeldt.com> writes:

> To reproduce the bug:
>
> * install guix on top of an ordinary linux distribution using the inst= all
> script at guix.gnu.org
>
> * install glibc-locales as root
>
> Expected:
>
> There should be a link ~root/.guix-profile/lib/locales

That should be ~root/.guix-profile/lib/locale (note the singular).

Right (just misspelled in the bug report).
=
=C2=A0
This directory actually comes pre-populated with a small subset of UTF-8 locales when using the binary installation method like the script does,
so it's odd if you don't find anything there.
=
I think so too. (But it's not true that it is a small su= bset of UTF-8 locales. It's a big package with several types of locale.= )

Which distribution are you on,

Debian Buste= r
=C2=A0
and how do you become root?

sudo -i
=
=C2=A0
= =C2=A0 Is the $HOME
variable set to root's home directory when you are in a root shell?
=

Yes.

To figure out where the package gets installed, try running this
command:

find /var/guix/profiles -name sv_SE.utf8 -type d

<= /div>
It's obvious that that line will produce an empty result. Tha= t is because the sv_SE.utf8 directory only exists in the store. But I don&#= 39;t see the point of looking it up in the store. The problem is that the l= ink into the store from the root user profile is never created. (It *is* cr= eated in other user profiles.)

Best regards,
=
Mikael
--000000000000d6bedb05a1253a3a--