unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Baines <mail@cbaines.net>
Cc: 28399@debbugs.gnu.org
Subject: [bug#28399] [PATCH 1/2] services: mysql: Fix missing modules on activation.
Date: Mon, 11 Sep 2017 09:50:46 +0200	[thread overview]
Message-ID: <87shftd67d.fsf@gnu.org> (raw)
In-Reply-To: <20170909145343.14851-1-mail@cbaines.net> (Christopher Baines's message of "Sat, 9 Sep 2017 15:53:42 +0100")

Hi Chris,

Christopher Baines <mail@cbaines.net> 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?

Thanks,
Ludo’.

  parent reply	other threads:[~2017-09-11  7:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-09 14:39 [bug#28399] [PATCH]: Fix mysql activation, and add a basic test Christopher Baines
2017-09-09 14:53 ` [bug#28399] [PATCH 1/2] services: mysql: Fix missing modules on activation Christopher Baines
2017-09-09 14:53   ` [bug#28399] [PATCH 2/2] tests: databases: Add a simple test for MySQL Christopher Baines
2017-09-11  7:50   ` Ludovic Courtès [this message]
2017-09-12 18:48     ` [bug#28399] [PATCH 1/2] services: mysql: Fix missing modules on activation Christopher Baines
2017-09-15 22:02       ` Ludovic Courtès
2017-09-16 10:38         ` Christopher Baines
2017-09-20  9:21           ` Ludovic Courtès
2017-10-08  9:06             ` Christopher Baines
2017-10-08 15:26               ` Ludovic Courtès
2017-10-08 16:34                 ` bug#28399: " Christopher Baines
2017-10-08 19:19                   ` [bug#28399] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shftd67d.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=28399@debbugs.gnu.org \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).