[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#28399] [PATCH 1/2] services: mysql: Fix missing modules on activati

From: Ludovic Courtès
Subject: [bug#28399] [PATCH 1/2] services: mysql: Fix missing modules on activation.
Date: Mon, 11 Sep 2017 09:50:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi Chris,

Christopher Baines <address@hidden> 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 available.


> +    (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 ‘use-modules’ form should be enough.  Does the test you sent
reproduce the original problem?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]