From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kai Mertens Subject: bug#37865: guix pull: error: You found a bug: Date: Sat, 16 Nov 2019 02:52:13 +0100 Message-ID: <20191116025213.3d696398.kmx@posteo.net> References: <20191022083418.0c821e9d.kmx@posteo.net> <87sgnkwk5l.fsf@gnu.org> <20191023085503.7af886c5.kmx@posteo.net> <874kzzx023.fsf@gnu.org> <20191023162411.3d520e24.kmx@posteo.net> <20191023165504.GB15460@E5400> <20191024133429.714337fb.kmx@posteo.net> <20191024204956.GA991@PhantoNv4ArchGx.localdomain> <20191027085419.26121622.kmx@posteo.net> <20191027115214.GA2716@PhantoNv4ArchGx.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Ds3O2BRg7IIkBaZ4CdGEoF1"; protocol="application/pgp-signature"; micalg=pgp-sha512 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57642) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVnuW-0005eZ-6q for bug-guix@gnu.org; Fri, 15 Nov 2019 21:34:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVnuU-0001eF-W3 for bug-guix@gnu.org; Fri, 15 Nov 2019 21:34:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56960) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVnuU-0001e9-TX for bug-guix@gnu.org; Fri, 15 Nov 2019 21:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iVnuU-0002RP-P2 for bug-guix@gnu.org; Fri, 15 Nov 2019 21:34:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20191027115214.GA2716@PhantoNv4ArchGx.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bengt Richter Cc: 37865@debbugs.gnu.org --Sig_/Ds3O2BRg7IIkBaZ4CdGEoF1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 27 Oct 2019 04:52:14 -0700 Bengt Richter wrote: > My bet is you'll revert your workarounds, do a guix pull and maybe guix u= pdate for good measure, > then guix install glibc-utf8-locales (unless you have an exotic locale, i= n which case you may need > to do guix install glibc-locales) then reboot, and hopefully the locale c= omplaints will be gone. Hi Bengt, hmm, yes, this is exactly what I did. I reverted my workarounds, but found some constraints that I was not aware of, see list below. (This applies to guix describe (GNU Guix) 7696af421b9fa05f479cda9c742883a99e6faec3 on top of trisquel or debian.) 1) File ~/.profile is not read by bash in case file ~/.bash_profile is present. As a result, some settings were skipped when I used the latter file to define environment variables. Now I set GUIX_PROFILE and source $GUIX_PROFILE/etc/profile (as suggested by guix) within ~/.profile. This works fine. 2) Additionally, I have to explicitly define more standard content for XDG_DATA_DIRS (as like =E2=80=9C/usr/share=E2=80=9D and =E2=80=9C/usr/local= /share=E2=80=9D) when sourcing the guix profile environment as with 1). This is essential, otherwise my graphic login won't work. I don't understand why, though. 3) In order to get rid of "guile: warning: failed to set locale" with commands like =E2=80=9Cguix package -I=E2=80=9D, I install matching version= s of glibc-locales (or glibc-utf8-locales) *and* glibc. Having only the locales package installed is not sufficient. This might be obvious for experienced users, but I myself was not aware of that ANDed condition. 4) Furthermore, with an old initial version of guix, PATH needs to point to =E2=80=9C$HOME/.config/guix/current/bin=E2=80=9D to make sure that= I am running the latest version of guix. Otherwise the locale complains will be back. This concept of environment variables confused me in the beginning, but now I start to get more familiar. best regards Kai --=20 Kai Mertens OpenPGP Key-ID: 0x40B15AB4B05B5BF1 on keys.gnupg.net Key fingerprint =3D 7C83 0A80 01FF 679C 6E8E AFD3 40B1 5AB4 B05B 5BF1 What is that? Please check: https://emailselfdefense.fsf.org/en/ --Sig_/Ds3O2BRg7IIkBaZ4CdGEoF1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfIMKgAH/Z5xujq/TQLFatLBbW/EFAl3PVk0ACgkQQLFatLBb W/F+lg/+Idf7eYARI7+aqtwPIi/5Y8BVMNhmzPLKJ8JyqB2Jb9wXb9KglqK/wFaY 4DzAnHUm0y5FfKQ/8Bgzm9EfeLT+tGCC+GG1wkfI15eovU655nCpN52wxhHrrWHO QlQMnUEi/z9kg+6JQIQAtQt2WBSXci3TSMOEqqWOzXtmaKNXLRSr2GQijPf0xA81 991z2NZwaTb/VRk26ikNAZOmlzl0t6I2qKCl8CyAKxfDSmgEN7EhOV1idm/0vLnl i+GH4CHrnuZSWQO5SkWZ1Ritz9y2YqcMUDO1VCZb6c0l3eIQJ15Lx78YtVZhKNnx YuWa8z5lT90bImL7+giM2hpnPWIHVHBi38K4IE52sQrryKYVp5FrfSuED4m7UdYy ko/X9XYcuZlQmA32jELeTyZ6HdZUbEWInS5yMiiXPnq05N4DHs/TP01+qETH9K1Y xT8GUW+vM+LxSEJYEMp8nbJqcaGvMWmXSnzq9VL2J68c5orfdniN3Lk7tMkQXLLK e32heTIVtNw6/6m9Db/SWUDM70+lff8KTVZwrA3+it1nqQirrV8iXuyxBvK1bu2i xp8toO5pzpmrFrQlab/igX4nyokxbcPnysj2nm2heX25CVj8gLmFsU5yca1Oh5NE x43c8eyJku/Ps3sdDe9OGIakg6d5h+8VDM64yeF/2S/yvOiS8A4= =ZP7d -----END PGP SIGNATURE----- --Sig_/Ds3O2BRg7IIkBaZ4CdGEoF1--