Subject: Re: bug#36207: Circular dependency in gnu/services: mcron -> base -> admin -> mcron
From: Ludovic Courtès <[email-masked]>
To: Jack Hill <[email-masked]>
Cc: [email-masked]
Date: Sat, 15 Jun 2019 18:42:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Jack,

Jack Hill <[email-masked]> skribis:

> As discussed on IRC with Ludo’ and Ricardo,
> 4252dace19945f56192477e8cb07973c20a526ba introduced a circular
> dependency among gnu/services modules, by adding a dependency between
> from base -> 
> admin, resulting in the full dependency chain:
>
>  mcron -> base -> admin -> mcron
>
> I ran into this when building a channel. The error reported by guix
> pull was:
>
> ```
> (repl-version 0 0)
> (exception misc-error (value #f) (value "Unbound variable: ~s") (value (mcron-service-type)) (value #f))
> ```

This is fixed (surprisingly easily!) by commit
f3d797005374e5333c7596fe86b4a524ab1b9b11.

Let me know if you notice anything wrong!

Thanks for the bug report,
Ludo’.