From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drqF7-0004nq-Fm for guix-patches@gnu.org; Tue, 12 Sep 2017 14:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drqF4-0005zU-B0 for guix-patches@gnu.org; Tue, 12 Sep 2017 14:49:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drqF4-0005zK-7x for guix-patches@gnu.org; Tue, 12 Sep 2017 14:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drqF4-0008Ks-0o for guix-patches@gnu.org; Tue, 12 Sep 2017 14:49:02 -0400 Subject: [bug#28399] [PATCH 1/2] services: mysql: Fix missing modules on activation. Resent-Message-ID: Date: Tue, 12 Sep 2017 19:48:25 +0100 From: Christopher Baines Message-ID: <20170912194825.70eb4436@cbaines.net> In-Reply-To: <87shftd67d.fsf@gnu.org> References: <20170909153905.087c013f@cbaines.net> <20170909145343.14851-1-mail@cbaines.net> <87shftd67d.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/P=ThenzNkcSfl1HqUL+GW9a"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28399@debbugs.gnu.org --Sig_/P=ThenzNkcSfl1HqUL+GW9a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 11 Sep 2017 09:50:46 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Hi Chris, >=20 > Christopher Baines skribis: >=20 > > Some systems using the MySQL service would fail to boot, giving the > > error: > > > > ERROR: no code for module (ice-9 popen) > > > > * gnu/services/databases.scm (%mysql-activation): Wrap the gexp > > using with-imported-modules, to ensure that the required modules > > are available. =20 >=20 > [...] >=20 > > + (with-imported-modules '((ice-9 popen) > > + (guix build utils)) =20 >=20 > The effect of this would be to import (ice-9 popen) from the host > Guile in the build side. Thus someone running Guile 2.2.2 on the > host would get a slightly different file from someone running Guile > 2.0.14, and so on, which hinders reproducibility. That makes sense. > The =E2=80=98use-modules=E2=80=99 form should be enough. Does the test y= ou sent > reproduce the original problem? It does for me. If you just revert the commit adding in the with-imported-modules bit, running the mysql system test then fails: ERROR: In procedure scm-error: ERROR: no code for module (ice-9 popen) --Sig_/P=ThenzNkcSfl1HqUL+GW9a Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlm4K/lfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdCaw/+Irg6VIE57/ojKDiBNdxlNBTEXnCqL0qlU7ngWCdZ5t4Y5wGqTmZZpOO8 x4wzvGMq5aaN5zGfDo1+8xJfIdlyMVT+fWav7iebCs7gqqnFLHaexWdxdj1y46tr VQBoSCgbEQ+leOEXqNxhwDYLHcSt1cMQJFW0negPdqBUqFryi5uJZSc1t/ILV88T MRu9h0gKpiwcH2it8K5v6rSEFs+ua6t/51jn6NQP64GdMhIHMHDmrGw2lbTc4LHp a5PYjHc1uAX/L3joUp6O03AiouSffti4sGmV5jvx6YVNS0UCAztJnEL/eW2H0AHn wXSKieM+vTQU7hzLZTnUKQlsxN/6VErYRVyMvMY6kn9qy9FbyRO4vhgV2VO6NjyE j3/xBpvsS5yE5IXmOdk59BqpyxdWW4BYUh+XnkkLx5wFu0muE/yhuUkH7zacub5p B905iMNmTbWCYrXAflPti93nIXH55MYNZx5n+rEeWByn1vAYx+s4eaowq434835Y DNrHbo6Di3sB+3n3Sz6j7l59DcJ+qm2OL5zL1Einvjks+tSXg86Cgdnrs2gF5SXD IpLF7u6/x8bUxL/Glt5yJiUeIyc5VuzG/+qN1YPS3ZicFFpTvSoRww/mGXzfFLiy qmvZpr3YzXjF6sRQNGReWK0AAzUGY/m20EK7ncdYIjWXYxEt0/4= =0mFO -----END PGP SIGNATURE----- --Sig_/P=ThenzNkcSfl1HqUL+GW9a--