From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WLvqGvLOXmNDhgAAbAwnHQ (envelope-from ) for ; Sun, 30 Oct 2022 20:22:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gLTxGvLOXmMhoQAAauVa8A (envelope-from ) for ; Sun, 30 Oct 2022 20:22:26 +0100 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 B4EB66CC2 for ; Sun, 30 Oct 2022 20:22:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opDsi-00010L-Na; Sun, 30 Oct 2022 15:22:04 -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 1opDsg-000102-OQ for guix-patches@gnu.org; Sun, 30 Oct 2022 15:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opDsg-0006HA-HA for guix-patches@gnu.org; Sun, 30 Oct 2022 15:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opDsf-0005Yr-W6 for guix-patches@gnu.org; Sun, 30 Oct 2022 15:22:02 -0400 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-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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667157746; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZAMrALnH3i7ER2c+wbSgfUemgIW9Gx3OPs9wVk6wNKI=; b=kCu9L0soHKDEzeFrXjRRY+HJrD4qH/qa4PAPC2yalU/GDaSH9iEYYDd/sNENL+87+GeD49 +rFkSDqdbtszYF0t3UVDc9U3znVn71vNSFiprNIuv6cmQHdRxMedTDh5M1zw0OKOtWY1yK IERlv/RUOhVS47k2ojLJtSUKdsBmEzLrqU0Il2QhBu9bVnz7lyyadW8Uny+BirbT0CLgdj mQBMSZs+zEvLEGaUUbzVnZILITpzPC9j8SPcFnIjWbk0EtiUNnXTl+LcM3aMY0Cnx02MfZ Pkzc2VPEEq6w8odW8rslN7qd3xCYvD0dAoqUhZPdw/OrD/DmFH1Fen/p+OqkQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667157746; a=rsa-sha256; cv=none; b=iq1udOo8dIsLLxozHL0K89uV0NAs02xu6tKhWHngmFd9G9WBXpr3SDNzNHFzk/ydg9PcRf 0UyHnCHW9/RqbV3GWBztz7mPJFyvul/YkDYh0AuGay6dNDPuqGU53DOjVSaCMBscST97Go xFa1EHYzyikCkpkCII47tZHMUlqK2O+PzUBduD8ivN/ITG7fRSqNKFgUKoov2hochM5ISK /Bc2/btUhjrQqMx9SMkCjvZVKaq8a/JiEQiAr9waKjWjchZHXBhDLB4dqw6wNrbAe2veoI T+XZjP3lvJrjxz3/tRPSUt0KpobteXyvrjYnbWEk0i3kpugKNGc4zXU+JfXzZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm1 header.b=VSaWgK3B; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=odMvUMjz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); 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: 6.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm1 header.b=VSaWgK3B; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=odMvUMjz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); 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: B4EB66CC2 X-Spam-Score: 6.75 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9JL8V05avi8j 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.