From patchwork Thu Sep 19 16:39:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Goryachev X-Patchwork-Id: 68139 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7480227BBE9; Thu, 19 Sep 2024 17:41:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 851F227BBE2 for ; Thu, 19 Sep 2024 17:41:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srKD0-0003yi-DV; Thu, 19 Sep 2024 12:40:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srKCz-0003yG-2E for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:45 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srKCy-0001SX-PA for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=/8n9+oGXd7hQi8Wx2LuC/+1lgD2ghvl85ZQx5w/aTmk=; b=gcoyrGqDSOhCHx0uo/8kMOLOsGEWsJm7dQBVS2Kz5eBvUvm4a6e/R95K3X8CixV8AA/wbEi1ZBkuSIKx/tTNIoJzzfQW8zSxQUtc44oIdpAgdi9y+JodUhVCMkmvvJyH+QsRfK4YYxU2085AmQhSKSlVtuL+Uu93dAYL0dJs8ogUc2mgLfhFwWPyonsmVRFKpSngF5H3n1DxrIHptICNrkxrlrCJl2F03waaXclViv8xZjd4gBEurVYdAkv55XfaPxWyCWTZS0xktYuv5i1yb9BefvOD42bgMygiD+H6n8lOcbrcjaMEjzmpaYarH/CLoMyWpoV76uHcyD7Rd3pm0Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srKDG-0001i6-Al for guix-patches@gnu.org; Thu, 19 Sep 2024 12:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73367] [PATCH 1/4] gnu: erlang: Update to 27.1. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Sep 2024 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73367@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 73367-submit@debbugs.gnu.org id=B73367.17267640396511 (code B ref 73367); Thu, 19 Sep 2024 16:41:02 +0000 Received: (at 73367) by debbugs.gnu.org; 19 Sep 2024 16:40:39 +0000 Received: from localhost ([127.0.0.1]:33427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCt-0001gr-93 for submit@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:39 -0400 Received: from mail.goryachev.org ([213.199.41.95]:54774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCq-0001gb-Hy for 73367@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=DLwhhBOZddQcTjX IXhHJYq/zC7ljC8OLXwC+WnxWIQA=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=apT/ZYNTR6XcM/GLywls505eXtbz0xui1U5hSQu fY5Zlhixxm30GrO3rUy2sGRhfGFZqLO7fAxFfcT8H/CSXaH7pNnkYBGeJ25TDyW9zBgL2q Rt/VSyGa1j35FTHpIoxuZhzXoU7BhsEShMf/XeTtMIb999xt6dLKLOgs7HCJPU= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id fb3dfdc2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Sep 2024 16:40:17 +0000 (UTC) Date: Thu, 19 Sep 2024 19:39:10 +0300 Message-ID: <7613043eff12032dcbd712088c6aa2682bf29d5d.1726763309.git.igor@goryachev.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches X-Patchwork-Original-From: Igor Goryachev via Guix-patches via From: Igor Goryachev Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang): Update to 27.1. [native-inputs]: Fetch recent erlang-manpages. Change-Id: I30b810fe900160c269a7c84e2a6860f630c988ad --- gnu/packages/erlang.scm | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 175bbdf8a5..5d8516f311 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -49,7 +49,7 @@ (define-module (gnu packages erlang) (define-public erlang (package (name "erlang") - (version "27.0.1") + (version "27.1") (source (origin (method git-fetch) ;; The tarball from http://erlang.org/download contains many @@ -61,25 +61,20 @@ (define-public erlang (file-name (git-file-name name version)) (sha256 (base32 - "1gzlvbbc1zm87910pnhi94mcpag1zxylhy7m2g4vhlmclyir7gd1")) + "099m8z5f9mq6hqv75hv73iydzmnpylcagss4ysrk9xg732xqcawb")) (patches (search-patches "erlang-man-path.patch")))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl) - ;; Erlang's documentation is distributed in a separate tarball. ("erlang-manpages" - ;; Manpages tarball is not released for 27.0.1, so we take it from the - ;; previous version. Details: - ;; https://erlangforums.com/t/patch-package-otp-27-0-1-released/3824/4 - ,(let ((version "27.0")) - (origin - (method url-fetch) - (uri (string-append "https://github.com/erlang/otp/releases/download" - "/OTP-" version "/otp_doc_man_" version ".tar.gz")) - (sha256 - (base32 - "0f3w2152090860aci4a38d1bd19c5sslbwadwxc7sjza487fm8lm"))))))) + ,(origin + (method url-fetch) + (uri (string-append "https://github.com/erlang/otp/releases/download" + "/OTP-" version "/otp_doc_man_" version ".tar.gz")) + (sha256 + (base32 + "1d4v664z9z4d8sfp9304kflgmymbl74hcgjpbcqkbhzwcjk8jrn0")))))) (inputs (list ncurses openssl wxwidgets)) (propagated-inputs From patchwork Thu Sep 19 16:39:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Goryachev X-Patchwork-Id: 68137 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 82AC927BBE9; Thu, 19 Sep 2024 17:40:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 61D0D27BBE2 for ; Thu, 19 Sep 2024 17:40:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srKD1-0003zO-MD; Thu, 19 Sep 2024 12:40:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srKCz-0003yO-I0 for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:45 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srKCz-0001Sm-8F for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=6HtKoP+RxFIxfLHWikGaCPBxxpdet+N06X00oxRnzrg=; b=I3rQwfAfBhml87u9NURcBhhp16a3kUhRzlmIE24bQrO3Kd2qczJk02vp4ND4G4ewQCiUtM1d78ufg7PySkjcgum7pmh/3Lw2O3n5iStNYcDmNRRxG2f7Du1KqFlPqzyd89+UcoHAsr+PsDum9rP7sSpPXz9dYDZKH+XogjvVca9SOxyIprc4HrEMYXdWjlQd1OfFzLEuy+TpWEfO1W5q3hfkHE3yVon1LCnJI47n4NxOazkpilE3L6hLdtEFC2OQA07AMd1uZXhR+DXUyvUUbg/YLea18sww/TEr37jMpHBqSkrzpLHQ3sgdZ3HR3wtTtPxuZ5USzxaf5PGcf688sQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srKDG-0001iD-RS for guix-patches@gnu.org; Thu, 19 Sep 2024 12:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73367] [PATCH 2/4] gnu: erlang: Fix build. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Sep 2024 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73367@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 73367-submit@debbugs.gnu.org id=B73367.17267640406518 (code B ref 73367); Thu, 19 Sep 2024 16:41:02 +0000 Received: (at 73367) by debbugs.gnu.org; 19 Sep 2024 16:40:40 +0000 Received: from localhost ([127.0.0.1]:33429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCt-0001gy-LI for submit@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:39 -0400 Received: from mail.goryachev.org ([213.199.41.95]:54774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCs-0001gb-9D for 73367@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=JGQq+GOPxrzz+x2 sIzPI86JVEEwmeSc9Cx/cWgZEQ0s=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=L7v3Ysaso0QSMYVZxZfgaNDcureYoKyVu0fvunx 0Moz7n1MUo+xY7BsrB/F7AmswmFY67E0uFvSzrO5J7n1XxSyVB0kp2QWdm9wXaqMhuIVj3 vXmORmVCUA/6dUvfOTSjo3cKxvmbdbHqaaPnMBLXTM68cb3lhW4rWUkaUSoVOo= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id 0490218f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Sep 2024 16:40:17 +0000 (UTC) Date: Thu, 19 Sep 2024 19:39:11 +0300 Message-ID: <29b85464b5bc31000efa77af6f5094b331146543.1726763309.git.igor@goryachev.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches X-Patchwork-Original-From: Igor Goryachev via Guix-patches via From: Igor Goryachev Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/patches/erlang-man-path.patch: Adjust patch. Change-Id: I2531c92001a3b1c2a3363615a7a1542904fa98b7 --- gnu/packages/patches/erlang-man-path.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/patches/erlang-man-path.patch b/gnu/packages/patches/erlang-man-path.patch index 68fc9f45b4..e5beb4af1e 100644 --- a/gnu/packages/patches/erlang-man-path.patch +++ b/gnu/packages/patches/erlang-man-path.patch @@ -9,10 +9,10 @@ as other man pages.) --- a/erts/etc/common/erlexec.c +++ b/erts/etc/common/erlexec.c -@@ -709,8 +709,10 @@ - error("-man not supported on Windows"); - #else - argv[i] = "man"; +@@ -728,8 +728,10 @@ int main(int argc, char **argv) + break; + } + } - erts_snprintf(tmpStr, sizeof(tmpStr), "%s/man", rootdir); - set_env("MANPATH", tmpStr); + /* From patchwork Thu Sep 19 16:39:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Goryachev X-Patchwork-Id: 68138 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CDA4627BBEA; Thu, 19 Sep 2024 17:41:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7F71F27BBE2 for ; Thu, 19 Sep 2024 17:41:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srKD2-0003zY-UH; Thu, 19 Sep 2024 12:40:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srKD0-0003yb-4s for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:46 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srKCz-0001Sw-OI for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=2SYTBPWG85IlcV4dW8WXHTqlUUAvzwS596DgteBIInc=; b=WrnlOp9I+7U8GJIoc+fNVzWTOYzCb3c+mFZ1G+gZnyMmeLWI9Q3YEJEL8OfovmogMIpwy8tCeC+W60ETWUanoIBWH7ipZOMNnJFkgpUMNsdWggOuZRl2ICA719vP2yIuDG43ahKWp0uSMUujfxq7fKWa/w4wr4G+PiPU5XutRsiUH92LKEBIMYGzsSwsy7jtoEk+twi9eKIDuZBPhxz/l1/BZ+lVwQjzqIZBCpPSBpwcQb/g6VwF9mBKLXQQ71EbhOX/iQ1W71tOfq2Ol/gE6Tt6JKWzdCdt9mw+0mso/nTuE1XOMSKarW9+30IWpR3zPm+n6ih8xl4oMXlx+LnCJA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srKDH-0001iM-Bh for guix-patches@gnu.org; Thu, 19 Sep 2024 12:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73367] [PATCH 3/4] gnu: rebar3: Update to 3.24.0, make reproducible. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Sep 2024 16:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73367@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 73367-submit@debbugs.gnu.org id=B73367.17267640456536 (code B ref 73367); Thu, 19 Sep 2024 16:41:03 +0000 Received: (at 73367) by debbugs.gnu.org; 19 Sep 2024 16:40:45 +0000 Received: from localhost ([127.0.0.1]:33432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCy-0001hK-UD for submit@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:45 -0400 Received: from mail.goryachev.org ([213.199.41.95]:54774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCs-0001gb-Vg for 73367@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=GyEcEfOd3kARjON +wGOI0zVdXJxxy4fsKeArIVlhxFg=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=QFDw14XEbi8fojM9lDhGXYoUXo3vnKXk920gRRF fBwvIPAsMQ9czrDwWRFQ5ad8YlVmkA7xG3dnSb6zi6CLKO/IhYddzpekGM38c/LC0APoNa 7qrBsjcqqLCa2lrJ5mXf9YIAaPOIjtGCLTzBRTKBpXLAK3huwXePVvqGRG2HMg= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id 5f086806 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Sep 2024 16:40:18 +0000 (UTC) Date: Thu, 19 Sep 2024 19:39:12 +0300 Message-ID: <2541ae31df2001548d1ebd91ecb3b34155408fdf.1726763309.git.igor@goryachev.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches X-Patchwork-Original-From: Igor Goryachev via Guix-patches via From: Igor Goryachev Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (rebar3): Update to 3.24.0. [arguments]<#:phases>: Modify 'make-escriptize-reproducible phase. Change-Id: I264515753f1ed0bdabdc4042a1c850d738c27738 --- gnu/packages/erlang.scm | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 5d8516f311..026a7dd32e 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -637,7 +637,7 @@ (define-public erlang-ssl-verify-fun (define-public rebar3 (package (name "rebar3") - (version "3.23.0") + (version "3.24.0") (source (origin (method git-fetch) @@ -646,7 +646,7 @@ (define-public rebar3 (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0jinjx3mk5j1kczxmblixbvhf24q0yfwih2ggs11x5ykmrqpbckl")))) + (base32 "1l73csyzxwinhrcsyb8hg2003v35yz6pv98inl3wg1j5587f071s")))) (build-system gnu-build-system) ;; TODO: remove vendored modules, install man-page, install lib(?) (arguments @@ -672,29 +672,14 @@ (define-public rebar3 "eunit_formatters" "getopt" "hex_core" "erlware_commons" "parse_trans" "relx" "ssl_verify_fun" "providers")))) (delete 'configure) - ;; By default rebar3 produces escripts with embedded ZIP archives - ;; with files with current timestamps which is not suitable for - ;; reproducible builds. We fix it by setting predefined timestamps. + ;; Due to changes in Erlang 27.1 related to handling ZIP-archives + ;; we still need to patch rebar to make it generate reproducible + ;; escripts. (add-before 'build 'make-escriptize-reproducible (lambda _ - (let ((escriptize "apps/rebar/src/rebar_prv_escriptize.erl")) - (substitute* escriptize - (("\\[dir_entries\\(filename:dirname\\(Filename1\\)\\),") - (string-append "FilePath = filename:join(Dir, Filename)," - "{ok, FileInfo0} = file:read_file_info(FilePath)," - "DateTime = {{1970, 1, 1}, {0, 0, 1}}," - "FileInfo = FileInfo0#file_info{mtime = DateTime}," - "[dir_entries(filename:dirname(Filename1)),"))) - (substitute* escriptize - (((string-append - "\\{Filename1, file_contents\\(filename:join\\(Dir, " - "Filename\\)\\)\\}\\].")) - "{Filename1, file_contents(FilePath), FileInfo}].")) - (substitute* escriptize - (((string-append "\\[\\{FName,FBin\\} \\|\\| \\{FName,FBin\\} <- " - "Files, FBin =/= <<>>\\]\\.")) - (string-append "[{FName,FBin,FInfo} || {FName,FBin,FInfo} <- " - "Files, FBin =/= <<>>].")))))) + (substitute* "apps/rebar/src/rebar_prv_escriptize.erl" + (("mtime = DateTime") + "atime = DateTime,ctime = DateTime,mtime = DateTime")))) (replace 'build (lambda _ (setenv "HOME" (getcwd)) From patchwork Thu Sep 19 16:39:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Goryachev X-Patchwork-Id: 68140 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E78C527BBEA; Thu, 19 Sep 2024 17:41:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 916FC27BBE2 for ; Thu, 19 Sep 2024 17:41:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srKD2-0003zR-4S; Thu, 19 Sep 2024 12:40:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srKD0-0003yj-G0 for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:46 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srKD0-0001TX-6y for guix-patches@gnu.org; Thu, 19 Sep 2024 12:40:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=7/wW3+Ed8921RdQ2S42w4D3NEPuCISNd2NSRVA78wCQ=; b=Vv+Vfph3KeclsT/a96S1y/h1nCXfMrTDVk7/TZUViB1JpDsCtSncYRn0ohC4APnllZyTVBEHfjQsKHm9Qamjj0xFwm/3bu4gcsddUkqQ+SEMtpI98KoOiFdg0FmMAlAkvKmr+BiNgFbivF0ELu1udQZD2FSczwriLJXhC2oodmwAJ8mobmMspZed4y/Gk1H4wFrAIDTef8jGE4xYDwadomUj6k9Q+EgXEP1x8oNN75rVaPlIIonefLVeoXGELrq5+h3BhbRV+L1WycsFxwHX+IINUnMC2ZIloflfYDoV1gSBiTFMsweDQ5ibCUKI2OFkmjco8wYoAt++RY4sLAzWng==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srKDH-0001iU-Q4 for guix-patches@gnu.org; Thu, 19 Sep 2024 12:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73367] [PATCH 4/4] gnu: elixir: Update to 1.17.3. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Sep 2024 16:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73367@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 73367-submit@debbugs.gnu.org id=B73367.17267640456542 (code B ref 73367); Thu, 19 Sep 2024 16:41:03 +0000 Received: (at 73367) by debbugs.gnu.org; 19 Sep 2024 16:40:45 +0000 Received: from localhost ([127.0.0.1]:33434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCz-0001hN-EE for submit@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:45 -0400 Received: from mail.goryachev.org ([213.199.41.95]:54774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srKCt-0001gb-PJ for 73367@debbugs.gnu.org; Thu, 19 Sep 2024 12:40:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=EYvsOjGW+2h1Gus pt06FVL6IeZHa/OqRRv1fBhYdnYo=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=jxyVOshKRv1LVKfSbByyGvccHIdWuyz4+gOKnLU 94YUqEWez/uRKHaap9AQa3+sBAz/6cLYKByV6ehXKo4afJrsCmugC81BDtSXQvRz+zrG1c XuoSurZt12Ab2VZgSLODWhdZrjIwNjhKobNVpWalBNhyNvacjaQsqOAg0vLV3U= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id 9253491f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Sep 2024 16:40:18 +0000 (UTC) Date: Thu, 19 Sep 2024 19:39:13 +0300 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches X-Patchwork-Original-From: Igor Goryachev via Guix-patches via From: Igor Goryachev Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/elixir.scm (elixir): Update to 1.17.3. [arguments]<#:phases>: Add 'disable-some-logger-tests-for-erlang-27.1+ phase. Change-Id: I1adf3a24656b291f57cfb29812cf034130552506 --- gnu/packages/elixir.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 895ede25dd..459e160830 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -41,7 +41,7 @@ (define-module (gnu packages elixir) (define-public elixir (package (name "elixir") - (version "1.17.2") + (version "1.17.3") (source (origin (method git-fetch) @@ -50,7 +50,7 @@ (define-public elixir (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "063pfz6ljy22b4nyvk8pi8ggqb6nmzqcca08vnl3h9xgh1zzddpj")) + (base32 "171l6g304044yk6i0827hgl64vp122ygn1wa1xqdjhw08b5kl2pd")) (patches (search-patches "elixir-path-length.patch")))) (build-system gnu-build-system) (arguments @@ -127,6 +127,14 @@ (define-public elixir (lambda* (#:key inputs #:allow-other-keys) ;; Some tests require access to a home directory. (setenv "HOME" "/tmp"))) + ;; Temporarily skip several tests related to logger to pass + ;; under Erlang 27.1. For more info see: + ;; https://elixirforum.com/t/elixir-v1-17-3-released/66156/2 + (add-before 'check 'disable-some-logger-tests-for-erlang-27.1+ + (lambda _ + (substitute* "lib/logger/test/logger/translator_test.exs" + (("test \"translates Supervisor progress") + "@tag :skip\n test \"translates Supervisor progress")))) (delete 'configure) (add-after 'install 'wrap-programs (lambda* (#:key inputs outputs #:allow-other-keys)