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: Thu, 26 Nov 2015 23:20:26 +0100 Message-ID: <87a8q0ies5.fsf@gnu.org> References: <87si4kxtge.fsf@T420.taylan> <87611gdul8.fsf@gnu.org> <87h9kzy09b.fsf@T420.taylan> <87bnb6c0nh.fsf@gnu.org> <874mgyxhgy.fsf@T420.taylan> <877flpohu6.fsf@gnu.org> <87mvuku444.fsf@T420.taylan> <87pozgfyzt.fsf@gnu.org> <87io57tt2s.fsf@T420.taylan> <876117mnef.fsf@igalia.com> <87egfvtnbw.fsf@T420.taylan> <87y4e3l7hm.fsf@igalia.com> <87a8qjtje8.fsf@T420.taylan> <876117t0ax.fsf@gnu.org> <877flmrn2m.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]:33550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a24u1-0006B5-Fr for guix-devel@gnu.org; Thu, 26 Nov 2015 17:20:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a24ty-0002dN-7R for guix-devel@gnu.org; Thu, 26 Nov 2015 17:20:33 -0500 In-Reply-To: <877flmrn2m.fsf@T420.taylan> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Fri, 13 Nov 2015 15:28:01 +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: > From 78be6d09d2d4c0a563be14c66ac2a1a345ff9b1d Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Taylan=3D20Ulrich=3D20Bay=3DC4=3DB1rl=3DC4=3DB1/Kammer?= =3D > > Date: Thu, 5 Nov 2015 23:43:20 +0100 > Subject: [PATCH] build: pull: Compile .scm files in one process. > > * guix/build/pull.scm (call-with-process, report-build-progress) > (p-for-each): Remove. > (thread-safe-port): New procedure. > (build-guix): Load and compile files in one process. Just tried this patch without the =E2=80=98thread-safe-port=E2=80=99 proced= ure, but I got this (current master): --8<---------------cut here---------------start------------->8--- loading... 95.4% of 474 filesBacktrace: In ice-9/boot-9.scm: 157: 14 [catch #t # ...] In unknown file: ?: 13 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 12 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 11 [eval # #] In ice-9/boot-9.scm: 2401: 10 [save-module-excursion #] 4050: 9 [#] 1724: 8 [%start-stack load-stack #] 1729: 7 [#] In unknown file: ?: 6 [primitive-load "/gnu/store/hx0jk73cx50f3vpi0yyrbn0pd8ws8m0v-guix-l= atest-builder"] In ./guix/build/pull.scm: 47: 5 [build-guix "/gnu/store/d51z2xkwp1vh0dh6gqadyyzv21m0b772-guix-lates= t" ...] 91: 4 [#] In ice-9/boot-9.scm: 2401: 3 [save-module-excursion #] In unknown file: ?: 2 [primitive-load "/gnu/store/d51z2xkwp1vh0dh6gqadyyzv21m0b772-guix-l= atest/guix/scripts/import/hackage.scm"] In ice-9/eval.scm: 453: 1 Exception thrown while printing backtrace: ERROR: In procedure package-location: Wrong type argument: Error while prin= ting exception. ice-9/eval.scm:387:11: In procedure eval: ice-9/eval.scm:387:11: In procedure package-version: Wrong type argument: E= rror while printing exception. builder for `/gnu/store/pc1i5s6vx9yx97prhskx178gj5swxw4k-guix-latest.drv' f= ailed with exit code 1 guix pull: error: build failed: build of `/gnu/store/pc1i5s6vx9yx97prhskx17= 8gj5swxw4k-guix-latest.drv' failed --8<---------------cut here---------------end--------------->8--- Any idea? To me it sounds like there are two record type descriptors in the wild, which is why =E2=80=98package-location=E2=80=99 in the package re= cord printer bails out. Ludo=E2=80=99.