GNU bug report logs - #18247
Cyclic dependencies in (gnu package *) modules

Previous Next

Package: guix;

Reported by: mhw <at> netris.org

Date: Mon, 11 Aug 2014 20:07:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: mhw <at> netris.org
Cc: Eric Bavier <ericbavier <at> gmail.com>, 18247 <at> debbugs.gnu.org
Subject: bug#18247: Cyclic dependencies in (gnu package *) modules
Date: Tue, 12 Aug 2014 15:54:58 +0200
As a stop-gap measure, I’ve worked around the problem in commit d759cf6,
which removes the dependency from texinfo to gettext.

(Éric: I see one test failure in texi2html, which is a priori unrelated
to the change.  Could you check what’s going on?)

mhw <at> netris.org skribis:

> In the short term, it might help to move (gnu packages gcc) into
> (gnu packages base), and more generally to avoid inheriting from
> imported packages, at least among modules that are likely to be
> involved in cycles, such as core modules.

Merging modules is not really satisfactory either.  :-/

Perhaps one possibility would be to reorganize base.scm so that
%final-inputs and things it depends on are thunked.

Another possibility, probably better, would be to split base into two
modules: one that exports the normal package definitions (the first page
of base.scm, in terms of C-x n p), and one that exports %final-inputs
and related stuff (the second page).  Normally the latter will not have
to be used directly, except by (guix build-system gnu) and related
stuff.

WDYT?

Thanks,
Ludo’.




This bug report was last modified 10 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.