unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: David Philipe Gil via Bug reports for GNU Guix <bug-guix@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 41603@debbugs.gnu.org
Subject: bug#41603: How To Resolve "guile: warning: failed to install locale"
Date: Fri, 29 May 2020 21:10:02 +0000	[thread overview]
Message-ID: <9390eb99-99a5-29ba-24df-e627ab59be62@protonmail.com> (raw)
In-Reply-To: <CAJ3okZ2ie=bmo6vaWfbH9K7VW0jtk8+EJWxu8e=VAYUGq_uJ=g@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3462 bytes --]

It seems the local build aspect is broken for me for glibc-locales so to
solve this, as root I did:

# guix archive --authorize < \
     ~root/.config/guix/current/share/guix/ci.guix.gnu.org.pub

It seems to have fixed my issue.

On 5/29/20 4:29 PM, David Philipe Gil wrote:
> I uninstalled glibc-locales and tried to reinstall and now I cannot
> reinstall it.
>
> guile: warning: failed to install locale
> The following package will be installed:
>    glibc-locales 2.31
>
> substitute: guix substitute: warning: ACL for archive imports seems to
> be uninitialized, substitutes may be unavailable
> The following derivations will be built:
>    /gnu/store/rymq0i0my05d99ak07gkynj1k833fykp-glibc-locales-2.31.drv
>   
> /gnu/store/yqb4xxxjgwm21gnl0kp4w7awiamqjhi6-linux-libre-headers-5.4.20.drv
>    /gnu/store/kkk0l92v144xj04kzrccbggr5m7v8ppd-rsync-3.1.3.drv
>    /gnu/store/67dlbyg441iafjiz1k5xrrsp9iflidkr-popt-1.16.drv
>    /gnu/store/cgzl9aa8qr8bgzq7qr4m2bbb76c8azkl-popt-1.16.tar.gz.drv
> building /gnu/store/cgzl9aa8qr8bgzq7qr4m2bbb76c8azkl-popt-1.16.tar.gz.drv...
> downloading from http://rpm5.org/files/popt/popt-1.16.tar.gz ...
> \sha256 hash mismatch for
> /gnu/store/smgir46ibcnj6sr55lipl45xbafx89i9-popt-1.16.tar.gz:
>   expected hash: 1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77
>   actual hash:   0w0az9ni0gsh8zqpv3g15k2mrn201np876ha4442pfks9jpg0vyl
> hash mismatch for store item
> '/gnu/store/smgir46ibcnj6sr55lipl45xbafx89i9-popt-1.16.tar.gz'
> build of
> /gnu/store/cgzl9aa8qr8bgzq7qr4m2bbb76c8azkl-popt-1.16.tar.gz.drv failed
> View build log at
> '/var/log/guix/drvs/cg/zl9aa8qr8bgzq7qr4m2bbb76c8azkl-popt-1.16.tar.gz.drv.bz2'.
> cannot build derivation
> `/gnu/store/67dlbyg441iafjiz1k5xrrsp9iflidkr-popt-1.16.drv': 1
> dependencies couldn't be built
> cannot build derivation
> `/gnu/store/kkk0l92v144xj04kzrccbggr5m7v8ppd-rsync-3.1.3.drv': 1
> dependencies couldn't be built
> cannot build derivation
> `/gnu/store/yqb4xxxjgwm21gnl0kp4w7awiamqjhi6-linux-libre-headers-5.4.20.drv':
> 1 dependencies couldn't be built
> cannot build derivation
> `/gnu/store/rymq0i0my05d99ak07gkynj1k833fykp-glibc-locales-2.31.drv': 1
> dependencies couldn't be built
> guix package: error: build of
> `/gnu/store/rymq0i0my05d99ak07gkynj1k833fykp-glibc-locales-2.31.drv' failed
>
>
> On 5/29/20 11:31 AM, zimoun wrote:
>> Dear,
>>
>> On Fri, 29 May 2020 at 17:20, David Philipe Gil via Bug reports for
>> GNU Guix <bug-guix@gnu.org> wrote:
>>
>>> I have the Guix package manager installed on Trisquel 9 (Ubuntu 18.04 based) and whenever I do "guix pull", "guix package -u", etc. As a first response, I see the following warning -- "guile: warning: failed to install locale".
>>>
>>> I have installed the glibc locales package already. How do I resolve this? I suspect this is related to why some programs like "peek" (a GIF recording app) show me broken UI characters.
>> Do you have installed twice glibc-locales?
>>
>>  1. in your user default profile; what you already did, I guess.
>>  2. in your root profile (roughly speaking the locale used by the
>> daemon) -- maybe adjust systemd or other.
>>
>> Well, this should fix the issue when you invoke "guix <command>".
>> For the other issue (peek), I do not know.
>>
>> Hope that helps,
>> simon

-- 
==============================================

Sent from Protonmail -- https://protonmail.com


[-- Attachment #1.2: Type: text/html, Size: 4342 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

  parent reply	other threads:[~2020-05-29 21:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29 15:19 bug#41603: How To Resolve "guile: warning: failed to install locale" David Philipe Gil via Bug reports for GNU Guix
2020-05-29 15:31 ` zimoun
2020-05-29 20:29   ` David Philipe Gil via Bug reports for GNU Guix
2020-05-29 21:15     ` Marius Bakke
2020-05-29 22:10       ` zimoun
2020-05-29 22:13       ` David Philipe Gil via Bug reports for GNU Guix
2020-05-29 22:12     ` Ricardo Wurmus
2020-05-29 22:14       ` David Philipe Gil via Bug reports for GNU Guix
2020-05-29 21:10   ` David Philipe Gil via Bug reports for GNU Guix [this message]
2020-05-29 22:03     ` zimoun
2020-05-29 22:07       ` David Philipe Gil via Bug reports for GNU Guix
2020-05-29 22:14         ` zimoun
2020-05-29 22:16           ` David Philipe Gil via Bug reports for GNU Guix
2020-05-29 22:27             ` zimoun
2020-05-29 23:14               ` David Philipe Gil via Bug reports for GNU Guix
2020-05-30  8:03                 ` Marius Bakke
     [not found] <CAEtmmexWur4pfWPcGb6uztwdxwGALDPphffUNQep2Oi=X+_2ig@mail.gmail.com>
2022-01-20 15:50 ` Rostislav Svoboda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9390eb99-99a5-29ba-24df-e627ab59be62@protonmail.com \
    --to=bug-guix@gnu.org \
    --cc=41603@debbugs.gnu.org \
    --cc=davidpgil@protonmail.com \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).