From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Locale error: Falling back to C locale Date: Thu, 29 Mar 2018 09:50:28 +0530 Message-ID: <87woxv4inn.fsf@gmail.com> References: <87lgee3sfw.fsf@gmail.com> <87d0zpx2rw.fsf@gnu.org> <87y3id7rdb.fsf@gmail.com> <87efk5utd5.fsf@gnu.org> <87lgecx10r.fsf@gmail.com> <87o9j8lzmr.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1P3G-00067t-NQ for help-guix@gnu.org; Thu, 29 Mar 2018 00:20:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1P3B-0006Ve-PK for help-guix@gnu.org; Thu, 29 Mar 2018 00:20:38 -0400 In-reply-to: <87o9j8lzmr.fsf@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Marius Bakke Cc: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Pierre Neidhardt writes: > >>> guix package -I local >> glibc-utf8-locales 2.26.105-g0890d5379c out /gnu/store/3k6hl20c3b7big8ng= rsl6mj9k8xav99d-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? =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlq8aYwACgkQm9z0l6S7 zH/akQf/VAyNksPmwT4c8mUgp6UtVJOIQqHxt6XjUFJYE85WOSqwQ6lVameEMbyx SCrIepCnFg8G8LQ9G/Y6i7/hQmbVCPZI4lUMhw9KtgzkrZYHOUJDyAPeWuUCA7U7 gymHp5rhCWA5nJ4J5y99z1Qcw5Yxc03gMs4nWo4DYSHZC5rkpTmgNZ2BWFO/cv05 H1MY73rXDMgIqIQyL6feGP5XJlh8JTuaDJzjtsvB4MvedYOAEaXaxvCdiwYiccY4 nFLbzqANP9z32Pb533nI2tHHdsiwY6EqwKdVrTKU9DMGOEadCZD09o8JvqgPevDP PSz4HZXFj0exQfn1HAU1fZEwDniw5g== =n4sj -----END PGP SIGNATURE----- --=-=-=--