* bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh @ 2020-08-22 16:46 Michael Gorlick 2020-08-22 17:06 ` Leo Famulari 0 siblings, 1 reply; 6+ messages in thread From: Michael Gorlick @ 2020-08-22 16:46 UTC (permalink / raw) To: 42989 [-- Attachment #1: Type: text/plain, Size: 1495 bytes --] 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. This minor oversight accounts in part for the *guile: warning: failed to install locale *error and related warnings that have cropped up repeatedly when the build daemons are invoked To test this fix: - I edited the guix-daemon.service specification in place at /etc/systemd/system by hand - Rebooted to restart the guix build daemons (I detest systemd and I'm lazy besides) - *guix pull *for my personal userland account - *guix package -u* to upgrade same - *guix package -i libc-utf8-locales* to upgrade my locales from 2.29 to 2.31 - *sudo -i guix pull* to update the root's view of guix - *sudo -i guix package -u* for an upgrade of same - *sudo -i guix package -i glibc-utf8-locales* to have the latest version of the UTF-8 locales installed in ~root/.guix-profile/lib/locale In subsequent user-level *guix install X* commands the warning no longer appears nor do the build daemons complain about failing to set the locale to *en_US.utf8* [-- Attachment #2: Type: text/html, Size: 1795 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh 2020-08-22 16:46 bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Michael Gorlick @ 2020-08-22 17:06 ` Leo Famulari [not found] ` <CAFLY-s+qQ-p9shgi+rRRoFUxj6c=0=rewVW9+g0cKVJxLZq3dg@mail.gmail.com> 0 siblings, 1 reply; 6+ messages in thread From: Leo Famulari @ 2020-08-22 17:06 UTC (permalink / raw) To: Michael Gorlick; +Cc: 42989 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. ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <CAFLY-s+qQ-p9shgi+rRRoFUxj6c=0=rewVW9+g0cKVJxLZq3dg@mail.gmail.com>]
[parent not found: <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com>]
* bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh [not found] ` <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> @ 2020-08-22 19:22 ` Michael Gorlick 2020-08-22 21:39 ` Leo Famulari 0 siblings, 1 reply; 6+ messages in thread From: Michael Gorlick @ 2020-08-22 19:22 UTC (permalink / raw) To: leo, 42989 [-- Attachment #1: Type: text/plain, Size: 1979 bytes --] 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. > > > [-- Attachment #2: Type: text/html, Size: 3118 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh 2020-08-22 19:22 ` Michael Gorlick @ 2020-08-22 21:39 ` Leo Famulari 2022-07-14 2:18 ` Maxim Cournoyer 0 siblings, 1 reply; 6+ messages in thread From: Leo Famulari @ 2020-08-22 21:39 UTC (permalink / raw) To: Michael Gorlick; +Cc: 42989 On Sat, Aug 22, 2020 at 12:22:13PM -0700, Michael Gorlick wrote: > 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. Yeah, locales are one of the bigger user experience problem with Guix :/ The warnings are a definite improvement over how it used to be, when glibc would simply ABORT any program that was using the wrong version of locales. We are still searching for a solid solution to the problem, as we've been tweaking the documentation for years now, but people still report the warnings all the time. ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh 2020-08-22 21:39 ` Leo Famulari @ 2022-07-14 2:18 ` Maxim Cournoyer 2022-07-14 17:33 ` Michael Gorlick 0 siblings, 1 reply; 6+ messages in thread From: Maxim Cournoyer @ 2022-07-14 2:18 UTC (permalink / raw) To: Leo Famulari; +Cc: Michael Gorlick, 42989-done Hi, Leo Famulari <leo@famulari.name> writes: > On Sat, Aug 22, 2020 at 12:22:13PM -0700, Michael Gorlick wrote: >> 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. > > Yeah, locales are one of the bigger user experience problem with Guix :/ > The warnings are a definite improvement over how it used to be, when > glibc would simply ABORT any program that was using the wrong version of > locales. > > We are still searching for a solid solution to the problem, as we've > been tweaking the documentation for years now, but people still report > the warnings all the time. I think the situation has improved a lot in recent years. I'll close this since the title is misguided, and since it's very old :-). Thank you, Maxim ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh 2022-07-14 2:18 ` Maxim Cournoyer @ 2022-07-14 17:33 ` Michael Gorlick 0 siblings, 0 replies; 6+ messages in thread From: Michael Gorlick @ 2022-07-14 17:33 UTC (permalink / raw) To: Maxim Cournoyer; +Cc: 42989-done, Leo Famulari [-- Attachment #1: Type: text/plain, Size: 1619 bytes --] Agreed. It arose from a misunderstanding of guix and rightly deserves to be ignored and deep sixed. On Wed, Jul 13, 2022 at 7:18 PM Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote: > Hi, > > Leo Famulari <leo@famulari.name> writes: > > > On Sat, Aug 22, 2020 at 12:22:13PM -0700, Michael Gorlick wrote: > >> 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. > > > > Yeah, locales are one of the bigger user experience problem with Guix :/ > > The warnings are a definite improvement over how it used to be, when > > glibc would simply ABORT any program that was using the wrong version of > > locales. > > > > We are still searching for a solid solution to the problem, as we've > > been tweaking the documentation for years now, but people still report > > the warnings all the time. > > I think the situation has improved a lot in recent years. I'll close > this since the title is misguided, and since it's very old :-). > > Thank you, > > Maxim > [-- Attachment #2: Type: text/html, Size: 2210 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-07-14 17:40 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-08-22 16:46 bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Michael Gorlick 2020-08-22 17:06 ` Leo Famulari [not found] ` <CAFLY-s+qQ-p9shgi+rRRoFUxj6c=0=rewVW9+g0cKVJxLZq3dg@mail.gmail.com> [not found] ` <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> 2020-08-22 19:22 ` Michael Gorlick 2020-08-22 21:39 ` Leo Famulari 2022-07-14 2:18 ` Maxim Cournoyer 2022-07-14 17:33 ` Michael Gorlick
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.