From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#28144: info-dir ERROR: no code for module (guix build utils) Date: Tue, 22 Aug 2017 10:59:58 +0100 Message-ID: <20170822105958.19d2b0e3@cbaines.net> References: <20170819012022.7aad5fa6@cbaines.net> <87d17oc7u4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/8I5aoDh2.az1TkA81UDn3YF"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dk5zg-00012r-Ku for bug-guix@gnu.org; Tue, 22 Aug 2017 06:01:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dk5za-0007zy-Hi for bug-guix@gnu.org; Tue, 22 Aug 2017 06:01:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dk5za-0007zo-Er for bug-guix@gnu.org; Tue, 22 Aug 2017 06:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dk5za-0005VV-78 for bug-guix@gnu.org; Tue, 22 Aug 2017 06:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d17oc7u4.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28144@debbugs.gnu.org --Sig_/8I5aoDh2.az1TkA81UDn3YF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 22 Aug 2017 10:41:55 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Heya, >=20 > Christopher Baines skribis: >=20 > > I've had the following issue a few times now, it seems that somehow, > > the info-dir builder can be incorrectly generated, without the usual > > module import stuff. > > > > The most recent time this occurred, I worked around this by finding > > the guix package in the store which I thought was being used at the > > time, and explicitly garbage collected it (guix gc -d ...). I then > > rebuilt it, and this seemed to work around the problem. I was using > > the same guix package, pinned to an revision in a git repository. > > > > > > The builder starts with: > > > > (begin (use-modules (guix build utils) > > > > > > This is the error which you get: > > > > The following derivations will be built: > > /gnu/store/8qi10kwz4ghabdj5p7s252z11snvhhgf-profile.drv > > /gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv =20 >=20 > Could you check if the .drv has the right -L and -C flags for guile? >=20 > What commit was this on? >=20 > Looking at (guix profiles), what you describe Cannot Happen=E2=84=A2 beca= use > there=E2=80=99s a correct =E2=80=98with-imported-modules=E2=80=99 form th= ere. I've included the derivation contents below, I can't see the -L and -C flags, so I'm guessing that they are missing. As for what commit this is on, this particular occurance took place when I was using my odd guix-pre-inst-env [1] script that attempts to create an environment containing a particular version of Guix, without letting anything from the surrounding environment creep in, so I'm not really sure what code was in use at the time. 1: https://github.com/alphagov/govuk-guix/blob/master/guix-pre-inst-env Derive([("out","/gnu/store/fnfm2vv9khyxpsnr7ybn8h7ir2l3685y-info-dir","",""= )],[("/gnu/store/0l3zxcx0n31xal7jf1d981j377wh3nir-zlib-1.2.11.drv",["out"])= ,("/gnu/store/0ppzqkwl7ma4s3bz1wvc0s9crd0wbir7-guile-2.2.2.drv",["out"]),("= /gnu/store/1wq563kgbhv26f99hq1d2ay7gw8qy3cq-libgc-7.6.0.drv",["out"]),("/gn= u/store/2ryhk3mp55dshlgyj53a16x08ifqqlvw-bash-4.4.12.drv",["out"]),("/gnu/s= tore/4rjl58s30zwiahl6ji7bbjxq30yyl9vl-texinfo-6.3.drv",["out"]),("/gnu/stor= e/69b611ifkq1942zvf79d5sszpp8n9w38-libunistring-0.9.7.drv",["out"]),("/gnu/= store/94hkgqjvsk689zzhdv9382kh2pkn7mrz-libltdl-2.4.6.drv",["out"]),("/gnu/s= tore/c8zl2wq0jmahcjb2zdf5w5z1i2iangma-guix-gds-release_8.drv",["out"]),("/g= nu/store/g2a46givk3s9jlchmq4m1fmnc25qh1c0-git-2.13.1.drv",["out"]),("/gnu/s= tore/hdd0rz201djb0wis4jwrlnjp3kq1f9xq-nss-certs-3.31.drv",["out"]),("/gnu/s= tore/lvkjr70rf8j355igip04z8iglxnl3mkk-guile-ssh-0.11.0.drv",["out"]),("/gnu= /store/lw5qrzgh2yxpd58b722ph6f466sn51xm-gmp-6.1.2.drv",["out"]),("/gnu/stor= e/m71zs1cgl0qiyrl5mzrjh60dsg757nvx-guile-2.0.14.drv",["out"]),("/gnu/store/= rwgybvpsmrkh6rbz502ac6p6vkfr1jgm-gzip-1.8.drv",["out"]),("/gnu/store/vd7py9= zp3s81mg3h0ppm5bkbdcgpn17w-libidn2-0.16.drv",["out"]),("/gnu/store/vk8fhc7x= 7kc4y6h6gy42idnawxabj8dv-guile2.2-gnutls-3.5.9.drv",["out"]),("/gnu/store/v= l1vcbzgplncw4i3sfiglyy1n2ycnwwn-guile-json-0.6.0.drv",["out"]),("/gnu/store= /whz1jbvs9ipgkslim63lqw7wdljxlmzg-nettle-3.3.drv",["out"]),("/gnu/store/xdb= nmw3kizlx157l76cdb1w6y2kz7yhi-coreutils-8.27.drv",["out"]),("/gnu/store/xs8= z1ycvdpmip7rx4xqs8qj56fdblgbk-less-487.drv",["out"]),("/gnu/store/xz2zfvzy2= g55wgna0vpwd6zjwfmxn1ms-libtasn1-4.10.drv",["out"])],["/gnu/store/9ywpf5jc1= 2svv04gvbx96j5z1kpllwn4-info-dir-builder"],"x86_64-linux","/gnu/store/3lsfr= wlp1qa345x71yw5w49i2mpp0vxm-guile-2.0.14/bin/guile",["--no-auto-compile","/= gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-info-dir-builder"],[("allowSubst= itutes","0"),("out","/gnu/store/fnfm2vv9khyxpsnr7ybn8h7ir2l3685y-info-dir")= ,("preferLocalBuild","1")]) --Sig_/8I5aoDh2.az1TkA81UDn3YF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlmcAJ5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdwSQ//VUqFQVnZa9r6yOT0IIHU8Wbo7wkjroALRgOqchWi8MILVXcQYmjHkEY3 6QnM1RrTCrNnuI3pAJLel9uqA6PR7CNQ2SOUErbbTOAYB+N//1rBziMWmBLDznoX 2NGeBZe/7NZa1xTGsDSRekc0Cr54fTMaKIgWRHGtYgDJ4J+ofXXX0E/hIRBgMtB5 iLi91+oJ8mziKlAnd2YWEKgXzvtGfNXUiKnuSIThgDhZHp/qs+zc3VLhTGikUedD EAXhEyecq/+XmyMqQl0dsVivu18p4blHfAm6tr/A08yaPHE/PSx63/QPMZ4yEO9N deS/uyix/hTNNlStKAmB5CvLldElIUDudrv8dawBYiXhp3wA1vD3fjZ4L+k5n/AQ yYn8MBEUFCAyd1PB6YkxZpR/2QwZxDoWmAZ018NKr2u2wS7FSVi9CNi4dz7YKQqF bja+Ii0eX9fnmCAQBnaNwcAPWFMnhRf1REvWN30he+XjI8SuIA3HSZDRAWZnFmH4 XyD5MYEwwjoJxSZS06Zg9twCzEO0wotspM3GWcjJYUY0PLUGnxz1q0UpGwo0doGx mv0mL9CSEPsg/FiDg/10Aep0qiRDjstBX2DJ9Tl0UYgACSvJoiRH7wXiAzV0gN/M 3QbUrb3R9FeoeVA8HwlYu/pRPk1wBe2BvByHu1LePYQRDt8uZXQ= =/btj -----END PGP SIGNATURE----- --Sig_/8I5aoDh2.az1TkA81UDn3YF--