From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: warning: failed to install locale Date: Fri, 18 Jan 2019 11:35:28 +0100 Message-ID: <87lg3iuubz.fsf@roquette.mug.biscuolo.net> References: <8736pswk00.fsf@roquette.mug.biscuolo.net> <877ef3h07n.fsf@elephly.net> <87won3fjll.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: In-Reply-To: <87won3fjll.fsf@elephly.net> 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: Ricardo Wurmus , zimoun Cc: guix-devel@gnu.org, help-guix List-Id: guix-devel.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ricardo, Ricardo Wurmus writes: [...] > This is in your environment. But what about the daemon=E2=80=99s environ= ment? > It is not started in your environment where GUIX_LOCPATH is set. How do > you start the daemon? If it=E2=80=99s via systemd you may want to look a= t the > service file to see where GUIX_LOCPATH points. OK now I understand too, thanks! yes, Debian starts daemons via systemd and this issue is easily fixed by installing glibc-utf8-locales in the guix default root profile: sudo -i guix package -i glibc-utf8-locales sudo systemctl restart guix-daemon.service after doing so, when I "guix build emacs --dry-run" the warning I reported disappeared I think a similar approach should resolve similar issues with other init systems since I used the binary install script [1] I think we should easily patch that so that it also "guix package -i glibc-utf8-locales" for lazy users like me :-) I'm going to test the binary install script on a brend new Debian 9 lxc container since I found other possible improvements this is also not clearly stated in https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.htm= l#Locales-1 do it need to be fixed? AFAIU adding "export GUIX_LOCPATH=3D$HOME/.guix-profile/lib/locale" to root's .profile or .bash_profile is not strictly needed (unless you want to install and run packages as root user), so I'd _not_ automate this via the binary install script or document this Thanks! Giovanni [1] https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxBq/AACgkQ030Op87M ORIlRBAA3QTmrhzOAOgpFh6u2YOPqia/Q6fyqgMTASKwHNI6PHn2L8Ksbf2kKTEA qkzZsanpAg//LBktfdRc84Wuiv/sL1tzLxQCysnsi5jGFM5OYcmwUZIzroeUzfo+ HHNzwqDOhh7Ukn2XSx4r5ISCAFnZU92oPJls4RMAdwMk/fZHlRu/XTxxV0xzAIB0 mhVPwq23nKf6qHlsyXHA7B4aWsYaIrlaJHAywLqn91809yG911xX+zJ1vSiWM2zk w8mvKZnNRo9DPaI6nAUT50LGvDoNHuS+bfAfz70c65+pIcIJ0MY8pcw1VAOdGpsO 74FIug/EYYduAABWRs8VQEJLTJr04yFeR0sNmbPWYLDWfTiQTaZiBY9jw3ZWOBp+ 1zDybCLGZFaYGM6y+zrwgXK6PE+NnONBm9lGR38QHBa1bUKyYEy+VjoVi3v6e/FZ IvxkBiZyYihWoLJq4+MEezp9P1rb56xf2PRoCPb+XHBm/IKmv793y0VIOP/a/XpI 2Y4QLv2J31BE7Vg8o9ltQBM/c0XjT+78xg+vnus6C4Bg5SmjfATT5oWXyUt0CwAD FfHhub5kv6Yb8/fTqcYqa0GUtw16JwvHMKxz2aBLnIt98S8VHXza3xu5FfjUC1FG FcHGV6f/OGo5/528y0w3xnOtIEC479IQ3zehBecHngZYoNbcpg8= =NJPe -----END PGP SIGNATURE----- --=-=-=--