From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drJUl-0006so-If for guix-patches@gnu.org; Mon, 11 Sep 2017 03:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drJUk-000126-TP for guix-patches@gnu.org; Mon, 11 Sep 2017 03:51:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51722) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drJUk-00011k-Q7 for guix-patches@gnu.org; Mon, 11 Sep 2017 03:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drJUk-0001XF-5e for guix-patches@gnu.org; Mon, 11 Sep 2017 03:51:02 -0400 Subject: [bug#28399] [PATCH 1/2] services: mysql: Fix missing modules on activation. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170909153905.087c013f@cbaines.net> <20170909145343.14851-1-mail@cbaines.net> Date: Mon, 11 Sep 2017 09:50:46 +0200 In-Reply-To: <20170909145343.14851-1-mail@cbaines.net> (Christopher Baines's message of "Sat, 9 Sep 2017 15:53:42 +0100") Message-ID: <87shftd67d.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Christopher Baines Cc: 28399@debbugs.gnu.org Hi Chris, Christopher Baines skribis: > 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 availabl= e. [...] > + (with-imported-modules '((ice-9 popen) > + (guix build utils)) 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. The =E2=80=98use-modules=E2=80=99 form should be enough. Does the test you= sent reproduce the original problem? Thanks, Ludo=E2=80=99.