From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 01 00:38:46 2021 Received: (at submit) by debbugs.gnu.org; 1 Nov 2021 04:38:46 +0000 Received: from localhost ([127.0.0.1]:33490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhP5p-0004pa-TH for submit@debbugs.gnu.org; Mon, 01 Nov 2021 00:38:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:33606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhP5o-0004pS-Hr for submit@debbugs.gnu.org; Mon, 01 Nov 2021 00:38:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhP5o-0006dW-Bc for bug-guix@gnu.org; Mon, 01 Nov 2021 00:38:44 -0400 Received: from tilde.team ([198.50.210.248]:39858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhP5l-0003z9-I4 for bug-guix@gnu.org; Mon, 01 Nov 2021 00:38:43 -0400 Received: from localhost (unknown [63.228.59.248]) by tilde.team (Postfix) with ESMTPSA id 91C2F4C82CA for ; Mon, 1 Nov 2021 04:38:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail; t=1635741519; bh=G9JjRT+qMHe+sXkdGRPEnJ+v6Z37bk0Ea6g8kyeCcQU=; h=From:To:Subject:Date:From; b=xxswfFu3SGX/po79VLCvPcRE5G3F1GDkwZsDnvpXj+t2xdvqKWryiTi9MDuti60OA mmkHR3ICR8MMtk9O35MWm+Qb5vU9mgm8toqIvQCfhEYAsuhfqyeuM72V8s5h9Vw4E0 r35/D6Y+ddCB2ORVmPX2cs++0XcxE0hsvHgELRKo= Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 From: "bdju" To: Subject: Neovim build missing luajit support Date: Sun, 31 Oct 2021 23:35:09 -0500 Message-Id: Received-SPF: pass client-ip=198.50.210.248; envelope-from=bdju@tilde.team; helo=tilde.team 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) https://github.com/norcalli/nvim-colorizer.lua/issues/40 I'm hitting this issue in Neovim after installing nvim-colorizer. Supposedly the ffi.lua file it says is missing should be built-in. Some people had issues on a couple distros that seems to build Neovim without luajit, and then fixed it by building it differently. Could we enable luajit in the guix recipe so it's built with it? It sounds like most distros probably enable it, and that the Neovim devs intend it to be enabled. Sidenote: the current recipe has a typo, "refirence", should be "reference". It's in one of the comments. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 01 00:54:06 2021 Received: (at control) by debbugs.gnu.org; 1 Nov 2021 04:54:06 +0000 Received: from localhost ([127.0.0.1]:33512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhPKf-0005FF-SE for submit@debbugs.gnu.org; Mon, 01 Nov 2021 00:54:05 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:34656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhPKe-0005Eb-GQ for control@debbugs.gnu.org; Mon, 01 Nov 2021 00:54:04 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhPKZ-0005s6-3L for control@debbugs.gnu.org; Mon, 01 Nov 2021 00:53:59 -0400 Date: Mon, 1 Nov 2021 00:53:58 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: control@debbugs.gnu.org Subject: neovim and luajit Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) reassign 51537 guix-patches merge 48109 51537 thanks The only possible problem I see with using luajit is that it may not be available on all the platforms that Lua 5.1 is. Perhaps this patch could be conditioned on architecture. Best, Jack From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 01 08:46:42 2021 Received: (at submit) by debbugs.gnu.org; 1 Nov 2021 12:46:42 +0000 Received: from localhost ([127.0.0.1]:33963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhWi2-0007CA-6c for submit@debbugs.gnu.org; Mon, 01 Nov 2021 08:46:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:47200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhWi1-0007C3-75 for submit@debbugs.gnu.org; Mon, 01 Nov 2021 08:46:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhWi0-00052x-3H for bug-guix@gnu.org; Mon, 01 Nov 2021 08:46:40 -0400 Received: from mx1.riseup.net ([198.252.153.129]:49050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhWhu-0008Re-3y for bug-guix@gnu.org; Mon, 01 Nov 2021 08:46:39 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HjXpb0rmnzF4ld; Mon, 1 Nov 2021 05:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1635770791; bh=VTZinl9NlzzlVHDRaNEEbTdWScWxJF9v7ptOspETYZ0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LNol9hlQveE0yxhq5FD4dryLrxQLr3H82e3XqMKoNzSzStcBsysBJR3u07LGcHtIt np4A0ZAx7NYNoOFXUNWa1qNMReNZQ0sBZXVdwZpE//n5VbPwBAbzTIxlhqJE/tz1v9 ivGjiJ9rdBFYXXi5vZwJQiN3CPpDof1h1iTFICzs= X-Riseup-User-ID: A8C10D0A85DB48BA030D972BA3984BF04C6387C6E6E0BAC864F8EFF249355B1F Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4HjXpZ0r81z1xmv; Mon, 1 Nov 2021 05:46:29 -0700 (PDT) Date: Mon, 1 Nov 2021 13:38:07 +0100 From: raingloom To: bug-guix@gnu.org Subject: Re: bug#51537: Neovim build missing luajit support Message-ID: <20211101133807.37d7edd2@riseup.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net 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_H3=0.001, RCVD_IN_MSPIKE_WL=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.4 (-) X-Debbugs-Envelope-To: submit Cc: bdju 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.4 (--) On Sun, 31 Oct 2021 23:35:09 -0500 "bdju" via Bug reports for GNU Guix wrote: > https://github.com/norcalli/nvim-colorizer.lua/issues/40 > I'm hitting this issue in Neovim after installing nvim-colorizer. > Supposedly the ffi.lua file it says is missing should be built-in. > Some people had issues on a couple distros that seems to build Neovim > without luajit, and then fixed it by building it differently. Could > we enable luajit in the guix recipe so it's built with it? It sounds > like most distros probably enable it, and that the Neovim devs intend > it to be enabled. > > Sidenote: the current recipe has a typo, "refirence", should be > "reference". It's in one of the comments. > > > Not the solution, just wanted to mention it: the ffi API is not exclusive to LuaJIT. https://github.com/jmckaskill/luaffi