From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] build: pull: Compile .scm files in one process. Date: Tue, 10 Nov 2015 19:00:17 +0100 Message-ID: <877flpohu6.fsf@gnu.org> References: <87si4kxtge.fsf@T420.taylan> <87611gdul8.fsf@gnu.org> <87h9kzy09b.fsf@T420.taylan> <87bnb6c0nh.fsf@gnu.org> <874mgyxhgy.fsf@T420.taylan> 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]:35592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwHcr-0007Rf-Ip for guix-devel@gnu.org; Tue, 10 Nov 2015 17:42:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwHcq-0001QD-Kt for guix-devel@gnu.org; Tue, 10 Nov 2015 17:42:53 -0500 In-Reply-To: <874mgyxhgy.fsf@T420.taylan> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Sat, 07 Nov 2015 10:54:21 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?= Cc: guix-devel@gnu.org taylanbayirli@gmail.com (Taylan Ulrich "Bay=C4=B1rl=C4=B1/Kammer") skribis: > compiling '/gnu/store/dbkpm8rqjz096w0bchmnlj8gw15q2riy-guix-latest/guix/s= cripts/environment.scm'... > Backtrace: > In ice-9/boot-9.scm: > 2401: 19 [save-module-excursion #] > 3085: 18 [#] > In unknown file: > ?: 17 [primitive-load-path "gnu/packages/cross-base" ...] > In ice-9/eval.scm: > 505: 16 [# (define-modul= e # # ...)] > In ice-9/psyntax.scm: > 1106: 15 [expand-top-sequence ((define-module # # # ...)) () ((top)) ...] > 989: 14 [scan ((define-module (gnu packages cross-base) #:use-module ...= )) () ...] > 279: 13 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] > In ice-9/eval.scm: > 411: 12 [eval # ()] > In ice-9/boot-9.scm: > 2951: 11 [define-module* (gnu packages cross-base) #:filename ...] > 2926: 10 [resolve-imports ((#) (#) (#) (#) ...)] > 2864: 9 [resolve-interface (gnu packages commencement) #:select ...] > 2789: 8 [# # ...] > 3065: 7 [try-module-autoload (gnu packages commencement) #f] > 2401: 6 [save-module-excursion #] > 3085: 5 [#] > In unknown file: > ?: 4 [primitive-load-path "gnu/packages/commencement" ...] > In ice-9/eval.scm: > 432: 3 Exception thrown while printing backtrace: > ERROR: In procedure package-location: Wrong type argument: Error while pr= inting exception. (gnu scripts environment) imports (gnu packages bash), so we end up loading a big bunch of (gnu packages =E2=80=A6) modules. The problem is that (gnu packages commencement) refers to (gnu packages bash) from its top-level. But here, we are loading (gnu packages bash) first, which somehow entails loading (gnu packages cross-base), which loads (gnu packages commencement), which sees a (gnu packages bash) module containing zero bindings. What=E2=80=99s unclear to me though is why (gnu packages cross-base) gets l= oaded in the first place. Could you investigate in that direction? Thanks in advance, Ludo=E2=80=99.