From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cEtCOTtKDmP5VwEAbAwnHQ (envelope-from ) for ; Tue, 30 Aug 2022 19:34:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GG0jOTtKDmO+igAAauVa8A (envelope-from ) for ; Tue, 30 Aug 2022 19:34:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98E06E3F3 for ; Tue, 30 Aug 2022 19:34:51 +0200 (CEST) Received: from localhost ([::1]:53828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT58U-0000n8-OB for larch@yhetil.org; Tue, 30 Aug 2022 13:34:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT4S6-0002vp-Sg for guix-patches@gnu.org; Tue, 30 Aug 2022 12:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oT4S6-0008Er-JB for guix-patches@gnu.org; Tue, 30 Aug 2022 12:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oT4S6-0008El-F4 for guix-patches@gnu.org; Tue, 30 Aug 2022 12:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57491] [PATCH] patch series: Update Raku ecosystem Resent-From: "Daniel Sockwell" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 Aug 2022 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57491 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57491@debbugs.gnu.org Received: via spool by 57491-submit@debbugs.gnu.org id=B57491.166187820631579 (code B ref 57491); Tue, 30 Aug 2022 16:51:02 +0000 Received: (at 57491) by debbugs.gnu.org; 30 Aug 2022 16:50:06 +0000 Received: from localhost ([127.0.0.1]:37338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT4RB-0008DF-B5 for submit@debbugs.gnu.org; Tue, 30 Aug 2022 12:50:06 -0400 Received: from out1.migadu.com ([91.121.223.63]:51295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT4R4-0008Cf-RJ for 57491@debbugs.gnu.org; Tue, 30 Aug 2022 12:50:04 -0400 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codesections.com; s=key1; t=1661878197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8+eRYKNJqumUhn8TMsw892IsuzNH8WbkRgZzS/stp4o=; b=atwMvK8JidjCoXVdRTCpdFQrgJj0uPpWk+q/M52g7mvVTKrhfsZvF33b98Twq2UHJdr9C8 n2IxdZlBoqQOBLy84+SXGOStvduQeeLWJgO5bEIgpFuOmruI5xNTBz73AC5V0ITaWMhtW1 sIHuj9JinmE9FEIy/x59QSm0nQ7QWiqYOzm3FBpmtyOoC9LdNFENA3kwCwzt0XL+WxAlP8 AHHYxiXzJnFfeRcdK/A9psuN30Cvn7hPBS08YccyQ9Z2RYhIuI6f7LffdZVumzYOhegpZ0 Ek5OIYY6vzV9D1ptRMTRiiau+TASach2gtY5wWesYBKoxfknchNJC+SklHdaeg== Date: Tue, 30 Aug 2022 16:49:57 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Message-ID: <209b7ee5a4550c6de4495ef66584f718@codesections.com> In-Reply-To: References: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 30 Aug 2022 13:23:29 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Daniel Sockwell X-ACL-Warn: , Daniel Sockwell via Guix-patches From: Daniel Sockwell via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661880891; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8+eRYKNJqumUhn8TMsw892IsuzNH8WbkRgZzS/stp4o=; b=mgWla4OPVUVQ9e30olL1LABAtozHoqHtBGxopbULbp6/mBs/P3sPoNZfPQ/5acWCy66eM1 A0sjB0Orxu4gcXCgEUZgyUBZS6mBR3PkTl49m5VkdKxJWv4UrEk3+iw9SGrRItyCuqLgpT 0I9RPSx9A2wd0NZdxJN0x1XzFoZdbXZgkne2wFf+R7N3UdFWUqBG7uYA87tLEtF0xL05GV CWYN2HsyYLFXI4luKcdPXjDwor3tlhUmJ95kjA8wF6TmzmPlTKUhfkxMDtAwp1v3Mobx/y CcPSG7B4PW2FWwONoH4WK18jhBhdzktNJy1qmU3M2FzxthbLa469x+DQKJ3A9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661880891; a=rsa-sha256; cv=none; b=feNaDGItMFNuI8sYCXVeizjX9ZC3VYcDqALKvUOa7lp0bMVHRW+saBBn6kQpGtEYCDDhnZ gbY61Kcwe56mN6212loBGB9A1Z1fxYsihsG4soNlGwE58UU4YXBygYDoVZ3uOGumb2/acg EisIgMFvCesCAA8zE8ytnutOQxh6QImf/39uSrEstHMCBRdhemcgEYS+gRY3AmJs4gfAND qcW8jIkhD71pbnXH2dZOLAKVT/1b1cXuHfxLUIRqcWIHPBALuHjkSJMFeT3W1EjHUThw1L PXHykhHilSP2FQSU9lV3i56jvPrzZdVBZF1bHIKXVf+dnzXQmsG5zQXH6jg9iA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=codesections.com header.s=key1 header.b=atwMvK8J; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=codesections.com header.s=key1 header.b=atwMvK8J; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 98E06E3F3 X-Spam-Score: -3.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: YuCOi/49+G1W The third patch in this series updates NQP, the sub-language that=0Athe R= aku compiler depends on.=0A=0ABest,=0ADaniel=0A=0AFrom 924cc46a38b103906d= 534e9554fca9499315e12c Mon Sep 17 00:00:00 2001=0AMessage-Id: <924cc46a38= b103906d534e9554fca9499315e12c.1661878022.git.daniel@codesections.com>=0A= From: Daniel Sockwell =0ADate: Tue, 30 Aug 2022 = 12:46:51 -0400=0ASubject: [PATCH] nqp 2019.03->2022.07=0A=0A---=0A .../nq= p.do-not-pull-files-via-git.patch | 26 +++++++=0A gnu/packages/perl= 6.scm | 73 +++++++++----------=0A 2 files changed,= 61 insertions(+), 38 deletions(-)=0A create mode 100644 gnu/packages/pat= ches/nqp.do-not-pull-files-via-git.patch=0A=0Adiff --git a/gnu/packages/p= atches/nqp.do-not-pull-files-via-git.patch b/gnu/packages/patches/nqp.do-= not-pull-files-via-git.patch=0Anew file mode 100644=0Aindex 0000000000..b= 99919286f=0A--- /dev/null=0A+++ b/gnu/packages/patches/nqp.do-not-pull-fi= les-via-git.patch=0A@@ -0,0 +1,26 @@=0A+# Don't fetch nqp-configure from = git (Guix supplies it as an input)=0A+diff --git a/Configure.pl b/Configu= re.patched.pl=0A+index ded227d..1fd59c8 100755=0A+--- a/Configure.pl=0A++= ++ b/Configure.patched.pl=0A+@@ -11,20 +11,6 @@ use File::Spec;=0A+ use F= ile::Path;=0A+ use FindBin;=0A+ =0A+-BEGIN {=0A+- # Download / Update = submodules=0A+- my $set_config =3D !qx{git config nqp.initialized};=0A= +- if ( !-e '3rdparty/nqp-configure/LICENSE' ) {=0A+- my $code = =3D system($^X, 'tools/build/update-submodules.pl', Cwd::cwd(), @ARGV);= =0A+- exit 1 if $code >> 8 !=3D 0;=0A+- $set_config =3D 1;= =0A+- }=0A+- if ($set_config) {=0A+- system("git config subm= odule.recurse true");=0A+- system("git config nqp.initialized 1");= =0A+- }=0A+-}=0A+-=0A+ use lib ( "$FindBin::Bin/tools/lib",=0A+ "$= FindBin::Bin/3rdparty/nqp-configure/lib", );=0A+ use NQP::Config qw;=0Adiff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm= =0Aindex 086fc9d2e2..5f43cd59aa 100644=0A--- a/gnu/packages/perl6.scm=0A+= ++ b/gnu/packages/perl6.scm=0A@@ -26,6 +26,7 @@ (define-module (gnu packa= ges perl6)=0A #:use-module (guix build-system copy)=0A #:use-module (= guix build-system perl)=0A #:use-module (guix build-system rakudo)=0A+ = #:use-module (gnu packages)=0A #:use-module (gnu packages bdw-gc)=0A = #:use-module (gnu packages libevent)=0A #:use-module (gnu packages lib= ffi)=0A@@ -126,19 +127,20 @@ (define-public nqp-configure=0A (define-publ= ic nqp=0A (package=0A (name "nqp")=0A- (version "2019.03")=0A+ = (version "2022.07")=0A (source=0A- (origin=0A- (method = url-fetch)=0A- (uri (string-append "https://rakudo.perl6.org/downl= oads/nqp/nqp-"=0A- version ".tar.gz"))=0A- = (sha256=0A- (base32=0A- "183zhll13fx416s3hkg4bkvib77= kyr857h0nydgrl643fpacxp83"))=0A- (modules '((guix build utils)))= =0A+ (origin=0A+ (method url-fetch)=0A+ (uri (string-appe= nd=0A+ "https://github.com/Raku/nqp/releases/download/2022.07= /nqp-"=0A+ version ".tar.gz"))=0A+=0A+ (sha256 (base32 = "0s124fl2kjahbhr52n92pw9gv1flr099kmlg04358ak7dl81q22q"))=0A+ (patch= es (search-patches "nqp.do-not-pull-files-via-git.patch"))=0A+ (mod= ules '((guix build utils)))=0A (snippet=0A '(begin=0A- = (delete-file-recursively "3rdparty") #t))))=0A+ (del= ete-file-recursively "3rdparty")))))=0A (build-system perl-build-syst= em)=0A (arguments=0A '(#:phases=0A@@ -149,42 +151,37 @@ (define-= public nqp=0A "tools/build/gen-js-cross-runne= r.pl"=0A "tools/build/gen-js-runner.pl"=0A = "tools/build/install-js-runner.pl"=0A- = "tools/build/install-moar-runner.pl"=0A- = "tools/build/gen-moar-runner.pl"=0A = "t/nqp/111-spawnprocasync.t"=0A "t/nqp/1= 13-run-command.t")=0A- (("/bin/sh") (which "sh")))=0A- = #t))=0A- (add-after 'unpack 'patch-source-date=0A- = (lambda _=0A- (substitute* "tools/build/gen-version.pl"= =0A- (("gmtime") "gmtime(0)"))=0A- #t))=0A- = (add-after 'unpack 'remove-failing-test=0A- ;; One subtest= fails for unknown reasons=0A- (lambda _=0A- (delet= e-file "t/nqp/019-file-ops.t")=0A- #t))=0A+ (("= /bin/sh") (which "sh")))))=0A (replace 'configure=0A = (lambda* (#:key inputs outputs #:allow-other-keys)=0A- (let (= (out (assoc-ref outputs "out"))=0A- (moar (assoc-ref i= nputs "moarvm")))=0A+ (let ((out (assoc-ref outputs "o= ut"))=0A+ (moar (assoc-ref inputs "moarvm"))=0A+ = (nqp-config (assoc-ref inputs "nqp-configure")))=0A+ = (setenv "PERL5LIB" (string-append=0A+ = nqp-config "/lib:" (or (getenv "PERL5LIB")=0A+ = "")))=0A+ ; MoarV= M has some M_AST files that NQP expects to share=0A+ (copy-= recursively (string-append moar "/share/nqp/lib")=0A+ = (string-append out "/share/nqp/lib"))=0A (in= voke "perl" "Configure.pl"=0A "--backends=3Dmoar"= =0A "--with-moar" (string-append moar "/bin/moar")= =0A "--prefix" out)))))))=0A- (inputs=0A- (= list moarvm))=0A- (home-page "https://github.com/perl6/nqp")=0A- (s= ynopsis "Not Quite Perl")=0A- (description "This is \"Not Quite Perl\"= -- a lightweight Perl 6-like=0A-environment for virtual machines. The k= ey feature of NQP is that it's designed=0A-to be a very small environment= (as compared with, say, perl6 or Rakudo) and is=0A-focused on being a hi= gh-level way to create compilers and libraries for virtual=0A-machines li= ke MoarVM, the JVM, and others.=0A-=0A-Unlike a full-fledged implementati= on of Perl 6, NQP strives to have as small a=0A-runtime footprint as it c= an, while still providing a Perl 6 object model and=0A+=0A+ (inputs (l= ist moarvm))=0A+ (native-inputs (list nqp-configure))=0A+ (home-pag= e "https://github.com/Raku/nqp")=0A+ (synopsis "Small programming lang= uage built for writing compilers and VMs")=0A+ (description "NQP is \"= Not Quite Perl\", a lightweight Raku-like programming=0A+language that's = designed to provide a high-level way to create compilers and=0A+libraries= for virtual machines. NQP is used to implement the Rakudo compiler=0A+a= nd to integrate Rakudo with various virtual machines, including MoarVM an= d the=0A+Java Virtual Machine.=0A+=0A+Unlike a full-fledged implementatio= n of Raku, NQP strives to have as small a=0A+runtime footprint as it can = while still providing Raku's object model and=0A regular expression engin= e for the virtual machine.")=0A (license license:artistic2.0)))=0A = =0A-- =0A2.37.2