From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 05:01:27 2021 Received: (at submit) by debbugs.gnu.org; 1 Feb 2021 10:01:27 +0000 Received: from localhost ([127.0.0.1]:58909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6W1O-0003V6-Se for submit@debbugs.gnu.org; Mon, 01 Feb 2021 05:01:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:48666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6W1N-0003TV-4p for submit@debbugs.gnu.org; Mon, 01 Feb 2021 05:01:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6W1B-0001PY-Ne for guix-patches@gnu.org; Mon, 01 Feb 2021 05:01:16 -0500 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]:43257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6W11-0002T1-Re for guix-patches@gnu.org; Mon, 01 Feb 2021 05:01:13 -0500 Received: by mail-io1-xd2d.google.com with SMTP id x21so16690212iog.10 for ; Mon, 01 Feb 2021 02:01:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=QKeC8vLg8pzoT+JSo3cHhjU9Rl267Rd6dU6RGTgP25I=; b=buz3WOzubtX9LJrcIMnTcwT8IweuJ+3qMSz8+7tQ84d1XymRBc39L7NqxdZGe3sGLE rI2ShewjrH2mizbxjJeYz2ZtrDkA+ZQ99SNWD1r7nYY2f/aArTCIWqhqqfmtW3FEaF+5 I5KaGfSeeau1Ieka5C2mr/cJczFWyY62PdSbZORWqbgp7xHoaaBybDbSDN801a6plerK jtRb6dL3iufWrBOkp34DW+r/nbyFv6S8IBWlEYc4eyMZpPCCIPLtgLbRPAvn3Lz2uwoP zF7LAT9tBNby0/hiuZaz1qsIrlO8G0AjfMHOtgN5bfzZ/86QYjdLX7PHkZIdxcpSD5+t 1RMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=QKeC8vLg8pzoT+JSo3cHhjU9Rl267Rd6dU6RGTgP25I=; b=qOFOLztdRLrixVoiP5NIz6rlrVQjb1TW/dlhz+dSWdx1gxJoH41sRrkdMW+Q6UnkDc j2BBpqAOeARVN/tJyt4J35HBTJXeqrGv22JsZCAQ0brxcsi1IGBxWR+FqvqQGFntTaIc hb3SGBAZUHf5vCrqBSIQzclNBhJ93JcJanNWM44PMIMJkVR3ECat7cIByzqRdwoR/REk kTFCRBF1HMc9lIWLXSqieJtUglvu2yOqSJYlQn90Iy7PQ/ScBmN6Bt88g0kqHRCgJWd/ DnwAyc42v5ykBm+QPW39HSVA3FWZxqNy9lb22PXe53ssPKq1xqOESp3IW0Yb0Tq69Yiy gKHA== X-Gm-Message-State: AOAM531DmQlqNIQb4Uz14XK7SJ4FkeOkri7uC04OsHGEylkQIXfCea4H jThMCaZePpANdX/KsqxGA18jj4uEg28tt2fXtmY0jgpBppc= X-Google-Smtp-Source: ABdhPJyZ0eAG0TzGJH+ZCnWMajZe/S6dPJZK3ly/ILpRrOXXTLFkcS7/A5Nv4qTU2Za8R9HBx2bBMsFUlszy3wGSeb8= X-Received: by 2002:a6b:f801:: with SMTP id o1mr11900059ioh.43.1612173659174; Mon, 01 Feb 2021 02:00:59 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Mon, 1 Feb 2021 07:00:42 -0300 Message-ID: Subject: Add emilua To: guix-patches@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::d2d; envelope-from=vini.ipsmaker@gmail.com; helo=mail-io1-xd2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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 (--) Hi, I've created a new package for guix. Here's its definition: https://gitlab.com/emilua/emilua/-/snippets/2068658 Please let me know if it has any issues so I can fix them until it's ready for inclusion in the main repository. --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/ From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 20 20:21:57 2021 Received: (at 46231) by debbugs.gnu.org; 21 Feb 2021 01:21:57 +0000 Received: from localhost ([127.0.0.1]:53267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDdRd-0003wU-74 for submit@debbugs.gnu.org; Sat, 20 Feb 2021 20:21:57 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:38123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDdRZ-0003wD-2E for 46231@debbugs.gnu.org; Sat, 20 Feb 2021 20:21:55 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 2C268240002; Sun, 21 Feb 2021 01:21:44 +0000 (UTC) From: Nicolas Goaziou To: =?utf-8?Q?Vin=C3=ADcius?= dos Santos Oliveira Subject: Re: [bug#46231] Add emilua References: Date: Sun, 21 Feb 2021 02:21:42 +0100 In-Reply-To: (=?utf-8?Q?=22Vin=C3=ADcius?= dos Santos Oliveira"'s message of "Mon, 1 Feb 2021 07:00:42 -0300") Message-ID: <875z2mxljt.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.7 (-) Hello, Vin=C3=ADcius dos Santos Oliveira writes: > I've created a new package for guix. Here's its definition: > https://gitlab.com/emilua/emilua/-/snippets/2068658 Thank you! > Please let me know if it has any issues so I can fix them until it's > ready for inclusion in the main repository. There are some issue to fix: - the name of the custom luajit2 package should be changed. Maybe openresty-luajit? - that package should have a proper version and build tag out of it. - I see that emilua uses #:recursive? set to #true. Could some submodules could be unbundled by any chance? - You disabled tests. I would be nice to provide a reason for that. - You don't need `string-append' in the description. Just write the full textin a single string. Could you split this into two patches and send them here, for easier review? Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 07:04:59 2021 Received: (at 46231) by debbugs.gnu.org; 21 Feb 2021 12:04:59 +0000 Received: from localhost ([127.0.0.1]:53628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDnTv-00056v-CN for submit@debbugs.gnu.org; Sun, 21 Feb 2021 07:04:59 -0500 Received: from mail-io1-f52.google.com ([209.85.166.52]:38934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDnTl-00056b-SC for 46231@debbugs.gnu.org; Sun, 21 Feb 2021 07:04:57 -0500 Received: by mail-io1-f52.google.com with SMTP id s24so10370510iob.6 for <46231@debbugs.gnu.org>; Sun, 21 Feb 2021 04:04:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PZCW07LHp2gdDaVKAuaKNC2c9UwaTFSUbcplPg8cfEA=; b=lGvEDmf1ff2IrKcwwJc4+SdHxc2LCIn0EcAZdcI1rMu3/d/oFs1990YdIMk4YMU291 OTNpIltCMazsO5CoWHWMGpnSVUqZe0IYzOk9Xwxq1wbBBDU92RVPJgyATV2BWxuh5wx2 gdJ4sEI9C9o8dDXi19vS668VO7xju3Lt4TkXfN82/HdM1KW3G6ut5odAspTFjR9rp83b KY922V6cFgBlVtK5gvoiNcnaLDlIf0dyW/zVQQ/EJ8wnlivpEgYIe7wj0RPpoCoKz/Xw G+wyEH3UDpCABUzhbwSjBokN69DAoJmLpy/sDFns6aZer7QIcHQXt9gy5dMQf3zpTzTQ rnWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PZCW07LHp2gdDaVKAuaKNC2c9UwaTFSUbcplPg8cfEA=; b=WC+9oxCmYMavIc0NnHfwTBBQMV2R43L1MWkkWYbFiPRML2q1F+IqPTN9PJzEzNyYqF 2RbCA/JbOxCOj2UU8yQBxVNkj3t8HIYhAIEa37ZgHcnzpVKTBAr0fN2Jlqnl7NJv538L P/DCW+FKnBFTkREfxBWhmo+DkG3HegJXEVsgSjttYh0A1kDkmqNF4399a2JptLxSmh+A meLjtbRGGwQrsQ6JYUknzp+jMw7InoHWRBeCD18uiBv9rFC64FaZtJdao8AXNR0dySKq pkGm1vkSM29wuKGnZex8NPSR2qMMqaI6dGwXYW/4ZVPmZnBrSLokn8Fk4+wsQ4mN6l4s trFA== X-Gm-Message-State: AOAM530wtpo0YMJSIg7/ClA2xU0lACixyMm9TPl3vqRmtBo6JK+qDoVN ALQmy1Cejb/KCWd8XoteToghWstbYP3e9utPNVhtaoP3Uso= X-Google-Smtp-Source: ABdhPJz5CeERREb1ov7Mv5QhkXgUPbtVhvwpukoqunYGJHgM/Ur3CQmvDR6rW7EXTqD9wdpNyR40y3rnIraguj1jnyE= X-Received: by 2002:a02:ceb6:: with SMTP id z22mr18284260jaq.73.1613909084250; Sun, 21 Feb 2021 04:04:44 -0800 (PST) MIME-Version: 1.0 References: <875z2mxljt.fsf@nicolasgoaziou.fr> In-Reply-To: <875z2mxljt.fsf@nicolasgoaziou.fr> From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Sun, 21 Feb 2021 09:04:25 -0300 Message-ID: Subject: Re: [bug#46231] Add emilua To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.0 (-) Em s=C3=A1b., 20 de fev. de 2021 =C3=A0s 22:21, Nicolas Goaziou escreveu: > There are some issue to fix: > - the name of the custom luajit2 package should be changed. Maybe > openresty-luajit? > - that package should have a proper version and build tag out of it. I've used "define" instead "define-public" so it wouldn't be really available elsewhere in the system. However after some thought I do agree that this dependency can be generally useful to more people and should have a proper name. What do you think about the name openresty-luajit-lua52? > - I see that emilua uses #:recursive? set to #true. Could some > submodules could be unbundled by any chance? Some, yes, but not all. A Debian packager asked me the same and I already started to unbundle the dependencies where it can make sense to use the one found in the system. I can offer more details on why a few dependencies still must be provided as submodules if requested. Next emilua version (a couple of weeks away) should use more dependencies from the system and less bundled dependencies, but you'll still need #:recursive? set to #true for the bundled dependencies that will remain. > - You disabled tests. I would be nice to provide a reason for that. This is how the tests are run: 1. The emilua binary is generated. 2. The emilua binary is executed against every *.lua file inside the test d= ir. 3. An output is generated and compared against the matching *.out file inside the same dir. 4. If they differ, the test fails. There are two types of tests: * Good test cases. No error expected. * Bad test cases. Buggy code is feeded to the runtime to see if it is able to detect the error. On exceptions (the bad test cases), Lua throws an error string and Emilua will print the stacktrace. The stacktrace is generated by the Lua VM and contains paths to the files involved. This path will be different in every machine you run the tests as you probably will store the source code in different paths. Here's an example: $ emilua test/interrupt7.lua Main fiber from VM 0x7f1f133d1380 panicked: 'Invalid argument' stack traceback: /home/me/emilua/test/interrupt7.lua:5: in main chunk [C]: in function '' [string "?"]: in function <[string "?"]:0> So I filter the test output using an AWK script that replaces the filename by "input.lua". Here's the translation line: https://gitlab.com/emilua/emilua/-/blob/ded59fa9d4bb8977aed40fb7b683c6403b4= 62f28/test/run_test.awk#L60 This filter ensures that a path in the likes of "/home/me/emilua/test/interrupt7.lua" will be spit as "input.lua". That makes the output predictable so I can write the *.out files that reference input.lua. Here's the matching test/interrupt7.out from the previous run: Main fiber from VM 0x1 panicked: 'Invalid argument' stack traceback: input.lua:5: in main chunk [C]: in function '' [string "?"]: in function <[string "?"]:0> Unfortunately this strategy is not enough. The Lua VM will shorten paths by excluding some of its parts and replace them by "..." when they are too long. That's why the script has this rule: https://gitlab.com/emilua/emilua/-/blob/ded59fa9d4bb8977aed40fb7b683c6403b4= 62f28/test/run_test.awk#L4 However running the tests from the guix build unveiled yet another problem with this script. If even longer paths are at play (as in the guix build), the Lua VM will apply a different shortening algorithm to the paths sometimes. So the tests run, the emilua binary will do the right thing, but the translation script won't work on one of the test cases and will raise a false negative. I intend to solve this issue and I already started to investigate so it'll eventually be solved, but in the meantime I just disabled the tests. I don't control the paths the Lua VM generates so improving the AWK script is really my only choice here. > - You don't need `string-append' in the description. Just write the full > textin a single string. Okay. > Could you split this into two patches and send them here, for easier revi= ew? Sure. Let's get the openresty-luajit-lua52 package in first and then I'll work on the second patch. Here's the patch for openresty-luajit-lua52 alone: https://gitlab.com/emilua/emilua/-/snippets/2079960 --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/ From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 05:04:52 2021 Received: (at 46231) by debbugs.gnu.org; 22 Feb 2021 10:04:53 +0000 Received: from localhost ([127.0.0.1]:55686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE85E-0006Vk-JS for submit@debbugs.gnu.org; Mon, 22 Feb 2021 05:04:52 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:59097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE85C-0006VS-Lj for 46231@debbugs.gnu.org; Mon, 22 Feb 2021 05:04:51 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 751A4C0005; Mon, 22 Feb 2021 10:04:43 +0000 (UTC) From: Nicolas Goaziou To: =?utf-8?Q?Vin=C3=ADcius?= dos Santos Oliveira Subject: Re: [bug#46231] Add emilua References: <875z2mxljt.fsf@nicolasgoaziou.fr> Date: Mon, 22 Feb 2021 11:04:42 +0100 In-Reply-To: (=?utf-8?Q?=22Vin=C3=ADcius?= dos Santos Oliveira"'s message of "Sun, 21 Feb 2021 09:04:25 -0300") Message-ID: <875z2kwh8l.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.7 (-) Hello, Vin=C3=ADcius dos Santos Oliveira writes: Thank you for your detailed answer! Some comments follow. > I've used "define" instead "define-public" so it wouldn't be really > available elsewhere in the system. I know. But this does not prevent to choose an explicit name. > However after some thought I do agree that this dependency can be > generally useful to more people and should have a proper name. > > What do you think about the name openresty-luajit-lua52? The trend in other distributions is to use luajit-openresty, in this order. So maybe luajit-lua52-openresty? Or luajit-openresty if that is unambiguous. It is not a big issue anyway. >> - I see that emilua uses #:recursive? set to #true. Could some >> submodules could be unbundled by any chance? > > Some, yes, but not all. A Debian packager asked me the same and I > already started to unbundle the dependencies where it can make sense > to use the one found in the system. I can offer more details on why a > few dependencies still must be provided as submodules if requested. > Next emilua version (a couple of weeks away) should use more > dependencies from the system and less bundled dependencies, but you'll > still need #:recursive? set to #true for the bundled dependencies that > will remain. Then could you add a comment explaining what will be required, and what can be removed later on (as a TODO)? > I intend to solve this issue and I already started to investigate so > it'll eventually be solved, but in the meantime I just disabled the > tests. I don't control the paths the Lua VM generates so improving the > AWK script is really my only choice here. OK. Then could you add a short comment explaining the issue, and that it is being worked on? > Sure. Let's get the openresty-luajit-lua52 package in first and then > I'll work on the second patch. Great! > Here's the patch for openresty-luajit-lua52 alone: > https://gitlab.com/emilua/emilua/-/snippets/2079960 The version should be "2.1-20201027" and the commit (string-append "v" version). Don't forget to remove the string-append in the description. Also, the description itself is not particularly clear. Maybe This package provides the official OpenResty branch of LuaJIT. It is not to be considered a fork, since changes are regularly synchronized from the upstream LuaJIT project. Could you send this to this ML using git format-patch? Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 15:35:33 2021 Received: (at 46231) by debbugs.gnu.org; 23 Feb 2021 20:35:33 +0000 Received: from localhost ([127.0.0.1]:60681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEeP7-0007x9-BU for submit@debbugs.gnu.org; Tue, 23 Feb 2021 15:35:33 -0500 Received: from mail-il1-f175.google.com ([209.85.166.175]:32867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEeP6-0007wy-0O for 46231@debbugs.gnu.org; Tue, 23 Feb 2021 15:35:32 -0500 Received: by mail-il1-f175.google.com with SMTP id e2so15404448ilu.0 for <46231@debbugs.gnu.org>; Tue, 23 Feb 2021 12:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ek9Yftoi+KteRVquCdiiFODxWuygaSaBE3kbg4sDFQw=; b=JsfIels+htY/IqEetxMrHzSpzDWiFabpkrAn3mKDNq24NIdtYs1RUr86CoBGBs1EoF Ilu8uTp5TCG3+7QLM4GkddxNgoPH+qkpNRb805JQieBUks9T1FrGBq+g+DSzmgdV5Zaf t2LKet9kX6ogl6vXoWHsw1IBuzULlPqLyXDJds0Co5LTN2KKb6E+RU1rtIBvhZ44wZ/T 3vp3XPbBEhPgPy3lvp/rUCVK6NeKdG9HmOXmcPREt54/TPrcfMjEodvJJyvwC4MmzOu4 S9cTozgFGOhGqyW/g6c/6IcO2QKYfI6jU8Q5moRiw84WTJewgWHq99GtZoKrhSYBoeuL VopA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ek9Yftoi+KteRVquCdiiFODxWuygaSaBE3kbg4sDFQw=; b=K+cjmguvXXLJ/NGHaqQ1s/5nEsfd5SBugZH6Nw29m58oauYE2Jog5cHaB9k7tzsR6Y LEQ78AstjVFk9iZX+OLqKVtxFyGD6ZucWIYjSpwXJdUnMcepHH7woz72TaH2NGg66yXP 3EtvvWV4C6bb8ew2z3j2AwmwwqGgYBaS2Icji0WAKG0jpzcUUhkR6h8XH6fQancVUL0l 2msHbjmiH0rOye1ATw5KkP81iUrccMX7QkpOMwtthnr7U+swBuKhVbmAvOZwrISuzxsw 51spgEUPfWi7hisyQPWIR6aFB7h38avN9vHhLwtWH3W/J3oFLTEz693+aKDRpSYEAjWx F+bg== X-Gm-Message-State: AOAM533FAKC+YN/I//gGDEdXisHPw6sHKheKwOeleokpVOk512LwEBnf muI+tU9lsZTVONkChvmCXkjZDEhD+xe1lkXJmTEPLrFq X-Google-Smtp-Source: ABdhPJySb63WrnlNjkHhRGdzUhsKRbYNT5BpSMfWMOb+x4AuHRE6Snu4g0tykkDxTFkh1RuEKBmnckzkut7o3Qd+XPo= X-Received: by 2002:a05:6e02:1cac:: with SMTP id x12mr22041074ill.188.1614112526448; Tue, 23 Feb 2021 12:35:26 -0800 (PST) MIME-Version: 1.0 References: <875z2mxljt.fsf@nicolasgoaziou.fr> <875z2kwh8l.fsf@nicolasgoaziou.fr> In-Reply-To: <875z2kwh8l.fsf@nicolasgoaziou.fr> From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Tue, 23 Feb 2021 17:35:07 -0300 Message-ID: Subject: Re: [bug#46231] Add emilua To: Nicolas Goaziou Content-Type: multipart/mixed; boundary="000000000000c4998705bc06db3a" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.0 (-) --000000000000c4998705bc06db3a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em seg., 22 de fev. de 2021 =C3=A0s 07:04, Nicolas Goaziou escreveu: > The trend in other distributions is to use luajit-openresty, in this > order. So maybe luajit-lua52-openresty? Or luajit-openresty if that is > unambiguous. It is not a big issue anyway. luajit-openresty might be ambiguous as not every package might depend on the lua52 configure flag, so I renamed it to luajit-lua52-openresty. > Could you send this to this ML using git format-patch? You may find the patch with the requested fixes attached to this email. I'll implement the changes to the other package once we have luajit-lua52-openresty in place. Thanks for acting as the reviewer of this patch. --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/ --000000000000c4998705bc06db3a Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-luajit-lua52-openresty.patch" Content-Disposition: attachment; filename="0001-Add-luajit-lua52-openresty.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kligtd3q0 RnJvbSBjNWQxMWY5ODY1OTU2MzdhZTcyZDU1MWFjZjBiZjJjZDE1MzkwYTM5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/VmluPUMzPUFEY2l1cz0yMGRvcz0yMFNhbnRv cz0yME9saXZlaXJhPz0KIDx2aW5pLmlwc21ha2VyQGdtYWlsLmNvbT4KRGF0ZTogVHVlLCAyMyBG ZWIgMjAyMSAxNzoyNTowNyAtMDMwMApTdWJqZWN0OiBbUEFUQ0hdIEFkZCBsdWFqaXQtbHVhNTIt b3BlbnJlc3R5CgotLS0KIGdudS9wYWNrYWdlcy9sdWEuc2NtIHwgMjkgKysrKysrKysrKysrKysr KysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCAyOSBpbnNlcnRpb25zKCspCgpkaWZmIC0t Z2l0IGEvZ251L3BhY2thZ2VzL2x1YS5zY20gYi9nbnUvcGFja2FnZXMvbHVhLnNjbQppbmRleCBi MDI5NDAwY2IyLi44ZmJjYzBiMzE3IDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvbHVhLnNjbQor KysgYi9nbnUvcGFja2FnZXMvbHVhLnNjbQpAQCAtMTU3LDYgKzE1NywzNSBAQCBsYW5ndWFnZS4g IEl0IG1heSBiZSBlbWJlZGRlZCBvciB1c2VkIGFzIGEgZ2VuZXJhbC1wdXJwb3NlLCBzdGFuZC1h bG9uZQogbGFuZ3VhZ2UuIikKICAgICAobGljZW5zZSBsaWNlbnNlOngxMSkpKQogCisoZGVmaW5l LXB1YmxpYyBsdWFqaXQtbHVhNTItb3BlbnJlc3R5CisgIChwYWNrYWdlCisgICAoaW5oZXJpdCBs dWFqaXQpCisgICAobmFtZSAibHVhaml0LWx1YTUyLW9wZW5yZXN0eSIpCisgICAodmVyc2lvbiAi Mi4xLTIwMjAxMDI3IikKKyAgIChzb3VyY2UgKG9yaWdpbgorICAgICAgICAgICAgKG1ldGhvZCBn aXQtZmV0Y2gpCisgICAgICAgICAgICAodXJpIChnaXQtcmVmZXJlbmNlCisgICAgICAgICAgICAg ICAgICAodXJsICJodHRwczovL2dpdGh1Yi5jb20vb3BlbnJlc3R5L2x1YWppdDIuZ2l0IikKKyAg ICAgICAgICAgICAgICAgIChjb21taXQgKHN0cmluZy1hcHBlbmQgInYiIHZlcnNpb24pKSkpCisg ICAgICAgICAgICAoc2hhMjU2CisgICAgICAgICAgICAgKGJhc2UzMgorICAgICAgICAgICAgICAi MTE1Z2l4bGJpazRmeDYyYnY4bTFwc2Z2djQ4YWxjdmczaGtpNWt6M2hjcGE4MzBnZDd6cCIpKQor ICAgICAgICAgICAgKHBhdGNoZXMgKHNlYXJjaC1wYXRjaGVzCisgICAgICAgICAgICAgICAgICAg ICAgImx1YWppdC1lbmFibGUtbHVhNTJjb21wYXQucGF0Y2giKSkpKQorICAgKGFyZ3VtZW50cwor ICAgIGAoIzp0ZXN0cz8gI2YKKyAgICAgICM6cGhhc2VzIChtb2RpZnktcGhhc2VzICVzdGFuZGFy ZC1waGFzZXMKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChkZWxldGUgJ2NvbmZpZ3Vy ZSkpCisgICAgICAjOm1ha2UtZmxhZ3MgKGxpc3QKKyAgICAgICAgICAgICAgICAgICAgKHN0cmlu Zy1hcHBlbmQgIlBSRUZJWD0iIChhc3NvYy1yZWYgJW91dHB1dHMgIm91dCIpKSkpKQorICAgKHN5 bm9wc2lzICJPcGVuUmVzdHkncyBCcmFuY2ggb2YgTHVhSklUIDIiKQorICAgKGRlc2NyaXB0aW9u CisgICAgIlRoaXMgcGFja2FnZSBwcm92aWRlcyB0aGUgb2ZmaWNpYWwgT3BlblJlc3R5IGJyYW5j aCBvZiBMdWFKSVQuIEl0IGlzIG5vdCB0bworYmUgY29uc2lkZXJlZCBhIGZvcmssIHNpbmNlIGNo YW5nZXMgYXJlIHJlZ3VsYXJseSBzeW5jaHJvbml6ZWQgZnJvbSB0aGUgdXBzdHJlYW0KK0x1YUpJ VCBwcm9qZWN0LiBUaGlzIHBhY2thZ2UgYWxzbyBlbmFibGVzIHRoZSBMdWEgNS4yIGNvbXBhdCBt b2RlIG5lZWRlZCBieSBzb21lCitwcm9qZWN0cy4iKQorICAgKGhvbWUtcGFnZSAiaHR0cHM6Ly9n aXRodWIuY29tL29wZW5yZXN0eS9sdWFqaXQyIikpKQorCiAoZGVmaW5lIChtYWtlLWx1YS1leHBh dCBuYW1lIGx1YSkKICAgKHBhY2thZ2UKICAgICAobmFtZSBuYW1lKQotLSAKMi4zMC4xCgo= --000000000000c4998705bc06db3a-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 08:07:44 2021 Received: (at 46231) by debbugs.gnu.org; 24 Feb 2021 13:07:45 +0000 Received: from localhost ([127.0.0.1]:33840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEttI-0001Eo-OP for submit@debbugs.gnu.org; Wed, 24 Feb 2021 08:07:44 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:43519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEttF-0001EY-RY for 46231@debbugs.gnu.org; Wed, 24 Feb 2021 08:07:42 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id E099024000E; Wed, 24 Feb 2021 13:07:34 +0000 (UTC) From: Nicolas Goaziou To: =?utf-8?Q?Vin=C3=ADcius?= dos Santos Oliveira Subject: Re: [bug#46231] Add emilua References: <875z2mxljt.fsf@nicolasgoaziou.fr> <875z2kwh8l.fsf@nicolasgoaziou.fr> Date: Wed, 24 Feb 2021 14:07:33 +0100 In-Reply-To: (=?utf-8?Q?=22Vin=C3=ADcius?= dos Santos Oliveira"'s message of "Tue, 23 Feb 2021 17:35:07 -0300") Message-ID: <87o8g9hawa.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.7 (-) Hello, Vin=C3=ADcius dos Santos Oliveira writes: > luajit-openresty might be ambiguous as not every package might depend > on the lua52 configure flag, so I renamed it to > luajit-lua52-openresty. OK. > You may find the patch with the requested fixes attached to this > email. I'll implement the changes to the other package once we have > luajit-lua52-openresty in place. You didn't include "luajit-enable-lua52compat.patch". Could you send it too? Also, there is a new release: 2.1-20201229. You may want to send an updated version. I can also update it. Thanks! Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 08:20:46 2021 Received: (at 46231) by debbugs.gnu.org; 24 Feb 2021 13:20:46 +0000 Received: from localhost ([127.0.0.1]:33883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEu5t-0001Zu-SH for submit@debbugs.gnu.org; Wed, 24 Feb 2021 08:20:46 -0500 Received: from mail-io1-f45.google.com ([209.85.166.45]:45765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEu5r-0001Zh-Nu for 46231@debbugs.gnu.org; Wed, 24 Feb 2021 08:20:44 -0500 Received: by mail-io1-f45.google.com with SMTP id a7so1915377iok.12 for <46231@debbugs.gnu.org>; Wed, 24 Feb 2021 05:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8oN38sRCFpY4+tOFpPGmPelBQz/bnAo21KHitANC47s=; b=b58/gYtJ+uwJvUN8MxEHRUPU3/niGTil0UgZnRh8XL8Y418OYb6ZNG03ssQ5zOQ2VR EsLzrFItQatnFnVsOW8Hgi/eUb4VyAtPyGMU7+E+bG/PImvvXmF5u/3JP1SZKDHJr3hw uMB7BHVnkL2uLR1VgeBMpPmLDddhr9PJzrBn3DxhV+cvzbF+lpKk5BoA0td8ow3+5N9U 7/dnAqcpv8vtglBA2fVPyl8JPjbhSTNI0jAAX0SMlMIR6t64/DnewG35oORt5BeI659W 6bXODRYhm8cOP99Hn/VVdkDzbju/9CswrnFbohZqds7ihb2QKtaMPx3I4I0dv0ZTk8lj pU5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8oN38sRCFpY4+tOFpPGmPelBQz/bnAo21KHitANC47s=; b=QHPMEAsmqpnTXpIB1GunQCDlM9PzMflxWmjmBYVbYUwULtM/oCQzWv8sN3VApXWQz+ PBzC0sfTMb2+GW+EKT+FB4Uszx8OabVt9N0G3j27+MZmFX5mvCY7Sw86YRpFuTFwqFrx kR0Qi5ApaDwYoy1RjA17FVcnOHclf8NFjjKKT4KwqibnEBYc/4BU1mA5u3BIZD3/ryNR bsG3lLF4eUN7D9FuDdfRb3HxSBeG26YV5Nv8nr0HnA6xmW9E3XdqJB3Y2UGvAVlvNe0O osZ67rDavaFkZ0CzTiieCaGw3zHNQBKul0RRX779/rRQAb1xmh/vQD2ZY/9ZW41+NYM6 Lp3Q== X-Gm-Message-State: AOAM530InOpML6zmV8XcsdFWrOZRrKY5wZ4U/eR29Qgi/SIg68qmXJcW iM0knRS7eXcFSIGOT8M+pgunhW1eVzIMgC1HrVRrXrFi X-Google-Smtp-Source: ABdhPJw17NlADLrMNSW//iT3r0j2rkqwVrCU8QlL1hLfk8cGVLTqOWO9hlrqSUStzFhF0q1CwBKSvR2GgDe4iAK8Qrk= X-Received: by 2002:a02:74a:: with SMTP id f71mr31922202jaf.30.1614172838206; Wed, 24 Feb 2021 05:20:38 -0800 (PST) MIME-Version: 1.0 References: <875z2mxljt.fsf@nicolasgoaziou.fr> <875z2kwh8l.fsf@nicolasgoaziou.fr> <87o8g9hawa.fsf@nicolasgoaziou.fr> In-Reply-To: <87o8g9hawa.fsf@nicolasgoaziou.fr> From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Wed, 24 Feb 2021 10:20:19 -0300 Message-ID: Subject: Re: [bug#46231] Add emilua To: Nicolas Goaziou Content-Type: multipart/mixed; boundary="000000000000a0beae05bc14e6ed" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.0 (-) --000000000000a0beae05bc14e6ed Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em qua., 24 de fev. de 2021 =C3=A0s 10:07, Nicolas Goaziou escreveu: > > You may find the patch with the requested fixes attached to this > > email. I'll implement the changes to the other package once we have > > luajit-lua52-openresty in place. > > You didn't include "luajit-enable-lua52compat.patch". Could you send it > too? Oops, my bad. You may find it attached to this email. > Also, there is a new release: 2.1-20201229. You may want to send an > updated version. I can also update it. I'll let you do the update then. --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/ --000000000000a0beae05bc14e6ed Content-Type: text/x-patch; charset="US-ASCII"; name="luajit-enable-lua52compat.patch" Content-Disposition: attachment; filename="luajit-enable-lua52compat.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kljgryel0 RnJvbSA4NTczNzU0MzcxZTVjMzRmZThlMmE0ZTg4ZjMzNTczZGFlZGFmYjgzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/VmluPUMzPUFEY2l1cz0yMGRvcz0yMFNhbnRv cz0yME9saXZlaXJhPz0KIDx2aW5pLmlwc21ha2VyQGdtYWlsLmNvbT4KRGF0ZTogTW9uLCAxIEZl YiAyMDIxIDAwOjExOjU1IC0wMzAwClN1YmplY3Q6IFtQQVRDSF0gRW5hYmxlIC1ETFVBSklUX0VO QUJMRV9MVUE1MkNPTVBBVAoKLS0tCiBzcmMvTWFrZWZpbGUgfCAyICstCiAxIGZpbGUgY2hhbmdl ZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9zcmMvTWFrZWZp bGUgYi9zcmMvTWFrZWZpbGUKaW5kZXggM2Q3ZDI1NDIuLjFhM2EwMzI0IDEwMDY0NAotLS0gYS9z cmMvTWFrZWZpbGUKKysrIGIvc3JjL01ha2VmaWxlCkBAIC05OSw3ICs5OSw3IEBAIFhDRkxBR1M9 CiAjIGVuYWJsZWQgYnkgZGVmYXVsdC4gU29tZSBvdGhlciBmZWF0dXJlcyB0aGF0ICptaWdodCog YnJlYWsgc29tZSBleGlzdGluZwogIyBjb2RlIChlLmcuIF9fcGFpcnMgb3Igb3MuZXhlY3V0ZSgp IHJldHVybiB2YWx1ZXMpIGNhbiBiZSBlbmFibGVkIGhlcmUuCiAjIE5vdGU6IHRoaXMgZG9lcyBu b3QgcHJvdmlkZSBmdWxsIGNvbXBhdGliaWxpdHkgd2l0aCBMdWEgNS4yIGF0IHRoaXMgdGltZS4K LSNYQ0ZMQUdTKz0gLURMVUFKSVRfRU5BQkxFX0xVQTUyQ09NUEFUCitYQ0ZMQUdTKz0gLURMVUFK SVRfRU5BQkxFX0xVQTUyQ09NUEFUCiAjCiAjIERpc2FibGUgdGhlIEpJVCBjb21waWxlciwgaS5l LiB0dXJuIEx1YUpJVCBpbnRvIGEgcHVyZSBpbnRlcnByZXRlci4KICNYQ0ZMQUdTKz0gLURMVUFK SVRfRElTQUJMRV9KSVQKLS0gCjIuMzAuMAoK --000000000000a0beae05bc14e6ed-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 10:49:51 2021 Received: (at 46231) by debbugs.gnu.org; 24 Feb 2021 15:49:51 +0000 Received: from localhost ([127.0.0.1]:35525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEwQB-0007mk-Cv for submit@debbugs.gnu.org; Wed, 24 Feb 2021 10:49:51 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:34417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEwQ9-0007mJ-If for 46231@debbugs.gnu.org; Wed, 24 Feb 2021 10:49:50 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id F27BB240005; Wed, 24 Feb 2021 15:49:41 +0000 (UTC) From: Nicolas Goaziou To: =?utf-8?Q?Vin=C3=ADcius?= dos Santos Oliveira Subject: Re: [bug#46231] Add emilua References: <875z2mxljt.fsf@nicolasgoaziou.fr> <875z2kwh8l.fsf@nicolasgoaziou.fr> <87o8g9hawa.fsf@nicolasgoaziou.fr> Date: Wed, 24 Feb 2021 16:49:41 +0100 In-Reply-To: (=?utf-8?Q?=22Vin=C3=ADcius?= dos Santos Oliveira"'s message of "Wed, 24 Feb 2021 10:20:19 -0300") Message-ID: <87a6rth3e2.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.7 (-) Vin=C3=ADcius dos Santos Oliveira writes: > Oops, my bad. You may find it attached to this email. OK. Since it was trivial, I used a phase instead. >> Also, there is a new release: 2.1-20201229. You may want to send an >> updated version. I can also update it. > > I'll let you do the update then. Done. I applied the patch. We can now proceed with emilua. Thanks! Regards, From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 09:11:56 2021 Received: (at 46231) by debbugs.gnu.org; 25 Feb 2021 14:11:57 +0000 Received: from localhost ([127.0.0.1]:37107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFHMu-0002Lb-Nf for submit@debbugs.gnu.org; Thu, 25 Feb 2021 09:11:56 -0500 Received: from mail-io1-f48.google.com ([209.85.166.48]:42030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFHMr-0002LM-4a for 46231@debbugs.gnu.org; Thu, 25 Feb 2021 09:11:50 -0500 Received: by mail-io1-f48.google.com with SMTP id u20so5972154iot.9 for <46231@debbugs.gnu.org>; Thu, 25 Feb 2021 06:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O7jpr0/hvHJkiNH2pXU7v1IWEXA74PLi79gNx4vsr8M=; b=kzz4PQdp4iwmB4Cl7sDtrO3voycDyTSmjs7LDWvBaWBu3KC54LpDBCC01ssZqoe7al e42iIsQgpxLhzvpSAq5lajOnQF3jhLxwoErYFniynONge8gybnkowOp9FVCZCtP3mypu cJ74SVvEb6DxquH0Xx7WOy97/Lqi58jmoswLYOCSQcAADlGBexzgzEpDXnfKEyFvhg86 biZc63s8N5l8YY6yMM0mpjIjHs1d/bYKWIIT0gVGWpDNvmwccwWza8mMbHvmVSNJm+0h 8fFzQvFcpZem+osLI+csju2IAcLE1CFK141Z1lstdd+5CzXfZ2jOOD/X9Gk6u7EqGceM aDvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O7jpr0/hvHJkiNH2pXU7v1IWEXA74PLi79gNx4vsr8M=; b=iMHonuL1ttA2W5sZutcgmhQBlsWjSWFlbpwjaTt/wKRXwJPutojI441YEPdV29cuna 3hqGuwZlxSY8U/ZQKcq+2Qe4PrkjvtU3/MtYUhvd94PTflyG77tBg8vC1ZGuXXbhtWxZ nklxfY6qXB7cPxpK7Ur1dCIsJfjOm/CXjTIqbx3FrO+jrHpNJoOhIp5x1+SKI24FR827 8DoCe/vvWwFa9QwcLvON7SxEDpAziAQDKkGowPJq7HHomtgZOi/bwNK49SGgpgvHuBVK 49YCC3RZrB9k0VQdCOfoZ92Y6T+f/JNlp0z73QqbgmzfBhMTR4r6y8AzCcNjfNQj0dhs m5xA== X-Gm-Message-State: AOAM531hmJZaCog4nb8XcL9czcQ7qBIdKzFesvNc319YJR/QYVZ87gcZ dufH5lXybr8xao+cp+8xIaq3/CBvhJ1KX8Nq5AO2jBbEato= X-Google-Smtp-Source: ABdhPJw97uKj6jAftRcEK320m4WoD6RnL+UgjWPNF0WBJF88JtT4b/4zC32KegahETtfIZjMLkLJpxk8DwZJ0ThAg14= X-Received: by 2002:a6b:4e11:: with SMTP id c17mr2961356iob.16.1614262303438; Thu, 25 Feb 2021 06:11:43 -0800 (PST) MIME-Version: 1.0 References: <875z2mxljt.fsf@nicolasgoaziou.fr> <875z2kwh8l.fsf@nicolasgoaziou.fr> <87o8g9hawa.fsf@nicolasgoaziou.fr> <87a6rth3e2.fsf@nicolasgoaziou.fr> In-Reply-To: <87a6rth3e2.fsf@nicolasgoaziou.fr> From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Thu, 25 Feb 2021 11:11:22 -0300 Message-ID: Subject: Re: [bug#46231] Add emilua To: Nicolas Goaziou Content-Type: multipart/mixed; boundary="0000000000002bd2b005bc29bb0c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46231 Cc: 46231@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: -1.0 (-) --0000000000002bd2b005bc29bb0c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em qua., 24 de fev. de 2021 =C3=A0s 12:49, Nicolas Goaziou escreveu: > > I'll let you do the update then. > Done. Thanks. > I applied the patch. We can now proceed with emilua. You may find the updated patch (using git format) attached in this email. Btw, if you don't mind, I'd like to use the space to also make a few questions guix-related. Emilua is a software similar to NodeJS, but it doesn't have its own npm, pip, gem, or anything alike. I'd like to use guix as the package manager in emilua. I don't want to create another npm. Therefore all the code I'm writing for the emilua's next version was done with guix in mind. I've learned about native-search-paths and how it can be used to fill environment variables such as GST_PLUGIN_PATH. I've learned about the approach to "merge" directories from each package to fill the guix environment/profile and how crucial it is for such environment variables to guide the software running inside it (e.g. python and PYTHONPATH). That's pretty much solved for me (unless there are other approaches in guix that I'm missing and they would fit better). Next step for me is to better understand what's the proper take when dealing with GStreamer native-search-paths and pkg-config. I'm talking about GStreamer here because it faces a similar problem and I believe it's easier to talk on issues from existing and packaged software. GStreamer defines native-search-paths to GST_PLUGIN_SYSTEM_PATH=3Dlib/gstreamer-1.0. As far as I tested, if a package gstreamer-foobar depends on gstreamer and install files to ${prefix}/lib/gstreamer-1.0, then GST_PLUGIN_SYSTEM_PATH will be automatically updated to also contain gstreamer-foobar's /gnu/store/*/lib/gstreamer-1.0. My question here is: how should the software packaged in gstreamer-foobar find out the proper directory to install its plugins? Should it be ${prefix}/lib/gstreamer-1.0? Should it be ${prefix}/lib/gstreamer-1.1? That's something that shouldn't be hardcoded. As far as I see, it can just use the pluginsdir from GStreamer's pkg-config definition. Like so: $ pkg-config --variable=3Dpluginsdir gstreamer-1.0 However this command will print the wrong dir in guix. It'll print something like: /gnu/store/9if71w58d5mkxfxyc7fpz289qssnkqsv-gstreamer-1.18.2/lib/gstreamer-= 1.0 But that's the "namespace" for the gstreamer package, not for the gstreamer-foobar package. A solution would be to invoke pkg-config as follows: $ pkg-config --define-variable=3D"prefix=3D${prefix}" --variable=3Dpluginsdir gstreamer-1.0 This will actually print the proper ${prefix}/lib/gstreamer-1.0. But that's my question here. How should pkg-config be invoked properly? I could just as well invoke it as: $ pkg-config --define-variable=3D"prefix=3D${prefix}" --define-variable=3Dlibdir=3D'${prefix}/lib' --variable=3Dpluginsdir gstreamer-1.0 --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/ --0000000000002bd2b005bc29bb0c Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-emilua.patch" Content-Disposition: attachment; filename="0001-Add-emilua.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_klkwi6ll0 RnJvbSAxMGMwNGI5YjcwODg2YjE0Mzc3YzhhODAxNjU5Nzg2MDFjODYxN2NlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/VmluPUMzPUFEY2l1cz0yMGRvcz0yMFNhbnRv cz0yME9saXZlaXJhPz0KIDx2aW5pLmlwc21ha2VyQGdtYWlsLmNvbT4KRGF0ZTogVGh1LCAyNSBG ZWIgMjAyMSAxMDoyMjoyMCAtMDMwMApTdWJqZWN0OiBbUEFUQ0hdIEFkZCBlbWlsdWEKCi0tLQog Z251L3BhY2thZ2VzL2x1YS5zY20gfCA2MCArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKwogMSBmaWxlIGNoYW5nZWQsIDYwIGluc2VydGlvbnMoKykKCmRpZmYgLS1n aXQgYS9nbnUvcGFja2FnZXMvbHVhLnNjbSBiL2dudS9wYWNrYWdlcy9sdWEuc2NtCmluZGV4IGMw M2VlYTNjNzAuLmI5ODQyN2NiZGUgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdlcy9sdWEuc2NtCisr KyBiL2dudS9wYWNrYWdlcy9sdWEuc2NtCkBAIC0zNyw4ICszNywxMSBAQAogICAjOnVzZS1tb2R1 bGUgKGd1aXggdXRpbHMpCiAgICM6dXNlLW1vZHVsZSAoZ3VpeCBidWlsZC1zeXN0ZW0gZ251KQog ICAjOnVzZS1tb2R1bGUgKGd1aXggYnVpbGQtc3lzdGVtIGNtYWtlKQorICAjOnVzZS1tb2R1bGUg KGd1aXggYnVpbGQtc3lzdGVtIG1lc29uKQogICAjOnVzZS1tb2R1bGUgKGd1aXggYnVpbGQtc3lz dGVtIHRyaXZpYWwpCiAgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzKQorICAjOnVzZS1tb2R1 bGUgKGdudSBwYWNrYWdlcyBnY2MpCisgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGJ1aWxk LXRvb2xzKQogICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyByZWFkbGluZSkKICAgIzp1c2Ut bW9kdWxlIChnbnUgcGFja2FnZXMgbTQpCiAgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIHRs cykKQEAgLTQ3LDYgKzUwLDExIEBACiAgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGxpYmV2 ZW50KQogICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBsaWJmZmkpCiAgICM6dXNlLW1vZHVs ZSAoZ251IHBhY2thZ2VzIHBrZy1jb25maWcpCisgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2Vz IGJvb3N0KQorICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyB0bHMpCisgICM6dXNlLW1vZHVs ZSAoZ251IHBhY2thZ2VzIG5jdXJzZXMpCisgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIHZp bSkKKyAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2FnZXMgcmUyYykKICAgIzp1c2UtbW9kdWxlIChn bnUgcGFja2FnZXMgeG9yZykKICAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2FnZXMgZ3RrKSkKIApA QCAtMTE1MSwzICsxMTU5LDU1IEBAIHNoZWxsIGNvbW1hbmQgZXhlY3V0aW9ucy4iKQogc2ltcGxp Y2l0eSwgYW5kIHJlYWNoIG9mIEx1YSB3aXRoIHRoZSBmbGV4aWJpbGl0eSBvZiBhIExpc3Agc3lu dGF4IGFuZCBtYWNybwogc3lzdGVtLiIpCiAgICAgKGxpY2Vuc2UgbGljZW5zZTpleHBhdCkpKQor CisoZGVmaW5lLXB1YmxpYyBlbWlsdWEKKyAgKHBhY2thZ2UKKyAgIChuYW1lICJlbWlsdWEiKQor ICAgKHZlcnNpb24gIjAuMi4xIikKKyAgIChzb3VyY2UgKG9yaWdpbgorICAgICAgICAgICAgKG1l dGhvZCBnaXQtZmV0Y2gpCisgICAgICAgICAgICAodXJpIChnaXQtcmVmZXJlbmNlCisgICAgICAg ICAgICAgICAgICAodXJsICJodHRwczovL2dpdGxhYi5jb20vZW1pbHVhL2VtaWx1YS5naXQiKQor ICAgICAgICAgICAgICAgICAgKGNvbW1pdCAoc3RyaW5nLWFwcGVuZCAidiIgdmVyc2lvbikpCisg ICAgICAgICAgICAgICAgICA7IEN1cnJlbnQgdmVyc2lvbiByZXF1aXJlcyBidW5kbGVkIENMSTEx IGFuZCBmbXQsIGJ1dCBhdCBzb21lCisgICAgICAgICAgICAgICAgICA7IGZ1dHVyZSByZWxlYXNl IHRoZSBvbmVzIGZvdW5kIGluIHRoZSBzeXN0ZW0gY291bGQgYmUgdXNlZAorICAgICAgICAgICAg ICAgICAgOyBpbnN0ZWFkLiBDdXJyZW50IHZlcnNpb24gYWxzbyByZXF1aXJlcyBUcmlhbC5Qcm90 b2NvbCBhbmQKKyAgICAgICAgICAgICAgICAgIDsgdGhlIEhUVFAgbGliIGRldmVsb3BlZCBhcyBw YXJ0IG9mIEdTb0MgMjAxNCBmb3IgQm9vc3QsIGJ1dAorICAgICAgICAgICAgICAgICAgOyB0aGVz ZSBhcmUgZGVwZW5kZW5jaWVzIHVubGlrZWx5IHRvIGJlICJ1bmJ1bmRsZWQiIGluIGZ1dHVyZQor ICAgICAgICAgICAgICAgICAgOyByZWxlYXNlcy4KKyAgICAgICAgICAgICAgICAgIChyZWN1cnNp dmU/ICN0KSkpCisgICAgICAgICAgICAoc2hhMjU2CisgICAgICAgICAgICAgKGJhc2UzMgorICAg ICAgICAgICAgICAiMWQ2azV2Nng4NWZidnoyaWpxMWltbmZkd3ZxbXNhdjR4cDAyMWE1djNhaDRt Z3k3eWFubiIpKSkpCisgICAoYnVpbGQtc3lzdGVtIG1lc29uLWJ1aWxkLXN5c3RlbSkKKyAgIChh cmd1bWVudHMKKyAgICBgKCM6bWVzb24gLG1lc29uLTAuNTUKKyAgICAgIDsgVGVzdHMgYXJlIGRp c2FibGVkIGZvciBub3cgZHVlIHRvIGFuIGlzc3VlIHRoYXQgYWZmZWNzIGd1aXg6CisgICAgICA7 IDxodHRwczovL2dpdGxhYi5jb20vZW1pbHVhL2VtaWx1YS8tL2lzc3Vlcy8yMj4KKyAgICAgICM6 Y29uZmlndXJlLWZsYWdzICcoIi1EZW5hYmxlX2h0dHA9ZmFsc2UiICItRGVuYWJsZV90ZXN0cz1m YWxzZSIpKSkKKyAgIChpbnB1dHMKKyAgICBgKCgiYm9vc3QiICxib29zdCkKKyAgICAgICgiYm9v c3Qtc3RhdGljIiAsYm9vc3Qtc3RhdGljKQorICAgICAgOyBMdWFKSVQgaGFzIGEgMkdpQiBhZGRy ZXNzaW5nIGxpbWl0WzFdIHRoYXQgaGFzIGJlZW4gZml4ZWQgb24gT3BlblJlc3R5CisgICAgICA7 IGZvcmsuIEVtaWx1YSBpcyBzZXZlcmVseSBhZmZlY3RlZCBieSB0aGlzIGxpbWl0LCBzbyB0aGUg dXBzdHJlYW0gcGFja2FnZQorICAgICAgOyBpcyBhdm9pZGVkLiBFbWlsdWEgYWxzbyBkZXBlbmRz IG9uIHRoZSAtRExVQUpJVF9FTkFCTEVfTFVBNTJDT01QQVQKKyAgICAgIDsgY29uZmlndXJlIGZs YWdbMl0gZm9yIHNvbWUgZmVhdHVyZXMgdG8gd29yayAoZS5nLiBfX3BhaXJzIG9uIEhUVFAKKyAg ICAgIDsgaGVhZGVycykuCisgICAgICA7CisgICAgICA7IFsxXSA8aHR0cDovL2hhY2tzb2ZsaWZl LmJsb2dzcG90LmNvbS8yMDEyLzEyL2ludGVncmF0aW5nLWx1YWppdC13aXRoLXgtcGxhbmUtNjQt Yml0Lmh0bWw+CisgICAgICA7IFsyXSA8aHR0cDovL2x1YWppdC5vcmcvZXh0ZW5zaW9ucy5odG1s I2x1YTUyPgorICAgICAgKCJsdWFqaXQtbHVhNTItb3BlbnJlc3R5IiAsbHVhaml0LWx1YTUyLW9w ZW5yZXN0eSkKKyAgICAgICgib3BlbnNzbCIgLG9wZW5zc2wpCisgICAgICAoIm5jdXJzZXMiICxu Y3Vyc2VzKSkpCisgICAobmF0aXZlLWlucHV0cworICAgIGAoKCJwa2ctY29uZmlnIiAscGtnLWNv bmZpZykKKyAgICAgICgiZ2NjIiAsZ2NjLTEwKSA7IGdjYy03IGlzIHRvbyBvbGQgZm9yIG91ciBD KysxNyBuZWVkcworICAgICAgKCJsdWFqaXQtbHVhNTItb3BlbnJlc3R5IiAsbHVhaml0LWx1YTUy LW9wZW5yZXN0eSkKKyAgICAgICgieHhkIiAseHhkKQorICAgICAgKCJyZTJjIiAscmUyYykpKQor ICAgKHN5bm9wc2lzICJMdWEgZXhlY3V0aW9uIGVuZ2luZSIpCisgICAoZGVzY3JpcHRpb24KKyAg ICAiQSBMdWFKSVQtYmFzZWQgTHVhIGV4ZWN1dGlvbiBlbmdpbmUgdGhhdCBzdXBwb3J0cyBhc3lu YyBJTywgZmliZXJzIGFuZAorYWN0b3ItaW5zcGlyZWQgdGhyZWFkaW5nLiBUaGUgZXhwZXJpbWVu dGFsIGJ1aWx0aW4gSFRUUCBtb2R1bGUgaXMgZW5hYmxlZC4iKQorICAgKGhvbWUtcGFnZSAiaHR0 cHM6Ly9naXRsYWIuY29tL2VtaWx1YS9lbWlsdWEiKQorICAgKGxpY2Vuc2UgbGljZW5zZTpib29z dDEuMCkpKQotLSAKMi4zMC4xCgo= --0000000000002bd2b005bc29bb0c-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 27 06:20:38 2021 Received: (at 46231-done) by debbugs.gnu.org; 27 Feb 2021 11:20:38 +0000 Received: from localhost ([127.0.0.1]:43230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFxeH-0003GZ-N8 for submit@debbugs.gnu.org; Sat, 27 Feb 2021 06:20:37 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:34467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFxeG-0003GL-C0 for 46231-done@debbugs.gnu.org; Sat, 27 Feb 2021 06:20:37 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 8BEB520003; Sat, 27 Feb 2021 11:20:29 +0000 (UTC) From: Nicolas Goaziou To: =?utf-8?Q?Vin=C3=ADcius?= dos Santos Oliveira Subject: Re: [bug#46231] Add emilua References: <875z2mxljt.fsf@nicolasgoaziou.fr> <875z2kwh8l.fsf@nicolasgoaziou.fr> <87o8g9hawa.fsf@nicolasgoaziou.fr> <87a6rth3e2.fsf@nicolasgoaziou.fr> Date: Sat, 27 Feb 2021 12:20:28 +0100 In-Reply-To: (=?utf-8?Q?=22Vin=C3=ADcius?= dos Santos Oliveira"'s message of "Thu, 25 Feb 2021 11:11:22 -0300") Message-ID: <87mtvp3gg3.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46231-done Cc: 46231-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: -1.7 (-) Hello, Vin=C3=ADcius dos Santos Oliveira writes: > You may find the updated patch (using git format) attached in this > email. Thank you! I re-ordered inputs alphabetically, fixed comment syntax (Lisp uses two semicolons for full line comments), added a copyright line and a proper commit message, and applied your patch. > Btw, if you don't mind, I'd like to use the space to also make a few > questions guix-related. I think a more appropriate place would be Guix Devel mailing list . May I ask you to post again your questions there? Your message will get more visibility from people way more competent than I am on this subject. Regards, --=20 Nicolas Goaziou From unknown Sun Jun 15 08:39:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 27 Mar 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator