From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#18247: Cyclic dependencies in (gnu package *) modules Date: Tue, 12 Aug 2014 15:54:58 +0200 Message-ID: <87fvh1lsnh.fsf@gnu.org> References: <87egwmbxln.fsf@netris.org> <87d2c6razd.fsf@gnu.org> <87y4uupogm.fsf@yeeloong.lan> <8761hybd39.fsf@netris.org> <87oavq9na7.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHCYc-0001e8-8F for bug-guix@gnu.org; Tue, 12 Aug 2014 09:56:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHCYV-0006Eb-AQ for bug-guix@gnu.org; Tue, 12 Aug 2014 09:56:10 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:33813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHCYV-0006EU-7i for bug-guix@gnu.org; Tue, 12 Aug 2014 09:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XHCYU-00085s-9w for bug-guix@gnu.org; Tue, 12 Aug 2014 09:56:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87oavq9na7.fsf@netris.org> (mhw@netris.org's message of "Tue, 12 Aug 2014 03:31:44 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: mhw@netris.org Cc: Eric Bavier , 18247@debbugs.gnu.org As a stop-gap measure, I=E2=80=99ve worked around the problem in commit d75= 9cf6, which removes the dependency from texinfo to gettext. (=C3=89ric: I see one test failure in texi2html, which is a priori unrelated to the change. Could you check what=E2=80=99s going on?) mhw@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=E2=80=99.