* warning: failed to install locale: Invalid argument
@ 2015-07-24 18:35 Cook, Malcolm
2015-07-24 20:50 ` Ludovic Courtès
0 siblings, 1 reply; 7+ messages in thread
From: Cook, Malcolm @ 2015-07-24 18:35 UTC (permalink / raw)
To: 'Guix-devel'
With each call to guix I get
warning: failed to install locale: Invalid argument
I am using fresh binary install of 0.8.3 into clean CentOS7 following http://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html
Can anyone provide guidance on how to proceed on this?
Thx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: warning: failed to install locale: Invalid argument
2015-07-24 18:35 Cook, Malcolm
@ 2015-07-24 20:50 ` Ludovic Courtès
2015-07-24 21:01 ` Cook, Malcolm
0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2015-07-24 20:50 UTC (permalink / raw)
To: Cook, Malcolm; +Cc: 'Guix-devel'
"Cook, Malcolm" <MEC@stowers.org> skribis:
> With each call to guix I get
>
> warning: failed to install locale: Invalid argument
See
<http://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#Locales-1>.
I’ve added a cross-ref to that section from “Binary Installation”.
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: warning: failed to install locale: Invalid argument
2015-07-24 20:50 ` Ludovic Courtès
@ 2015-07-24 21:01 ` Cook, Malcolm
2015-07-25 6:38 ` Pjotr Prins
2015-07-25 19:53 ` Ludovic Courtès
0 siblings, 2 replies; 7+ messages in thread
From: Cook, Malcolm @ 2015-07-24 21:01 UTC (permalink / raw)
To: 'Ludovic Courtès'; +Cc: 'Guix-devel'
> "Cook, Malcolm" <MEC@stowers.org> skribis:
>
> > With each call to guix I get
> >
> > warning: failed to install locale: Invalid argument
>
> See
> <http://www.gnu.org/software/guix/manual/html_node/Application-
> Setup.html#Locales-1>.
Thanks Ludo, I should have mentioned that I did do that already. Viz:
bash-4.2$ echo $LOCPATH
/home/mec/.guix-profile/lib/locale
and also:
bash-4.2$ ls $LOCPATH | grep en_US
en_US
en_US.UTF-8
but still:
bash-4.2$ guix package -i bedtools
The following package will be installed:
bedtools 2.22.0 /gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0
substitute: warning: failed to install locale: Invalid argument
updating list of substitutes from 'http://hydra.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/s29xhgww0kpgg2202sc04zdxnr662h1n-profile.drv
/gnu/store/cxgij61q1b8103vcp3g71cb5h44saslk-info-dir.drv
/gnu/store/q6shg82wi1qml95wpgx50lqs4mxanx55-ca-certificate-bundle.drv
/gnu/store/v1vy5vbrkwkr4ccskx10rnkp322wvzy0-gtk-icon-themes.drv
The following file will be downloaded:
/gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0
warning: failed to install locale: Invalid argument
found valid signature for '/gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0', from 'http://hydra.gnu.org/nar/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0'
downloading `/gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0' (2.1 MiB installed)...
http://hydra.gnu.org/nar/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0 743.9 KiB transferred (677. KiB/s)
`/gnu/store/xiiiygcicq5dyzkhg8szybcjbygj1g8r-hicolor-icon-theme-0.12/share/icons/hicolor/index.theme' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/index.theme'
warning: collision encountered: /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache
warning: arbitrarily choosing /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache
`/gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/icon-theme.cache'
`/gnu/store/xiiiygcicq5dyzkhg8szybcjbygj1g8r-hicolor-icon-theme-0.12/share/icons/hicolor/128x128/emotes' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/128x128/emotes'
...
`/gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/48x48/apps/emacs.png' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/48x48/apps/emacs.png'
`/gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/48x48/apps/dconf-editor.png' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/48x48/apps/dconf-editor.png'
`/gnu/store/xiiiygcicq5dyzkhg8szybcjbygj1g8r-hicolor-icon-theme-0.12/share/icons/hicolor/48x48/stock' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/48x48/stock'
Scores of lines deleted......
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
warning: collision encountered: /gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/icon-theme.cache /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache
warning: arbitrarily choosing /gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/icon-theme.cache
17 packages in profile
Any ideas for me?
>
> I’ve added a cross-ref to that section from “Binary Installation”.
Appreciated. I did miss it for a while, but do have it now.
~Malcolm
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: warning: failed to install locale: Invalid argument
2015-07-24 21:01 ` Cook, Malcolm
@ 2015-07-25 6:38 ` Pjotr Prins
2015-07-25 19:53 ` Ludovic Courtès
1 sibling, 0 replies; 7+ messages in thread
From: Pjotr Prins @ 2015-07-25 6:38 UTC (permalink / raw)
To: Cook, Malcolm; +Cc: 'Guix-devel'
This works for me:
https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#set-locale
On Fri, Jul 24, 2015 at 09:01:15PM +0000, Cook, Malcolm wrote:
> > "Cook, Malcolm" <MEC@stowers.org> skribis:
> >
> > > With each call to guix I get
> > >
> > > warning: failed to install locale: Invalid argument
> >
> > See
> > <http://www.gnu.org/software/guix/manual/html_node/Application-
> > Setup.html#Locales-1>.
>
> Thanks Ludo, I should have mentioned that I did do that already. Viz:
>
> bash-4.2$ echo $LOCPATH
> /home/mec/.guix-profile/lib/locale
>
> and also:
>
> bash-4.2$ ls $LOCPATH | grep en_US
> en_US
> en_US.UTF-8
>
> but still:
>
> bash-4.2$ guix package -i bedtools
> The following package will be installed:
> bedtools 2.22.0 /gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0
>
> substitute: warning: failed to install locale: Invalid argument
> updating list of substitutes from 'http://hydra.gnu.org'... 100.0%
> The following derivations will be built:
> /gnu/store/s29xhgww0kpgg2202sc04zdxnr662h1n-profile.drv
> /gnu/store/cxgij61q1b8103vcp3g71cb5h44saslk-info-dir.drv
> /gnu/store/q6shg82wi1qml95wpgx50lqs4mxanx55-ca-certificate-bundle.drv
> /gnu/store/v1vy5vbrkwkr4ccskx10rnkp322wvzy0-gtk-icon-themes.drv
> The following file will be downloaded:
> /gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0
> warning: failed to install locale: Invalid argument
> found valid signature for '/gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0', from 'http://hydra.gnu.org/nar/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0'
> downloading `/gnu/store/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0' (2.1 MiB installed)...
> http://hydra.gnu.org/nar/zbwx86lncaa1a9r001lnp3kisxp5jjfh-bedtools-2.22.0 743.9 KiB transferred (677. KiB/s)
> `/gnu/store/xiiiygcicq5dyzkhg8szybcjbygj1g8r-hicolor-icon-theme-0.12/share/icons/hicolor/index.theme' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/index.theme'
> warning: collision encountered: /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache
> warning: arbitrarily choosing /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache
> `/gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/icon-theme.cache'
> `/gnu/store/xiiiygcicq5dyzkhg8szybcjbygj1g8r-hicolor-icon-theme-0.12/share/icons/hicolor/128x128/emotes' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/128x128/emotes'
> ...
> `/gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/48x48/apps/emacs.png' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/48x48/apps/emacs.png'
> `/gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/48x48/apps/dconf-editor.png' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/48x48/apps/dconf-editor.png'
> `/gnu/store/xiiiygcicq5dyzkhg8szybcjbygj1g8r-hicolor-icon-theme-0.12/share/icons/hicolor/48x48/stock' ~> `/gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/48x48/stock'
>
>
> Scores of lines deleted......
>
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> warning: collision encountered: /gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/icon-theme.cache /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache
> warning: arbitrarily choosing /gnu/store/2lsm61aid4hv02jawvyjmb6s8i31na39-gtk-icon-themes/share/icons/hicolor/icon-theme.cache
> 17 packages in profile
>
>
>
> Any ideas for me?
>
> >
> > I’ve added a cross-ref to that section from “Binary Installation”.
>
> Appreciated. I did miss it for a while, but do have it now.
>
> ~Malcolm
>
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: warning: failed to install locale: Invalid argument
2015-07-24 21:01 ` Cook, Malcolm
2015-07-25 6:38 ` Pjotr Prins
@ 2015-07-25 19:53 ` Ludovic Courtès
1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2015-07-25 19:53 UTC (permalink / raw)
To: Cook, Malcolm; +Cc: 'Guix-devel'
"Cook, Malcolm" <MEC@stowers.org> skribis:
>> "Cook, Malcolm" <MEC@stowers.org> skribis:
>>
>> > With each call to guix I get
>> >
>> > warning: failed to install locale: Invalid argument
>>
>> See
>> <http://www.gnu.org/software/guix/manual/html_node/Application-
>> Setup.html#Locales-1>.
>
> Thanks Ludo, I should have mentioned that I did do that already. Viz:
Perfect.
> substitute: warning: failed to install locale: Invalid argument
This warning comes from the ‘guix substitute’ command, which is spawned
by ‘guix-daemon’.
So presumably LOCPATH isn’t set in the daemon’s environment (and thus in
the environment of ‘guix substitute’.)
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
* warning: failed to install locale: Invalid argument
@ 2022-11-16 0:21 jgart
2022-11-18 16:56 ` Ludovic Courtès
0 siblings, 1 reply; 7+ messages in thread
From: jgart @ 2022-11-16 0:21 UTC (permalink / raw)
To: Guix Help
Hi,
Any idea where this warning may be coming from? Let me know what details I should provide to debug this.
bash_profile? bashrc? I'm on void linux.
Could this be an issue caused by not running nscd properly?
I think this might also be related to the reason why my geiser-guile is not working (geiser-edit-complete-symbol-at-point)
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: warning: failed to install locale: Invalid argument
2022-11-16 0:21 warning: failed to install locale: Invalid argument jgart
@ 2022-11-18 16:56 ` Ludovic Courtès
0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2022-11-18 16:56 UTC (permalink / raw)
To: jgart; +Cc: Guix Help
Hi,
jgart <jgart@dismail.de> skribis:
> guile: warning: failed to install locale
This means that data for the locale you chose is cannot be found by the
C library used by Guile.
Typically, one chooses locale data by setting environment variables such
as ‘LC_ALL’ or ‘LANG’.
In Guix, locale data is provided separately from the C library (glibc).
You can either get it from the ‘glibc-locales’ package, which contains
all existing locales, or, on Guix System, you’ll get the locales you
asked for under /run/current-system/locale.
The manual has more details on setting up locales.
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-11-18 16:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 0:21 warning: failed to install locale: Invalid argument jgart
2022-11-18 16:56 ` Ludovic Courtès
-- strict thread matches above, loose matches on Subject: below --
2015-07-24 18:35 Cook, Malcolm
2015-07-24 20:50 ` Ludovic Courtès
2015-07-24 21:01 ` Cook, Malcolm
2015-07-25 6:38 ` Pjotr Prins
2015-07-25 19:53 ` Ludovic Courtès
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.