From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 05:55:58 2020 Received: (at submit) by debbugs.gnu.org; 2 Oct 2020 09:55:58 +0000 Received: from localhost ([127.0.0.1]:39417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOHnC-000890-0H for submit@debbugs.gnu.org; Fri, 02 Oct 2020 05:55:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:44734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOHnA-00088t-9H for submit@debbugs.gnu.org; Fri, 02 Oct 2020 05:55:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOHnA-0002GL-1U for bug-guix@gnu.org; Fri, 02 Oct 2020 05:55:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47316) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOHn9-0004Wd-MH for bug-guix@gnu.org; Fri, 02 Oct 2020 05:55:55 -0400 Received: from [2a01:e0a:19b:d9a0:e468:c6ba:469b:3fbc] (port=33146 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOHn9-0004wx-65 for bug-guix@gnu.org; Fri, 02 Oct 2020 05:55:55 -0400 From: Mathieu Othacehe To: bug-guix@gnu.org Subject: cuirass: Fail to fetch "guix" input. Date: Fri, 02 Oct 2020 11:55:53 +0200 Message-ID: <87v9ft6jfa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Running local tests, I have the following error: --8<---------------cut here---------------start------------->8--- 2020-10-02T11:54:09 fatal: uncaught exception 'misc-error' in 'build' fiber! 2020-10-02T11:54:09 exception arguments: (#f "Attempt to suspend fiber within continuation barrier" () #f) In ice-9/boot-9.scm: 1731:15 13 (with-exception-handler # ?) 1736:10 12 (with-exception-handler _ _ #:unwind? _ # _) 152:2 11 (with-fluid* _ _ _) 718:2 10 (call-with-prompt ("break") # ?) 718:2 9 (call-with-prompt ("continue") # ?) In ice-9/eval.scm: 619:8 8 (_ #(#(# # ?))) In srfi/srfi-1.scm: 634:9 7 (for-each # ?) In ice-9/boot-9.scm: 1731:15 6 (with-exception-handler # ?) 1669:16 5 (raise-exception _ #:continuable? _) 1764:13 4 (_ #<&compound-exception components: (#<&error> #<&orig?>) In cuirass/utils.scm: 240:8 3 (_ _ . _) In ice-9/boot-9.scm: 1731:15 2 (with-exception-handler # ?) In cuirass/utils.scm: 241:22 1 (_) In unknown file: 0 (make-stack #t) ERROR: In procedure make-stack: Attempt to suspend fiber within continuation barrier --8<---------------cut here---------------end--------------->8--- the specification is: --8<---------------cut here---------------start------------->8--- (define manifest '((#:name . "my-manifest") (#:load-path-inputs . ("guix")) (#:package-path-inputs . ()) (#:proc-input . "guix") (#:proc-file . "build-aux/cuirass/gnu-system.scm") (#:proc . cuirass-jobs) (#:proc-args (subset . "all")) (#:inputs . (((#:name . "guix") (#:url . "git://git.savannah.gnu.org/guix.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) ((#:name . "guix2") (#:url . "git://git.savannah.gnu.org/guix.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)))) (#:build-outputs . ()))) (list manifest) --8<---------------cut here---------------end--------------->8--- It looks like adding a second input, creates an exception during inputs fetching. Thanks, Mathieu -- https://othacehe.org From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 03 05:16:11 2020 Received: (at 43757-done) by debbugs.gnu.org; 3 Oct 2020 09:16:11 +0000 Received: from localhost ([127.0.0.1]:42983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOdeF-0002RA-Fu for submit@debbugs.gnu.org; Sat, 03 Oct 2020 05:16:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOdeD-0002Qx-EV for 43757-done@debbugs.gnu.org; Sat, 03 Oct 2020 05:16:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52047) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOde7-00072Y-CW; Sat, 03 Oct 2020 05:16:03 -0400 Received: from [2a01:e0a:19b:d9a0:a594:716:3686:159e] (port=49102 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOde6-0002S8-OD; Sat, 03 Oct 2020 05:16:03 -0400 From: Mathieu Othacehe To: 43757-done@debbugs.gnu.org Subject: Re: bug#43757: cuirass: Fail to fetch "guix" input. References: <87v9ft6jfa.fsf@gnu.org> Date: Sat, 03 Oct 2020 11:16:01 +0200 In-Reply-To: <87v9ft6jfa.fsf@gnu.org> (Mathieu Othacehe's message of "Fri, 02 Oct 2020 11:55:53 +0200") Message-ID: <87h7rbisa6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43757-done Cc: ludo@gnu.org, jonathan.brielmaier@web.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, > ERROR: In procedure make-stack: > Attempt to suspend fiber within continuation barrier Turns out "par-map" call does not seem suspendable, even though I'm not sure why. Maybe Ludo can help here :) ? This is fixed with: 761443bca6178b4ac299a8bd368d1cac4abda5f8. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 03 08:01:11 2020 Received: (at 43757-done) by debbugs.gnu.org; 3 Oct 2020 12:01:11 +0000 Received: from localhost ([127.0.0.1]:43081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOgDu-0000DR-Ct for submit@debbugs.gnu.org; Sat, 03 Oct 2020 08:01:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOgDf-0000Cd-Nu for 43757-done@debbugs.gnu.org; Sat, 03 Oct 2020 08:01:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53122) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOgDa-0007Ii-7R; Sat, 03 Oct 2020 08:00:50 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44176 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOgDU-0001Nx-Nk; Sat, 03 Oct 2020 08:00:45 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#43757: cuirass: Fail to fetch "guix" input. References: <87v9ft6jfa.fsf@gnu.org> <87h7rbisa6.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?utf-8?Q?Vend=C3=A9miaire?= an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 03 Oct 2020 14:00:42 +0200 In-Reply-To: <87h7rbisa6.fsf@gnu.org> (Mathieu Othacehe's message of "Sat, 03 Oct 2020 11:16:01 +0200") Message-ID: <87k0w7frit.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43757-done Cc: 43757-done@debbugs.gnu.org, jonathan.brielmaier@web.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Mathieu Othacehe skribis: >> ERROR: In procedure make-stack: >> Attempt to suspend fiber within continuation barrier > > Turns out "par-map" call does not seem suspendable, even though I'm not > sure why. Maybe Ludo can help here :) ? =E2=80=98par-map=E2=80=99 is implemented in terms of futures, and futures u= se their own thread pool. What=E2=80=99s likely to block is =E2=80=98touch=E2=80=99: it= essentially waits on a condition variable, which Fibers cannot interrupt. I=E2=80=99d say that mixing fibers and =E2=80=98par-map=E2=80=99 is a bad i= dea. :-) If we need such a thing, I think we should implement it on top of Fibers. Implementing futures on top of fibers + channels should be easier than what (ice-9 futures) does. > This is fixed with: 761443bca6178b4ac299a8bd368d1cac4abda5f8. Why not just replace =E2=80=98par-map=E2=80=99 with =E2=80=98map=E2=80=99? = That sounds easier and I suspect it doesn=E2=80=99t change much performance-wise. (There=E2=80=99s a 2nd use of =E2=80=98par-map=E2=80=99 in that file.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 03 09:14:21 2020 Received: (at 43757-done) by debbugs.gnu.org; 3 Oct 2020 13:14:22 +0000 Received: from localhost ([127.0.0.1]:43150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOhMj-0001uv-MD for submit@debbugs.gnu.org; Sat, 03 Oct 2020 09:14:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOhMh-0001ui-Gc for 43757-done@debbugs.gnu.org; Sat, 03 Oct 2020 09:14:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53816) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOhMb-0006ZW-EU; Sat, 03 Oct 2020 09:14:13 -0400 Received: from [2a01:e0a:19b:d9a0:a594:716:3686:159e] (port=50760 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOhMZ-0000W4-R9; Sat, 03 Oct 2020 09:14:12 -0400 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#43757: cuirass: Fail to fetch "guix" input. References: <87v9ft6jfa.fsf@gnu.org> <87h7rbisa6.fsf@gnu.org> <87k0w7frit.fsf@gnu.org> Date: Sat, 03 Oct 2020 15:14:09 +0200 In-Reply-To: <87k0w7frit.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 03 Oct 2020 14:00:42 +0200") Message-ID: <875z7rih9a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43757-done Cc: 43757-done@debbugs.gnu.org, jonathan.brielmaier@web.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey Ludo, > =E2=80=98par-map=E2=80=99 is implemented in terms of futures, and futures= use their own > thread pool. What=E2=80=99s likely to block is =E2=80=98touch=E2=80=99: = it essentially waits on > a condition variable, which Fibers cannot interrupt. I see, thanks for explaining. > Why not just replace =E2=80=98par-map=E2=80=99 with =E2=80=98map=E2=80=99= ? That sounds easier and I > suspect it doesn=E2=80=99t change much performance-wise. The objective was to still be able to run parallel input fetching, but you're right, a simple "map" is nicer. > (There=E2=80=99s a 2nd use of =E2=80=98par-map=E2=80=99 in that file.) Oh! Fixed too. Thanks for the quick answer, Mathieu From unknown Fri Jun 20 07:21:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Nov 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator