From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 03:53:53 2022 Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 08:53:53 +0000 Received: from localhost ([127.0.0.1]:41679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEovA-000518-Kx for submit@debbugs.gnu.org; Tue, 01 Feb 2022 03:53:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:44098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEov8-000510-0T for submit@debbugs.gnu.org; Tue, 01 Feb 2022 03:53:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEov1-0004Gs-8C for guix-patches@gnu.org; Tue, 01 Feb 2022 03:53:44 -0500 Received: from mira.cbaines.net ([212.71.252.8]:36284) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEouy-0008Bv-3R for guix-patches@gnu.org; Tue, 01 Feb 2022 03:53:42 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 90D5F27BBE9 for ; Tue, 1 Feb 2022 08:53:26 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f15a583b for ; Tue, 1 Feb 2022 08:53:26 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] gnu: guile-fibers: Add version 1.1.0. Date: Tue, 1 Feb 2022 08:53:26 +0000 Message-Id: <20220201085326.1332-1-mail@cbaines.net> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) This release looks to break a few packages, so keep using fibers 1.0 to build things, and provide the new version to allow switching to when packages are compatible. * gnu/packages/guile-xyz.scm (guile-fibers-1.1): New variable. (guile-fibers): Inherit from guile-fibers-1.1. (guile2.0-fibers): Rename to guile2.2-fibers, and inherit from guile-fibers-1.1. --- gnu/packages/guile-xyz.scm | 73 ++++++++++++++++++++++++++------------ 1 file changed, 50 insertions(+), 23 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 38c6def1fc..f35ba43057 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -601,9 +601,55 @@ (define-public guile2.2-dsv (inputs (list guile-2.2)) (propagated-inputs `(("guile-lib" ,guile2.2-lib))))) -(define-public guile-fibers +(define-public guile-fibers-1.1 (package (name "guile-fibers") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/wingo/fibers/releases/download/v" + version "/fibers-" version ".tar.gz")) + (sha256 + (base32 + "1lqz39shlhif5fhpyv2wili0yzb0nhf5ciiv7mdqsq0vljirhrm0")))) + (build-system gnu-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-after 'install 'mode-guile-objects + (lambda* (#:key outputs #:allow-other-keys) + ;; .go files are installed to "lib/guile/X.Y/cache". + ;; This phase moves them to "…/site-ccache". + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib/guile")) + (old (car (find-files lib "^ccache$" + #:directories? #t))) + (new (string-append (dirname old) + "/site-ccache"))) + (rename-file old new) + #t)))))) + (native-inputs + (list texinfo pkg-config)) + (inputs + (list guile-3.0)) + (synopsis "Lightweight concurrency facility for Guile") + (description + "Fibers is a Guile library that implements a a lightweight concurrency +facility, inspired by systems like Concurrent ML, Go, and Erlang. A fiber is +like a \"goroutine\" from the Go language: a lightweight thread-like +abstraction. Systems built with Fibers can scale up to millions of concurrent +fibers, tens of thousands of concurrent socket connections, and many parallel +cores. The Fibers library also provides Concurrent ML-like channels for +communication between fibers. + +Note that Fibers makes use of some Guile 2.1/2.2-specific features and +is not available for Guile 2.0.") + (home-page "https://github.com/wingo/fibers") + (license license:lgpl3+))) + +(define-public guile-fibers + (package + (inherit guile-fibers-1.1) (version "1.0.0") (source (origin (method url-fetch) @@ -637,7 +683,6 @@ (define-public guile-fibers (patches ;; fixes a resource leak that causes crashes in the tests (search-patches "guile-fibers-destroy-peer-schedulers.patch")))) - (build-system gnu-build-system) (arguments '(;; The code uses 'scm_t_uint64' et al., which are deprecated in 3.0. #:configure-flags '("CFLAGS=-Wno-error=deprecated-declarations") @@ -653,29 +698,11 @@ (define-public guile-fibers (new (string-append (dirname old) "/site-ccache"))) (rename-file old new) - #t)))))) - (native-inputs - (list texinfo pkg-config)) - (inputs - (list guile-3.0)) - (synopsis "Lightweight concurrency facility for Guile") - (description - "Fibers is a Guile library that implements a a lightweight concurrency -facility, inspired by systems like Concurrent ML, Go, and Erlang. A fiber is -like a \"goroutine\" from the Go language: a lightweight thread-like -abstraction. Systems built with Fibers can scale up to millions of concurrent -fibers, tens of thousands of concurrent socket connections, and many parallel -cores. The Fibers library also provides Concurrent ML-like channels for -communication between fibers. - -Note that Fibers makes use of some Guile 2.1/2.2-specific features and -is not available for Guile 2.0.") - (home-page "https://github.com/wingo/fibers") - (license license:lgpl3+))) + #t)))))))) -(define-public guile2.0-fibers +(define-public guile2.2-fibers (package - (inherit guile-fibers) + (inherit guile-fibers-1.1) (name "guile2.2-fibers") (inputs (list guile-2.2)))) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 14:19:58 2022 Received: (at 53681) by debbugs.gnu.org; 1 Feb 2022 19:19:58 +0000 Received: from localhost ([127.0.0.1]:44156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyh4-0000ET-L4 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 14:19:58 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyh3-0000EF-FX for 53681@debbugs.gnu.org; Tue, 01 Feb 2022 14:19:57 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 82B0D343; Tue, 1 Feb 2022 20:19:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8orLj-Rc8opT; Tue, 1 Feb 2022 20:19:48 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3A9D128D; Tue, 1 Feb 2022 20:19:48 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Baines Subject: Re: bug#53681: [PATCH] gnu: guile-fibers: Add version 1.1.0. References: <20220201085326.1332-1-mail@cbaines.net> Date: Tue, 01 Feb 2022 20:19:47 +0100 In-Reply-To: <20220201085326.1332-1-mail@cbaines.net> (Christopher Baines's message of "Tue, 1 Feb 2022 08:53:26 +0000") Message-ID: <87sft2tmwc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 82B0D343 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53681 Cc: 53681@debbugs.gnu.org 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: -0.0 (/) Hi! Christopher Baines skribis: > This release looks to break a few packages, so keep using fibers 1.0 to b= uild > things, and provide the new version to allow switching to when packages a= re > compatible. > > * gnu/packages/guile-xyz.scm (guile-fibers-1.1): New variable. > (guile-fibers): Inherit from guile-fibers-1.1. > (guile2.0-fibers): Rename to guile2.2-fibers, and inherit from > guile-fibers-1.1. LGTM! I=E2=80=99m curious to see which ones break with 1.1, though. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 13:43:05 2022 Received: (at 53681-done) by debbugs.gnu.org; 2 Feb 2022 18:43:05 +0000 Received: from localhost ([127.0.0.1]:53568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFKav-0005sj-15 for submit@debbugs.gnu.org; Wed, 02 Feb 2022 13:43:05 -0500 Received: from mira.cbaines.net ([212.71.252.8]:41270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFKas-0005rt-8x for 53681-done@debbugs.gnu.org; Wed, 02 Feb 2022 13:43:03 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 5A24027BBE9; Wed, 2 Feb 2022 18:43:01 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 42f8803f; Wed, 2 Feb 2022 18:43:00 +0000 (UTC) References: <20220201085326.1332-1-mail@cbaines.net> <87sft2tmwc.fsf@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#53681: [PATCH] gnu: guile-fibers: Add version 1.1.0. Date: Wed, 02 Feb 2022 18:42:38 +0000 In-reply-to: <87sft2tmwc.fsf@gnu.org> Message-ID: <87czk5gle3.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53681-done Cc: 53681-done@debbugs.gnu.org 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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi! > > Christopher Baines skribis: > >> This release looks to break a few packages, so keep using fibers 1.0 to = build >> things, and provide the new version to allow switching to when packages = are >> compatible. >> >> * gnu/packages/guile-xyz.scm (guile-fibers-1.1): New variable. >> (guile-fibers): Inherit from guile-fibers-1.1. >> (guile2.0-fibers): Rename to guile2.2-fibers, and inherit from >> guile-fibers-1.1. > > LGTM! > > I=E2=80=99m curious to see which ones break with 1.1, though. Great, pushed as 1d07213d235fa097551cc68834db0237327435fb. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmH60LRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcHiQ/6A4CMglhrWCa67cn+CDzsZeqFPOJyoJc2 7fLP8gA5omVs26X8u1TBdP34zjV1dAtxY/8MuCVOKtalPuyAoRXwOhewfg+b1dQx tHgl+rx0I7RA3M43uBa0fymYFSAGKP2dDPZXkcBjolQ6pu+mRFvrundDUxOqBwfn 6/WFuqnv+opCXInqSI/6WKaYtRdVpQ8aPuXqLqtfvtp+U8XRUqwIb/od/jLO32Mk jmZXETPOFpCuib4CnFSLEdRL8JyAx0JWlLZYhkBUPcaN+k7vg/L2SoabMuU+t8Lt VKZ/KvGdihbR1+J66zexE1vnLJbCdw8VOt/D44g1VhFTfHWTQQy3ARdlaktzx9Vk KA3E3vGoNEU0DxMr7GwEq2kIJn86ToaHnkA4kfx18gBGH3rugYOlqokP1VG7urwB qtn4KBd9ZlczCLxTw7bhRwd7yrIj5jYzQxV67vVWhsyN6GZ891k6eHD/LS62b9vD bQ/CBR26ysvnyK5qIctCtbruKRiwS5jWhuII13dPlWPudl2Lj4vLtggvz0elmXyt nuh2dzywCVZ+dgvGFa94KdNUT6OKC48Y+yB45z9XSH5rdULplMD49mV89kZRjz4t JGaE9lcZeaoaI+ZJtKeil9tz+o9MNC/1v+B3sRlVgFV10DyUJfux9I7cKuaQCEl4 rRaxPEwaNqA= =ny75 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 15 08:59:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 03 Mar 2022 12:24:14 +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