From unknown Thu Jul 31 08:21:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58901] [PATCH] gnu: luajit: Update to commit 6c4826. Resent-From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Oct 2022 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58901 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58901@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166715768221322 (code B ref -1); Sun, 30 Oct 2022 19:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2022 19:21:22 +0000 Received: from localhost ([127.0.0.1]:39024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDs2-0005Xp-2I for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:21:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:37182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDs0-0005Xh-4A for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:21:21 -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 1opDrz-0000wg-MK for guix-patches@gnu.org; Sun, 30 Oct 2022 15:21:19 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opDrx-00065h-FI for guix-patches@gnu.org; Sun, 30 Oct 2022 15:21:19 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 60EE63200033 for ; Sun, 30 Oct 2022 15:21:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 30 Oct 2022 15:21:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1667157670; x=1667244070; bh=ZAMrALnH3i 7ER2c+wbSgfUemgIW9Gx3OPs9wVk6wNKI=; b=VSaWgK3BXx/b/KNnurZAs+mo6O GuXP64pL9Cl6ZBNs7Pnzm987VoSf22ZSYx6KbEwlcY6MxhAIez0NkSyP7aiKPyHX pPQYJm/WDhon0HUrs6yuRJw/EFPu6qKDO58X1X/DK45SqV80Tii9RaEofEfqa71C HdHimZv8DhirTtC2msENJgKjFZvsPL6AxIM2uvFYjXgL17ETgbUhvUE7ODdx1pyz nb7JjPEKHRePI5v2xFs3outQ0Id5UqrMHD8nKs6YkCafbOoSfKXh3gFs7MGq0Uvy RPoh23X81f5Z597rQMtTbWr8uF9lbTMmLmTlthemUtQay0ASZg4K39A4eDIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1667157670; x=1667244070; bh=ZAMrALnH3i7ER2c+wbSgfUemgIW9 Gx3OPs9wVk6wNKI=; b=odMvUMjz1RdCb12y0yZuc6UUqK9k/xcfe4cbR+QK1H82 RNOWyidI5uW36lF6XvTqrhc7sLxo/Tr4KlCk/4YQaJOlN+/fRcldNgwfsf1mSqYv EHN5KSAq8vS6Nrbx1A4+MhCGi15+feiy8BafHI+hQvTeV9S4Yr6cY/8S5buzybvF Oxz6wQcs7/zOJbyo1vnEF7YXwK2W6z4A7LNC+SEktilKnUvAtkafjqbCMlOzf6O7 23h8pnMrlQ54VeXVPZdzcvKKvgqgfHtr+KpRAnnSBxAdik6qDp5ZsXVFTrcczRYn x9TguqDYvUE7OuxoJN7lt3tWdAOQvgEufK3i7hyD7g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedruddtgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlqdehmdenucfjughrpefhvf fufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefnvghoucfpihhkkhhilhomuceo hhgvlhhloheslhhnihhkkhhirdhlrgeqnecuggftrfgrthhtvghrnhepvefghedtvdfgke euledtfeevgfevfffhudfftdejjeefueffkeefgffhjeevveefnecuffhomhgrihhnpehg nhhurdhorhhgpdhgihhthhhusgdrtghomhdpnhhishhtrdhgohhvnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhloheslhhnihhkkhhi rdhlrg X-ME-Proxy: Feedback-ID: i41f146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 30 Oct 2022 15:21:10 -0400 (EDT) From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Date: Sun, 30 Oct 2022 21:19:53 +0200 Message-Id: <20221030191953.690-1-hello@lnikki.la> 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=64.147.123.25; envelope-from=hello@lnikki.la; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) Greetings, attached is a patch to update luajit to commit 6c4826f12c4d33b8b978004bc681eb1eef2be977. My motivation for doing this was to get Neovim to build on aarch64-linux again, which has been failing for a while due to incompatibilities with the 2.1.0-beta3 release: - https://ci.guix.gnu.org/build/1558481/details - https://github.com/neovim/neovim/issues/15146#issuecomment-884154715 The 2.1.0-beta3 release is from 2017, and now quite dated. Unfortunately there hasn't been a tagged release in a long time, and dependents have resorted to various commits of the 2.1.0 branch. I chose this particular commit from Nixpkgs: - https://github.com/NixOS/nixpkgs/blob/3fa15c357033b1c7bdb88f34c1fb9f6427b4754c/pkgs/development/interpreters/luajit/2.1.nix In addition to fixing the Neovim build, this also fixes a vulnerability that has been reported in the luajit 2.1.0-beta3 release and patched in the development tree: - https://nvd.nist.gov/vuln/detail/CVE-2020-24372 - https://github.com/LuaJIT/LuaJIT/issues/603 I was also able to remove the luajit patch for a missing ldconfig, this behaviour has been fixed in upstream since January 2020: - https://github.com/LuaJIT/LuaJIT/commit/18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80 Here's what `guix refresh' has to say about luajit: $ guix refresh --list-dependent luajit Building the following 42 packages would ensure 62 dependent packages are rebuilt: arcan-wayland@0.5.5.2-1.b4dd1fb xarcan@0.5.4-1.8e6ee02 arcan-sdl@0.5.5.2-1.b4dd1fb sysbench@1.0.20 knot-resolver@5.4.4 edi@0.8.0 rage@0.4.0 ephoto@1.6.0 enlightenment@0.25.4 terminology@1.12.1 evisum@0.6.0 econnman@1.1 epour@0.7.0 jami@20220825.0828.c10f01f pinentry-efl@1.2.0 instead@3.3.5 love-nuklear@2.6.1 mrrescue@1.02e tome4@1.7.4 solarus-quest-editor@1.6.5 naev@0.9.4 mrg@0.1.4 uftrace@0.11 bpftrace@0.15.0 rspamd@3.2 hexchat@2.16.1 minetest-unified-inventory@2021-12-26 minetest-worldedit@1.3 minetest-ethereal@1.29-0.7670c1d minetest-throwing-arrows@1.1-0.059cc89 minetest-basic-trains@1.0.1 minetest-mesecons@1.2.1-63.27c3c51 minetest-homedecor-modpack@2022-05-18 minetest-coloredwood@2021-04-14-1 minetest-technic@2022-02-06 minetest-mobs-animal@2021-11-14 obs-wlrobs@1.0 obs-spectralizer@1.3.3 obs-websocket@4.9.1 eovim@0.2.0 luakit@2.3 nginx-lua-module@0.10.16 I've tested this update by successfully building the dependent packages on x86_64-linux and aarch64-linux, except for nginx-lua-module and obs-websocket which have been failing on CI as well due to build errors unrelated to luajit. From unknown Thu Jul 31 08:21:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58901] [PATCH] gnu: luajit: Update to commit 6c4826. Resent-From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Oct 2022 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58901 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58901@debbugs.gnu.org Cc: Leo =?UTF-8?Q?Nikkil=C3=A4?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166715774721449 (code B ref -1); Sun, 30 Oct 2022 19:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2022 19:22:27 +0000 Received: from localhost ([127.0.0.1]:39030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDt4-0005Zs-LT for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:22:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:40918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDt2-0005Zk-L1 for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:22:26 -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 1opDt0-00012l-Fg for guix-patches@gnu.org; Sun, 30 Oct 2022 15:22:22 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opDsu-0006Hd-Fa for guix-patches@gnu.org; Sun, 30 Oct 2022 15:22:18 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id B5FF83200258; Sun, 30 Oct 2022 15:22:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 30 Oct 2022 15:22:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1667157734; x= 1667244134; bh=Rh3PTFpG4S/PpnafkMQGCJ/o9TfuD1CuCGMMyjSHqcw=; b=W Q0vI4m0vXwJ5/MEHddaca8QKQgc0JyXgl14neOE3XuIAEiNabBl9sbQ8QAs2BNPe k981VmSrlA9MbUwDggDkrlEGE64KvjjYzU9JcpusJtpgD0++02zmZ2t0qY8jgN7I JMHSVF4aeXyKjaQJ1bo496SKl9g8yoGwyZrUgN+F5WMbnlkzGATiJiIbNgUfru15 kA7VVWX3bXMMueiVbNEsdmonpr5EW9OxYhUAClcAoUIKCdqU/Zh+4b9SIb+71nxx XPRjNTGmaj4aIyZ0Xtn4pGNcq2FFSfbGwkDaoazo8rgirLyxpfwjv57xS/0s31T9 wbDcqgJSEFSvzMezF9b+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1667157734; x= 1667244134; bh=Rh3PTFpG4S/PpnafkMQGCJ/o9TfuD1CuCGMMyjSHqcw=; b=Z cGVJfZbGQY8B+AElpJ746Q2naa0m/AN7uo5TmlLdnW4WNhPsK7l+k/N421TFLjWW QcvZRyhNOlwuhZ8nZaXkcVEx9LyMJOqzO4KQi9GREafgw9rColAxhazpjAtCCWyz fAZMDrk4P2zZKuzHLhjFHlsTva51P00aXv/ofCi7puSr+x5MxxArCHfp6oo3XE/q Nh0ADR+0EJksmPLWdm9XvATWn0wtDxKqqhHJtoP7JjOV6vyk7IJvrPqmDWKWBYTf 8BbwE+OV9ANzwxAjggmBjVTu1iwMNX1+nr6g6kYhdUlHSK5K0Uy7t5rsxMbxgFkA qzLYKq40mc0aTBduSh33A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedruddtgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesth ekredtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhi khhkihdrlhgrqeenucggtffrrghtthgvrhhnpedvhfdvkefgiedulefghfekleefuefhke ehjeegleduheehueefgedugfekfedvueenucffohhmrghinheplhhurghjihhtrdhorhhg pdhgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhephhgvlhhloheslhhnihhkkhhirdhlrg X-ME-Proxy: Feedback-ID: i41f146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 Oct 2022 15:22:13 -0400 (EDT) From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Date: Sun, 30 Oct 2022 21:19:56 +0200 Message-Id: <20221030191953.690-2-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20221030191953.690-1-hello@lnikki.la> References: <20221030191953.690-1-hello@lnikki.la> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.25; envelope-from=hello@lnikki.la; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) * gnu/packages/lua.scm (luajit)[source]: Use git-fetch, remove patch. * gnu/packages/patches/luajit-no_ldconfig.patch: Delete patch. --- gnu/packages/lua.scm | 73 ++++++++++--------- gnu/packages/patches/luajit-no_ldconfig.patch | 31 -------- 2 files changed, 39 insertions(+), 65 deletions(-) delete mode 100644 gnu/packages/patches/luajit-no_ldconfig.patch diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 829c819975..d914228107 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2022 Brandon Lucas ;;; Copyright © 2022 Luis Henrique Gomes Higino +;;; Copyright © 2022 Leo Nikkilä ;;; ;;; This file is part of GNU Guix. ;;; @@ -149,43 +150,47 @@ (define-public lua-5.1 "lua51-pkgconfig.patch")))))) (define-public luajit - (package - (name "luajit") - (version "2.1.0-beta3") - (source (origin - (method url-fetch) - (uri (string-append "http://luajit.org/download/LuaJIT-" - version ".tar.gz")) - (sha256 - (base32 "1hyrhpkwjqsv54hnnx4cl8vk44h9d6c9w0fz1jfjz00w255y7lhs")) - (patches (search-patches "luajit-no_ldconfig.patch")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; luajit is distributed without tests - #:phases - (modify-phases %standard-phases - (delete 'configure) ; no configure script - (add-after 'install 'create-luajit-symlink - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (with-directory-excursion bin - (symlink ,(string-append name "-" version) - ,name) - #t))))) - #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) - (home-page "https://www.luajit.org/") - (synopsis "Just in time compiler for Lua programming language version 5.1") - ;; On powerpc64le-linux, the build fails with an error: "No support for - ;; PowerPC 64 bit mode (yet)". See: https://issues.guix.gnu.org/49220 - (supported-systems (fold delete %supported-systems - (list "powerpc64le-linux" "riscv64-linux"))) - (description - "LuaJIT is a Just-In-Time Compiler (JIT) for the Lua + (let ((branch "2.1.0-beta3") + (commit "6c4826f12c4d33b8b978004bc681eb1eef2be977")) + (package + (name "luajit") + (version (git-version branch "0" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://luajit.org/git/luajit.git") + (commit commit))) + (sha256 + (base32 + "1a002yh8v1i1q9w09494q0b8vsbmw3amn9jgfs5qnz7ba54jij0q")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; luajit is distributed without tests + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-after 'install 'create-luajit-symlink + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (with-directory-excursion bin + (symlink ,(string-append name "-" branch) + ,name)))))) + #:make-flags (list (string-append "PREFIX=" + (assoc-ref %outputs "out"))))) + (home-page "https://www.luajit.org/") + (synopsis + "Just in time compiler for Lua programming language version 5.1") + ;; On powerpc64le-linux, the build fails with an error: "No support for + ;; PowerPC 64 bit mode (yet)". See: https://issues.guix.gnu.org/49220 + (supported-systems (fold delete %supported-systems + (list "powerpc64le-linux" "riscv64-linux"))) + (description + "LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.") - (license license:x11))) + (license license:x11)))) (define-public luajit-lua52-openresty (package diff --git a/gnu/packages/patches/luajit-no_ldconfig.patch b/gnu/packages/patches/luajit-no_ldconfig.patch deleted file mode 100644 index 8000e8e4e5..0000000000 --- a/gnu/packages/patches/luajit-no_ldconfig.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 629200f48e18dc1a3a5229739748bad0e2a6a0a2 Mon Sep 17 00:00:00 2001 -From: =?utf8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= -Date: Wed, 4 Feb 2015 11:37:16 +0100 -Subject: [PATCH] Do not silently and prematurely end install when ldconfig is - missing - ---- - Makefile | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/Makefile b/Makefile -index 343ecb5..4667146 100644 ---- a/Makefile -+++ b/Makefile -@@ -112,9 +112,10 @@ install: $(INSTALL_DEP) - $(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) - cd src && test -f $(FILE_SO) && \ - $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ -- $(LDCONFIG) $(INSTALL_LIB) && \ -- $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ -- $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : -+ ( $(LDCONFIG) $(INSTALL_LIB) ; \ -+ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ -+ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : \ -+ ) - cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN) - cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \ - $(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \ --- -2.2.2 - -- 2.34.0 From unknown Thu Jul 31 08:21:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo =?UTF-8?Q?Nikkil=C3=A4?= Subject: bug#58901: closed (Re: bug#58901: [PATCH] gnu: luajit: Update to commit 6c4826.) Message-ID: References: <874jv1rd8j.fsf@gnu.org> <20221030191953.690-1-hello@lnikki.la> X-Gnu-PR-Message: they-closed 58901 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 58901@debbugs.gnu.org Date: Mon, 14 Nov 2022 11:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1668425042-26627-1" This is a multi-part message in MIME format... ------------=_1668425042-26627-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58901: [PATCH] gnu: luajit: Update to commit 6c4826. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58901@debbugs.gnu.org. --=20 58901: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58901 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1668425042-26627-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58901-done) by debbugs.gnu.org; 14 Nov 2022 11:23:49 +0000 Received: from localhost ([127.0.0.1]:49016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouXZ6-0006v5-Ru for submit@debbugs.gnu.org; Mon, 14 Nov 2022 06:23:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouXZ5-0006up-0J for 58901-done@debbugs.gnu.org; Mon, 14 Nov 2022 06:23:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouXYz-0004xT-P6; Mon, 14 Nov 2022 06:23:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=pHQfnvPBnFXQ+dYerm4qd3+xf2fM4Xj3suVodzOYcD0=; b=jF9A2bv5mXoUCWP0xodx 7JK2phLFOPBLtcKMzD/PFcjWCK9oPGsu3oA/YyMEUOhq3WtyOJlID+Excfx7v0M5CyhZ967pxKEre G1Mbb9PerZWKEnHeE+n0kwRiW2LN6cXqkSPVE87YVqkhgUCctIGSDSUzZHaE2nqZzEy4eAEjr4l6H aZYbzRrDL6pvsn2p/VMg9siKV3tmDSztBAy5qqPweq28MnjxWcOMECVbkTUQDtw9QdohiilYt0NNy FXvOS8yDpyNG54pF4lG5iT3aV5HujPE9+vCOtVMtozFYToxWNMX6AJkPArmz2VSwVnF4I87SN+Rmd OxlzH8y8lMYm1A==; Received: from [193.50.110.147] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouXYz-0004Bc-Bd; Mon, 14 Nov 2022 06:23:41 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo =?utf-8?Q?Nikkil=C3=A4?= Subject: Re: bug#58901: [PATCH] gnu: luajit: Update to commit 6c4826. References: <20221030191953.690-1-hello@lnikki.la> Date: Mon, 14 Nov 2022 12:23:40 +0100 In-Reply-To: <20221030191953.690-1-hello@lnikki.la> ("Leo =?utf-8?Q?Nikkil?= =?utf-8?Q?=C3=A4=22's?= message of "Sun, 30 Oct 2022 21:19:53 +0200") Message-ID: <874jv1rd8j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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: 58901-done Cc: 58901-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: -3.3 (---) Hi, Leo Nikkil=C3=A4 skribis: > Greetings, attached is a patch to update luajit to commit > 6c4826f12c4d33b8b978004bc681eb1eef2be977. > > My motivation for doing this was to get Neovim to build on aarch64-linux > again, which has been failing for a while due to incompatibilities with > the 2.1.0-beta3 release: > > - https://ci.guix.gnu.org/build/1558481/details > - https://github.com/neovim/neovim/issues/15146#issuecomment-884154715 > > The 2.1.0-beta3 release is from 2017, and now quite dated. > > Unfortunately there hasn't been a tagged release in a long time, and > dependents have resorted to various commits of the 2.1.0 branch. I chose > this particular commit from Nixpkgs: > > - https://github.com/NixOS/nixpkgs/blob/3fa15c357033b1c7bdb88f34c1fb9f642= 7b4754c/pkgs/development/interpreters/luajit/2.1.nix > > In addition to fixing the Neovim build, this also fixes a vulnerability > that has been reported in the luajit 2.1.0-beta3 release and patched in > the development tree: > > - https://nvd.nist.gov/vuln/detail/CVE-2020-24372 > - https://github.com/LuaJIT/LuaJIT/issues/603 > > I was also able to remove the luajit patch for a missing ldconfig, this > behaviour has been fixed in upstream since January 2020: > > - https://github.com/LuaJIT/LuaJIT/commit/18c9cf7d3788a8f7408df45df92fc4a= e3bcc0d80 That makes a lot of sense. Finally applied, thanks! Ludo=E2=80=99. ------------=_1668425042-26627-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Oct 2022 19:21:22 +0000 Received: from localhost ([127.0.0.1]:39024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDs2-0005Xp-2I for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:21:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:37182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDs0-0005Xh-4A for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:21:21 -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 1opDrz-0000wg-MK for guix-patches@gnu.org; Sun, 30 Oct 2022 15:21:19 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opDrx-00065h-FI for guix-patches@gnu.org; Sun, 30 Oct 2022 15:21:19 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 60EE63200033 for ; Sun, 30 Oct 2022 15:21:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 30 Oct 2022 15:21:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1667157670; x=1667244070; bh=ZAMrALnH3i 7ER2c+wbSgfUemgIW9Gx3OPs9wVk6wNKI=; b=VSaWgK3BXx/b/KNnurZAs+mo6O GuXP64pL9Cl6ZBNs7Pnzm987VoSf22ZSYx6KbEwlcY6MxhAIez0NkSyP7aiKPyHX pPQYJm/WDhon0HUrs6yuRJw/EFPu6qKDO58X1X/DK45SqV80Tii9RaEofEfqa71C HdHimZv8DhirTtC2msENJgKjFZvsPL6AxIM2uvFYjXgL17ETgbUhvUE7ODdx1pyz nb7JjPEKHRePI5v2xFs3outQ0Id5UqrMHD8nKs6YkCafbOoSfKXh3gFs7MGq0Uvy RPoh23X81f5Z597rQMtTbWr8uF9lbTMmLmTlthemUtQay0ASZg4K39A4eDIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1667157670; x=1667244070; bh=ZAMrALnH3i7ER2c+wbSgfUemgIW9 Gx3OPs9wVk6wNKI=; b=odMvUMjz1RdCb12y0yZuc6UUqK9k/xcfe4cbR+QK1H82 RNOWyidI5uW36lF6XvTqrhc7sLxo/Tr4KlCk/4YQaJOlN+/fRcldNgwfsf1mSqYv EHN5KSAq8vS6Nrbx1A4+MhCGi15+feiy8BafHI+hQvTeV9S4Yr6cY/8S5buzybvF Oxz6wQcs7/zOJbyo1vnEF7YXwK2W6z4A7LNC+SEktilKnUvAtkafjqbCMlOzf6O7 23h8pnMrlQ54VeXVPZdzcvKKvgqgfHtr+KpRAnnSBxAdik6qDp5ZsXVFTrcczRYn x9TguqDYvUE7OuxoJN7lt3tWdAOQvgEufK3i7hyD7g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedruddtgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlqdehmdenucfjughrpefhvf fufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefnvghoucfpihhkkhhilhomuceo hhgvlhhloheslhhnihhkkhhirdhlrgeqnecuggftrfgrthhtvghrnhepvefghedtvdfgke euledtfeevgfevfffhudfftdejjeefueffkeefgffhjeevveefnecuffhomhgrihhnpehg nhhurdhorhhgpdhgihhthhhusgdrtghomhdpnhhishhtrdhgohhvnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhloheslhhnihhkkhhi rdhlrg X-ME-Proxy: Feedback-ID: i41f146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 30 Oct 2022 15:21:10 -0400 (EDT) From: =?utf-8?Q?Leo=20Nikkil=C3=A4?= To: guix-patches@gnu.org Subject: [PATCH] gnu: luajit: Update to commit 6c4826. Date: Sun, 30 Oct 2022 21:19:53 +0200 Message-Id: <20221030191953.690-1-hello@lnikki.la> 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=64.147.123.25; envelope-from=hello@lnikki.la; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -2.3 (--) Greetings, attached is a patch to update luajit to commit 6c4826f12c4d33b8b978004bc681eb1eef2be977. My motivation for doing this was to get Neovim to build on aarch64-linux again, which has been failing for a while due to incompatibilities with the 2.1.0-beta3 release: - https://ci.guix.gnu.org/build/1558481/details - https://github.com/neovim/neovim/issues/15146#issuecomment-884154715 The 2.1.0-beta3 release is from 2017, and now quite dated. Unfortunately there hasn't been a tagged release in a long time, and dependents have resorted to various commits of the 2.1.0 branch. I chose this particular commit from Nixpkgs: - https://github.com/NixOS/nixpkgs/blob/3fa15c357033b1c7bdb88f34c1fb9f6427b4754c/pkgs/development/interpreters/luajit/2.1.nix In addition to fixing the Neovim build, this also fixes a vulnerability that has been reported in the luajit 2.1.0-beta3 release and patched in the development tree: - https://nvd.nist.gov/vuln/detail/CVE-2020-24372 - https://github.com/LuaJIT/LuaJIT/issues/603 I was also able to remove the luajit patch for a missing ldconfig, this behaviour has been fixed in upstream since January 2020: - https://github.com/LuaJIT/LuaJIT/commit/18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80 Here's what `guix refresh' has to say about luajit: $ guix refresh --list-dependent luajit Building the following 42 packages would ensure 62 dependent packages are rebuilt: arcan-wayland@0.5.5.2-1.b4dd1fb xarcan@0.5.4-1.8e6ee02 arcan-sdl@0.5.5.2-1.b4dd1fb sysbench@1.0.20 knot-resolver@5.4.4 edi@0.8.0 rage@0.4.0 ephoto@1.6.0 enlightenment@0.25.4 terminology@1.12.1 evisum@0.6.0 econnman@1.1 epour@0.7.0 jami@20220825.0828.c10f01f pinentry-efl@1.2.0 instead@3.3.5 love-nuklear@2.6.1 mrrescue@1.02e tome4@1.7.4 solarus-quest-editor@1.6.5 naev@0.9.4 mrg@0.1.4 uftrace@0.11 bpftrace@0.15.0 rspamd@3.2 hexchat@2.16.1 minetest-unified-inventory@2021-12-26 minetest-worldedit@1.3 minetest-ethereal@1.29-0.7670c1d minetest-throwing-arrows@1.1-0.059cc89 minetest-basic-trains@1.0.1 minetest-mesecons@1.2.1-63.27c3c51 minetest-homedecor-modpack@2022-05-18 minetest-coloredwood@2021-04-14-1 minetest-technic@2022-02-06 minetest-mobs-animal@2021-11-14 obs-wlrobs@1.0 obs-spectralizer@1.3.3 obs-websocket@4.9.1 eovim@0.2.0 luakit@2.3 nginx-lua-module@0.10.16 I've tested this update by successfully building the dependent packages on x86_64-linux and aarch64-linux, except for nginx-lua-module and obs-websocket which have been failing on CI as well due to build errors unrelated to luajit. ------------=_1668425042-26627-1--