unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41603: How To Resolve "guile: warning: failed to install locale"
@ 2020-05-29 15:19 David Philipe Gil via Bug reports for GNU Guix
  2020-05-29 15:31 ` zimoun
  0 siblings, 1 reply; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 15:19 UTC (permalink / raw)
  To: 41603


[-- Attachment #1.1.1: Type: text/plain, Size: 416 bytes --]

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.

[-- Attachment #1.1.2.1: Type: text/html, Size: 483 bytes --]

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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:10   ` David Philipe Gil via Bug reports for GNU Guix
  0 siblings, 2 replies; 17+ messages in thread
From: zimoun @ 2020-05-29 15:31 UTC (permalink / raw)
  To: David Philipe Gil; +Cc: 41603

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




^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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:12     ` Ricardo Wurmus
  2020-05-29 21:10   ` David Philipe Gil via Bug reports for GNU Guix
  1 sibling, 2 replies; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 20:29 UTC (permalink / raw)
  To: zimoun; +Cc: 41603

[-- Attachment #1: Type: text/plain, Size: 3073 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  2020-05-29 15:31 ` zimoun
  2020-05-29 20:29   ` David Philipe Gil via Bug reports for GNU Guix
@ 2020-05-29 21:10   ` David Philipe Gil via Bug reports for GNU Guix
  2020-05-29 22:03     ` zimoun
  1 sibling, 1 reply; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 21:10 UTC (permalink / raw)
  To: zimoun; +Cc: 41603


[-- 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 --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  1 sibling, 2 replies; 17+ messages in thread
From: Marius Bakke @ 2020-05-29 21:15 UTC (permalink / raw)
  To: David Philipe Gil, David Philipe Gil, zimoun; +Cc: 41603

[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]

David Philipe Gil via Bug reports for GNU Guix <bug-guix@gnu.org>
writes:

> I uninstalled glibc-locales and tried to reinstall and now I cannot
> reinstall it.

So you reinstalled Guix?

> 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

Did you intentionally disable binary substitutes?

> 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'

Uff, this is because the domain that used to serve the tarball has
started serving very different content.  :-/

I have fixed this in the Guix master branch with commit
91c8b23e571b90e2d263194c9fbb2b05c0475dc1.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  2020-05-29 21:10   ` David Philipe Gil via Bug reports for GNU Guix
@ 2020-05-29 22:03     ` zimoun
  2020-05-29 22:07       ` David Philipe Gil via Bug reports for GNU Guix
  0 siblings, 1 reply; 17+ messages in thread
From: zimoun @ 2020-05-29 22:03 UTC (permalink / raw)
  To: David Philipe Gil; +Cc: 41603

Dear,

On Fri, 29 May 2020 at 23:10, David Philipe Gil
<davidpgil@protonmail.com> wrote:
>
> 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

As Marius pointed, without this you do not use the substitutes
(binary) served by the build farm ci.guix.gnu.org...


> substitute: guix substitute: warning: ACL for archive imports seems to
> be uninitialized, substitutes may be unavailable

...therefore, you are rebuilding everything.  And your issue was coming from...


> 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

...this mismatch.  The upstream did a really bad thing: in-place replacement.


Hope that helps,
simon




^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  0 siblings, 1 reply; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 22:07 UTC (permalink / raw)
  To: zimoun; +Cc: 41603


[-- Attachment #1.1: Type: text/html, Size: 2250 bytes --]

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  1 sibling, 0 replies; 17+ messages in thread
From: zimoun @ 2020-05-29 22:10 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41603, David Philipe Gil

Hi Marius,

On Fri, 29 May 2020 at 23:15, Marius Bakke <marius@gnu.org> wrote:

> Uff, this is because the domain that used to serve the tarball has
> started serving very different content.  :-/
>
> I have fixed this in the Guix master branch with commit
> 91c8b23e571b90e2d263194c9fbb2b05c0475dc1.

Thank you for the quick fix.  Closing?




^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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:12     ` Ricardo Wurmus
  2020-05-29 22:14       ` David Philipe Gil via Bug reports for GNU Guix
  1 sibling, 1 reply; 17+ messages in thread
From: Ricardo Wurmus @ 2020-05-29 22:12 UTC (permalink / raw)
  To: David Philipe Gil; +Cc: 41603


David Philipe Gil via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

> substitute: guix substitute: warning: ACL for archive imports seems to
> be uninitialized, substitutes may be unavailable

This means you will be building everything from source.  If that’s not
what you intended to do you should authorize the public key of the
substitute server ci.guix.gnu.org.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  1 sibling, 0 replies; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 22:13 UTC (permalink / raw)
  To: Marius Bakke, zimoun; +Cc: 41603


[-- Attachment #1.1: Type: text/html, Size: 2397 bytes --]

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  0 siblings, 1 reply; 17+ messages in thread
From: zimoun @ 2020-05-29 22:14 UTC (permalink / raw)
  To: David Philipe Gil; +Cc: 41603

On Sat, 30 May 2020 at 00:07, David Philipe Gil
<davidpgil@protonmail.com> wrote:
>
> I thought it would be "cool" to build all of my own software using Guix, but it seems that functionality is not reliable yet. Anyway, my issue is now resolved. Thank you.

Depending on what you use, build all your software could be really
resource hungry!  Especially with the bootstrap dance.

The functionality is reliable.  The issue is not from the Guix side
but from upstream. Well, Guix cannot fix the world. ;-)


Cheers,
simon




^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  2020-05-29 22:12     ` Ricardo Wurmus
@ 2020-05-29 22:14       ` David Philipe Gil via Bug reports for GNU Guix
  0 siblings, 0 replies; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 22:14 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 41603, zimoun


[-- Attachment #1.1: Type: text/html, Size: 892 bytes --]

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  0 siblings, 1 reply; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 22:16 UTC (permalink / raw)
  To: zimoun; +Cc: 41603


[-- Attachment #1.1: Type: text/html, Size: 1081 bytes --]

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  0 siblings, 1 reply; 17+ messages in thread
From: zimoun @ 2020-05-29 22:27 UTC (permalink / raw)
  To: David Philipe Gil; +Cc: 41603-done

Dear,

Because the issue is fixed for you and new hash is fixed in
91c8b23e571b90e2d263194c9fbb2b then I am closing.


On Sat, 30 May 2020 at 00:16, David Philipe Gil
<davidpgil@protonmail.com> wrote:>

> I thankfully have resources to spare on building my own binaries. I might go back to it. I think its so cool.

Now your issue is solved, you can start again to burn your CPU.
Give a look a "guix challenge" and please report mismatch and "guix
publish" to serve the binaries you build.


All the best,
simon




^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  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
  0 siblings, 1 reply; 17+ messages in thread
From: David Philipe Gil via Bug reports for GNU Guix @ 2020-05-29 23:14 UTC (permalink / raw)
  To: zimoun; +Cc: 41603-done

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

Interesting -- ive never heard of guix challenge...

I ran it and here is my result:

'''

8,427 store items were analyzed:
  - 3,480 (41.3%) were identical
  - 147 (1.7%) differed
  - 4,800 (57.0%) were inconclusive

'''

So, does this mean that some of the binaries that are being hosted may
be malicious? I am only somewhat "techie" if i built my own binaries is
it "easy" to publish my binaries?

On 5/29/20 6:27 PM, zimoun wrote:
> Dear,
>
> Because the issue is fixed for you and new hash is fixed in
> 91c8b23e571b90e2d263194c9fbb2b then I am closing.
>
>
> On Sat, 30 May 2020 at 00:16, David Philipe Gil
> <davidpgil@protonmail.com> wrote:>
>
>> I thankfully have resources to spare on building my own binaries. I might go back to it. I think its so cool.
> Now your issue is solved, you can start again to burn your CPU.
> Give a look a "guix challenge" and please report mismatch and "guix
> publish" to serve the binaries you build.
>
>
> All the best,
> simon

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

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


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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
  2020-05-29 23:14               ` David Philipe Gil via Bug reports for GNU Guix
@ 2020-05-30  8:03                 ` Marius Bakke
  0 siblings, 0 replies; 17+ messages in thread
From: Marius Bakke @ 2020-05-30  8:03 UTC (permalink / raw)
  To: David Philipe Gil, David Philipe Gil, zimoun; +Cc: 41603-done

[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]

David Philipe Gil via Bug reports for GNU Guix <bug-guix@gnu.org>
writes:

> Interesting -- ive never heard of guix challenge...
>
> I ran it and here is my result:
>
> '''
>
> 8,427 store items were analyzed:
>   - 3,480 (41.3%) were identical
>   - 147 (1.7%) differed
>   - 4,800 (57.0%) were inconclusive
>
> '''
>
> So, does this mean that some of the binaries that are being hosted may
> be malicious?

It means that 147 out of 3627 items that could be found on the remote
server were not reproducible.  Or about 4%.  There are some known
offenders such as debug outputs: you can use 'guix challenge
--diff=diffoscope' to get detailed information about the differences.

96% is close to Debian's number: <https://isdebianreproducibleyet.com/>.

It would be good to file bugs about those 4% and bring the number
closer to zero.  :-)

"inconclusive" just means that the remote did not have those store items
available, so Guix was unable to challenge them.

> I am only somewhat "techie" if i built my own binaries is it "easy" to
> publish my binaries?

Yes: simply running 'guix publish' starts a web server that can be used
with --substitute-urls.  You'll also need to generate a signing key and
authorize it on all clients.

There is a service available for 'guix publish', also on foreign
distributions.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#41603: How To Resolve "guile: warning: failed to install locale"
       [not found] <CAEtmmexWur4pfWPcGb6uztwdxwGALDPphffUNQep2Oi=X+_2ig@mail.gmail.com>
@ 2022-01-20 15:50 ` Rostislav Svoboda
  0 siblings, 0 replies; 17+ messages in thread
From: Rostislav Svoboda @ 2022-01-20 15:50 UTC (permalink / raw)
  To: 41603

> 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.

Confirming. Executing `guix archive ...` helps. However there's no
ci.guix.gnu.org.pub under that path. In my case the
ci.guix.gnu.org.pub I used is:

sha256sum $(find /root/.cache/ -name ci.guix.gnu.org.pub)
0f7e51614eac75353196b650e73b7b5eeee59824b0f78935da0d6717ddd1792f
/root/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/etc/substitutes/ci.guix.gnu.org.pub

(Be careful, I must admit I don't really know what I've been doing
with that `guix archive` command).

And then the commands I executed are:

sudo su          # become root
guix archive --authorize < $(find /root/.cache/ -name ci.guix.gnu.org.pub)
exit             # exit the root shell
guix pull        # not sure if this is needed, but it shouldn't do any harm
guix install glibc-locales




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-01-20 21:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).