From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ACMOFeFu4WFVBwEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 13:38:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kEXbDeFu4WHpbQAAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 13:38:57 +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 D68BE423A5 for ; Fri, 14 Jan 2022 13:38:56 +0100 (CET) Received: from localhost ([::1]:60284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Lr5-0005Lo-MU for larch@yhetil.org; Fri, 14 Jan 2022 07:38:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8LqF-0005LT-Uo for guix-patches@gnu.org; Fri, 14 Jan 2022 07:38:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8LqD-0003xN-Ue for guix-patches@gnu.org; Fri, 14 Jan 2022 07:38:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8LqD-0004kW-RP for guix-patches@gnu.org; Fri, 14 Jan 2022 07:38:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53186] [PATCH] gnu: lua: add lua version 5.4.3 Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 12:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53186 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alex Devaure Cc: rekado@elephly.net, ludo@gnu.org, 53186@debbugs.gnu.org Received: via spool by 53186-submit@debbugs.gnu.org id=B53186.164216385518215 (code B ref 53186); Fri, 14 Jan 2022 12:38:01 +0000 Received: (at 53186) by debbugs.gnu.org; 14 Jan 2022 12:37:35 +0000 Received: from localhost ([127.0.0.1]:35831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Lpm-0004jh-LH for submit@debbugs.gnu.org; Fri, 14 Jan 2022 07:37:34 -0500 Received: from mail-wr1-f42.google.com ([209.85.221.42]:35799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Lpj-0004jR-0S for 53186@debbugs.gnu.org; Fri, 14 Jan 2022 07:37:33 -0500 Received: by mail-wr1-f42.google.com with SMTP id e9so15427741wra.2 for <53186@debbugs.gnu.org>; Fri, 14 Jan 2022 04:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=bdXB7mYVsR5tCCjhpfwQBznXvTJlcGy+41D0jsIdbPk=; b=oFUUJ8Ra2AelEGPFk6INchROSGtipe3LtPGM9PplAWO+2LV2XL2JE3E9HbjsZ61UTM Z0+AKujOIHAormUWrSOD+j0dOxkzajAnfFFDgWQpnyPV2Ll8Jhdh/ImZ7Gc4jkxCTUng ZnYmt9qxacNpALZdHHLgZo7vEYHMhkNqCC/fF1nKkRnnxpyLsAp/Cs7Yz0OeoS9OYkQU 2Q/ekyoIgI14Xq1dwm2PrEyOv5bukctDYUXz7ncf/9xLW6PvVzKSTMckWWAMnIIqtMB/ HENCi0RbjWIbItHY6Jzj8uMm2XOwoHiWsUEyRpkNRMUU25nKR4Fj8gobjnWwssleZEM8 WYvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=bdXB7mYVsR5tCCjhpfwQBznXvTJlcGy+41D0jsIdbPk=; b=dj50KgYxzKW0JxoxhGeFg8ZmCvYbO9Jb/kk3Mu1a3e0pnOmeRAqtW8M/OHKS1mloXs kC3LpJfSrP9Bztu5M7+GrC9aqyuNj+J06U2nPJcdxUKp1rdVvv8afSTXc8HZHK7Y7kJM 4u+SVLDmGRyKWL0xG2+P8z9yqAnHHEuJ5qMuqSGueEWUgyF99KoOyIdmTd2g5OTYdvCn FYVxJU66mxR5IV1oY7+emZQT26FgbkDj1w+eKICIdVQoIbUUmYCzpEuNnPpYDn7QB6hP iQ+pBkpkj5A58i763CMrcc22K0reHzsSobyLh6TYN6c0fu8qqxEZNEtOd7C0XEXuTmCI oNhg== X-Gm-Message-State: AOAM5338VNakYSgXG6ajko1rRx5vFVzKBykKGgZDnEjFgOarVvrnRiFc 9a24GSPZAkeJdpSfKw/zQQ0= X-Google-Smtp-Source: ABdhPJy7Q38eCudiEbWZZONyS95PhjVM3jN9NotM72e19sDDFYw7HKOSNEu2Mo0IdNKRN4kLXQ9nCQ== X-Received: by 2002:adf:fd46:: with SMTP id h6mr8258772wrs.192.1642163845103; Fri, 14 Jan 2022 04:37:25 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id i10sm6162593wmq.45.2022.01.14.04.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 04:37:24 -0800 (PST) From: zimoun References: <87h7aapii6.fsf@gmail.com> Date: Fri, 14 Jan 2022 13:37:17 +0100 In-Reply-To: <87h7aapii6.fsf@gmail.com> (Alex Devaure's message of "Tue, 11 Jan 2022 12:21:13 +0000") Message-ID: <87o84ea3ya.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1642163937; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=bdXB7mYVsR5tCCjhpfwQBznXvTJlcGy+41D0jsIdbPk=; b=ACm9RaRHxD/VrJqE1xKItaE4wxmXDahsUlm0ssPPhT26xWeuq2qV3FHMPVwBNGgBEi+J46 Vh5hD4hoYqAJnFjS61xVKRBN3zETL9FlJBzxQDeymobxdC678xTy684I2WnL7Z7e/yaOka UYC7Tl0e8WDXITQhhfMDfEsEiuDLBVqZtTgFP7F5kr1xnqRmasqZCUzCUeAkgiIptnwXcd IhVGr3eqUonYankEL6QK7RT30x0EpRG0JWXnlWhgfWoPHaCj9mdlMIJCTg1RqqQy6kazPL s918iaf2qODTFCjV4TIeJFaTx8oox3b1Geur4OMcgE4EqK8ew5Xf06hZ9Uw90g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642163937; a=rsa-sha256; cv=none; b=DMG8TvJTE3s83XWzx8GTjRvfj5TKBw4b0Cxr8rtb/v2ILp31uZkGzm95HY+cAqZKsQf948 P/Z7VnfvOSwOx3QTOkDRazWCZhFACTnSWI2JaTNVHRqrilYiwgugbA8YV4Ok4TrKbT+MI1 cV+gAkAI8rc2cotAtaGoXlW6kXF8RMsjoM9RPkniPi3HnyoDc5uNEWrqNMvSMyJ0h6feaD XhOruCV3oAoOYzhAZJFJPBmlhGaUWJLBTwOf+8nwpBtp/UKWgNNmwvK9zIfN2SKdqMSnus AFDq0Tgdvuh/+A+fOBRM+K1dA7qhB8LsMPLj+Wll46ZCW5ag+ctIKB4iHkbZEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oFUUJ8Ra; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oFUUJ8Ra; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: D68BE423A5 X-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: aO2QKowybAaK Hi, On Tue, 11 Jan 2022 at 12:21, Alex Devaure wrote: > After submitting a patch to update the package darktable to the last > version, it appeared that the version 5.4 of lua is necessary. It is why > I am submitting that patch. Thanks for the patch! I am opportunist here. :-) There is this old bug #25425 [1] about lua. Since you, Alex, sent this non-trivial patch, maybe, who knows, a fix might be possible. Basically, the bug is about search-patch. --8<---------------cut here---------------start------------->8--- $ guix shell lua lua-lpeg -- lua Lua 5.4.3 Copyright (C) 1994-2021 Lua.org, PUC-Rio > require('lpeg') stdin:1: module 'lpeg' not found: no field package.preload['lpeg'] no file '/usr/local/share/lua/5.4/lpeg.lua' no file '/usr/local/share/lua/5.4/lpeg/init.lua' no file '/usr/local/lib/lua/5.4/lpeg.lua' no file '/usr/local/lib/lua/5.4/lpeg/init.lua' no file './lpeg.lua' no file './lpeg/init.lua' no file '/usr/local/lib/lua/5.4/lpeg.so' no file '/usr/local/lib/lua/5.4/loadall.so' no file './lpeg.so' stack traceback: [C]: in function 'require' stdin:1: in main chunk [C]: in ? --8<---------------cut here---------------end--------------->8--- Before, this tweak about environment variables was possible as an ugly workaround (detail in the bug#25425), --8<---------------cut here---------------start------------->8--- $ guix shell -C lua lua-lpeg [env]$ export LUA_PATH="$GUIX_ENVIRONMENT/share/lua/5.3/?.lua;$GUIX_ENVIRONMENT/share/lua/5.3/?/?.lua" [env]$ export LUA_CPATH="$GUIX_ENVIRONMENT/lib/lua/5.3/?.so;$GUIX_ENVIRONMENT/lib/lua/5.3/?/?.so" --8<---------------cut here---------------end--------------->8--- but now the same trick raises an error: --8<---------------cut here---------------start------------->8--- [env]$ lua Lua 5.4.3 Copyright (C) 1994-2021 Lua.org, PUC-Rio > require('lpeg') error loading module 'lpeg' from file '/gnu/store/h4mz30lwxmsfrj4040mw56lqhxmqa9nj-profile/lib/lua/5.3/lpeg.so': /gnu/store/h4mz30lwxmsfrj4040mw56lqhxmqa9nj-profile/lib/lua/5.3/lpeg.so: undefined symbol: lua_newuserdata stack traceback: [C]: in ? [C]: in function 'require' stdin:1: in main chunk [C]: in ? --8<---------------cut here---------------end--------------->8--- Well, I do not know if it is related to the applied patch. Even if, it does not appear to me a big deal. :-) My aim here is to pop this old issue [1] and maybe shave the yak. ;-) 1: Cheers, simom