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: Fri, 27 Nov 2015 11:07:35 +0100 Message-ID: <87bnafbvrs.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> <87a8q0ies5.fsf@gnu.org> <87fuzrlt6f.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]:59227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2FwM-0008VZ-2w for guix-devel@gnu.org; Fri, 27 Nov 2015 05:07:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2FwI-00042x-2E for guix-devel@gnu.org; Fri, 27 Nov 2015 05:07:42 -0500 In-Reply-To: <87fuzrlt6f.fsf@T420.taylan> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Fri, 27 Nov 2015 09:53:28 +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: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] >> ?: 2 [primitive-load "/gnu/store/d51z2xkwp1vh0dh6gqadyyzv21m0b772-gui= x-latest/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 p= rinting exception. >> >> ice-9/eval.scm:387:11: In procedure eval: >> ice-9/eval.scm:387:11: In procedure package-version: Wrong type argument= : Error while printing exception. >> builder for `/gnu/store/pc1i5s6vx9yx97prhskx178gj5swxw4k-guix-latest.drv= ' failed with exit code 1 >> guix pull: error: build failed: build of `/gnu/store/pc1i5s6vx9yx97prhsk= x178gj5swxw4k-guix-latest.drv' failed >> >> 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= record printer >> bails out. > > That's one of the errors that result from a "bad" order of compiling the > files and when the 'load' hack isn't used to work around it, which isn't > the case in that patch... Indeed I can't seem to reproduce the issue. > > The attached patch below also builds on the quoted patch, removes the > thread-safe-port procedure, and just sets the warning port to a void > port. Applied on top of the current master, it works for me. On top of current master, it fails for me in the same way as above. To be clear, I applied the patch, ran =E2=80=98make dist=E2=80=99, and then: time ./pre-inst-env guix pull --url=3Dfile://$PWD/guix-0.9.0.tar.gz Are you doing the same? The =E2=80=9Cloading=E2=80=9D part is done sequent= ially, so it should be deterministic. > Thanks for picking this up and sorry that I couldn't finish it. :-) No problem, we=E2=80=99re getting there! :-) Ludo=E2=80=99.