all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <ambrevar@gmail.com>
To: Marius Bakke <mbakke@fastmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Locale error: Falling back to C locale
Date: Thu, 29 Mar 2018 09:50:28 +0530	[thread overview]
Message-ID: <87woxv4inn.fsf@gmail.com> (raw)
In-Reply-To: <87o9j8lzmr.fsf@fastmail.com>

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


Marius Bakke <mbakke@fastmail.com> writes:

> Pierre Neidhardt <ambrevar@gmail.com> writes:
>
>>> guix package -I local
>> glibc-utf8-locales	2.26.105-g0890d5379c	out	/gnu/store/3k6hl20c3b7big8ngrsl6mj9k8xav99d-glibc-utf8-locales-2.26.105-g0890d5379c
>>
>>> guix package -I emacs
>> emacs	25.3	out	/gnu/store/y335nx4r08m6kg0yrna7spfwr4s05n36-emacs-25.3
>>
>> How do I check which glibc Emacs is using?
>> I can think of `ldd emacs` but... Where is ldd? :p
>
> "ldd" is in "glibc" :-)
>
> You can also use `guix gc -R /gnu/store/...-emacs-25.3 | grep glibc`.

Here:

	> guix gc -R ${guix build emacs} | grep glibc
	/gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c

>> A more general question: How do I find to which non-installed package a
>> filename belongs?
>
> Guix does not currently know anything about the files inside each
> package, I typically do a web search...

This is too bad, I believe it's an important feature for any package
manager.
As far as I can tell, `portage` and `pacman` can both do it.

Any plan regarding guix?

>> If Emacs happens to be using glibc 2.25, how could such a sitution occur
>> in the first place?  Why is glibc 2.25 needed at all?
>
> This situation can occur when you've installed emacs built against glibc
> 2.25 (which was the glibc in Guix until ~February), and then later
> updated "glibc-utf8-locales" to 2.26 which has incompatible locale data.
>
> Updating emacs would fix it in that case, since it would be built
> against the new glibc.

Running `guix package -u emacs` does nothing special, possibly because
it's already up to date.  Can I force a rebuild?

-- 
Pierre Neidhardt

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

  reply	other threads:[~2018-03-29  4:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-27  7:09 Locale error: Falling back to C locale Pierre Neidhardt
2018-03-27  9:53 ` Ludovic Courtès
2018-03-27 10:19   ` Pierre Neidhardt
2018-03-27 21:00     ` Ludovic Courtès
2018-03-28  4:44       ` Pierre Neidhardt
2018-03-28 20:21         ` Marius Bakke
2018-03-29  4:20           ` Pierre Neidhardt [this message]
2018-03-29 16:53             ` Marius Bakke
2018-03-29 17:04               ` Pierre Neidhardt
2018-03-29 17:12                 ` Marius Bakke
2018-03-29 17:45                   ` Pierre Neidhardt
2018-03-29 20:15                     ` Ricardo Wurmus
2018-03-30  4:13                       ` Pierre Neidhardt
2018-03-30  9:48                         ` Ricardo Wurmus
2018-03-30 10:14                           ` Pierre Neidhardt
2018-03-30  4:53             ` Given a file, find the package that builds it Chris Marusich
2018-03-30  6:16               ` Oleg Pykhalov
2018-03-30  6:22                 ` Pierre Neidhardt

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

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

  git send-email \
    --in-reply-to=87woxv4inn.fsf@gmail.com \
    --to=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=mbakke@fastmail.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 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.