From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 05 23:47:03 2025 Received: (at submit) by debbugs.gnu.org; 6 Mar 2025 04:47:03 +0000 Received: from localhost ([127.0.0.1]:40832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tq38Q-00037H-4J for submit@debbugs.gnu.org; Wed, 05 Mar 2025 23:47:03 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44960) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpsid-00071X-Ci for submit@debbugs.gnu.org; Wed, 05 Mar 2025 12:39:43 -0500 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 1tpsiO-0001gU-Ru for guix-patches@gnu.org; Wed, 05 Mar 2025 12:39:28 -0500 Received: from send103.i.mail.ru ([89.221.237.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tpsiL-0006kK-AE for guix-patches@gnu.org; Wed, 05 Mar 2025 12:39:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail4; h=Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:From:Sender:Reply-To:To:Cc:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive:X-Cloud-Ids:Disposition-Notification-To; bh=uqjaCpIMrOm0oQKcvsbQSZWsfpGKCgoPSLA99r48Hcs=; t=1741196361; x=1741286361; b=Dzuxnv/SANNSkIuc392cH38PluCeqHiYQF0gjX2PI8HQzI3Sv3CK19qpUNX8tAfRCfsIFDQMudo zf2tv50/reoMaK6ArNN8L+0WQ1dnhLuA2eZCrl96APbFz/juq+SNavrOOwKCgvbd2VHXFCNXxZlpF cU3BxdFE3cBJeMsBKPZ9y7yaCNG20JK1V2AmOaa0FlENPypZhXg2owPvKYujZrg9T0OWORaankDl1 iq4iac4TC5Gc8+SRcJ2XeaOMehRRsfaF9bG0X2KZ62jtBhXF8tuYB528Y8iwgOgMvxkJRWkS2aKjq 7JI0hH6cbrab2tTNlCn+wYElDOi1GTOvvGbA==; Received: by exim-smtp-8cb569c79-ghlbl with esmtpa (envelope-from ) id 1tpsiD-00000000BPS-3jzR for guix-patches@gnu.org; Wed, 05 Mar 2025 20:39:18 +0300 Message-ID: Date: Wed, 5 Mar 2025 17:37:00 +0000 MIME-Version: 1.0 User-Agent: Icedove Daily Content-Language: en-US To: guix-patches@gnu.org From: kimapr Subject: [PATCH] gnu: lua: compile with readline support Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Authentication-Results: exim-smtp-8cb569c79-ghlbl; auth=pass smtp.auth=kimapr@mail.ru smtp.mailfrom=kimapr@mail.ru X-Mailru-Src: smtp X-4EC0790: 1 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9C8AED3E6A44DB6AB342B3125D12B76469B3258E56A3293D9182A05F538085040B454EB2CCABE52323DE06ABAFEAF6705F878946069BB01C408316BF402566179C95EF9F5A0584B93 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE78CB87876C5D626D4EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC83A81C8FD4AD23D82A6BABE6F325AC2E85FA5F3EDFCBAA7353EFBB55337566AE3F01DD33DDBDC898F4224C670A7B8F4891E3ED9EF5E1CCD9A3AB12B54A8D998EEF46B7454FC60B9742502CCDD46D0D062BEEFFB5F8EA3EF6B57BC7E64490618DEB871D839B73339E8FC8737B5C22494854413538E1713FCC7F00164DA146DAFE8445B8C89999729449624AB7ADAF37F6B57BC7E64490611E7FA7ABCAF51C92176DF2183F8FC7C02A2C2731A565D81B8941B15DA834481F9449624AB7ADAF37BA3038C0950A5D3613377AFFFEAFD26923F8577A6DFFEA7C2CB2D6B488FCBE8B7B076A6E789B0E97A8DF7F3B2552694AD5FFEEA1DED7F25D49FD398EE364050F3F735096452955E3BDB03A3F2A65D472B3661434B16C20ACC84D3B47A649675FE827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8B571E44149B8DA1DF75ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A59D22E05BBBCFB5325002B1117B3ED696C2ED5E33D58F69C3BFF4097FFC9E796F823CB91A9FED034534781492E4B8EEAD03B4017E30074F69C79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0AD93B9BA3C444D644977DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF92B6094271598AA159381F42C33E7DCA62134DC87DF8DBDC137EFA0D8916DB9CFD9AF20B71F72F3A2C10F42E4F22A8B6309678E109C77816D9A18B1F1144D3B31B0E289B72DD2346383C93C5AD2DA449913E6812662D5F2A1E45786427BB1DD1342AD2399E144C4283DB18EBE73F7D69 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXMZebaIdHP2ghjoIc/363UZI6Kf1ptIMVYrk7BQKFwEtVIEXe4fwsABmdHbFpaa/EA== X-Mailru-Sender: 9727BB951D8CC89BAD673B60E1764EE70E87BA3282FF70B1B951B70A5BD4BD8EA9E028D6FB8FC438F1FEA02A07AA46D6589C0611CE754A9BEBAF39ED78FCC3232AA4A30A88BB1739DD27102B8B5027B6530FF9944EF5C0A5C773FD4C59EDF4CA1DF961A1243F32B222B820C1B2086D890DA7A0AF5A3A8387 X-Mras: Ok Received-SPF: pass client-ip=89.221.237.198; envelope-from=kimapr@mail.ru; helo=send103.i.mail.ru 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_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 05 Mar 2025 23:47:00 -0500 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: -0.0 (/) * gnu/packages/lua.scm (lua)[arguments]: change target to   "linux-readline". ---  gnu/packages/lua.scm | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 4c65bcbf12..b3d4cbf5d2 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -109,7 +109,7 @@ (define-public lua               (string-append "CC=" ,(cc-for-target))               (string-append "SYSLIBS=-L" (assoc-ref %build-inputs "readline")                              "/lib") -             "linux") +             "linux-readline")         #:phases         (modify-phases %standard-phases           (delete 'configure) -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 10 18:47:07 2025 Received: (at 76770) by debbugs.gnu.org; 10 Mar 2025 22:47:07 +0000 Received: from localhost ([127.0.0.1]:40329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trltr-0000vD-1W for submit@debbugs.gnu.org; Mon, 10 Mar 2025 18:47:07 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:33826) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trltm-0000ta-KE for 76770@debbugs.gnu.org; Mon, 10 Mar 2025 18:47:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1741646814; bh=ALfNIY+6ONs+VqRux9hFIuYIvI/nCc4E5dSyN+Q/8b8=; h=From:To:Subject:In-Reply-To:References:Date:From; b=F8FTLwcRQKxyPsWZNDfxuRAWAJW2GGZoXFlLxjNSC5OcHpFyM6FLYn8vEvbT0W9TE a6l04hpx+HeHBa8UwgS1BL2BanWJQsUQNcZrvoG4OjD5dVIsQBOgVK0kf2W1aO9AJl FaGmOqh6kjWkpYdQxxmi9OzYlW6Yy6erY7N292grQvGQMXT/3ujBg0bDLY7+RzE+fe xtGpwwxsJ5qkAWa4slGcG89LAzrtzBtjnGL4oe1A6fR4SL0pNs3npp99B3uzeZQwl5 64MIK4+OukCbOtvmgM+NesAiSoUuRaqdM+kaXtDKIPmAizSkKUN/Y4sQM2mLEVc1c0 DhIZ0wPOmoXeg== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id B141010DA; Mon, 10 Mar 2025 15:46:54 -0700 (PDT) From: Vagrant Cascadian To: kimapr , 76770@debbugs.gnu.org Subject: Re: [bug#76770] [PATCH] gnu: lua: compile with readline support In-Reply-To: References: Date: Mon, 10 Mar 2025 15:46:48 -0700 Message-ID: <87h64033mv.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76770 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2025-03-05, kimapr wrote: > * gnu/packages/lua.scm (lua)[arguments]: change target to > =C2=A0 "linux-readline". > --- > =C2=A0gnu/packages/lua.scm | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm > index 4c65bcbf12..b3d4cbf5d2 100644 > --- a/gnu/packages/lua.scm > +++ b/gnu/packages/lua.scm > @@ -109,7 +109,7 @@ (define-public lua > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (string-append "CC=3D" ,(cc-for-target)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (string-append "SYSLIBS=3D-L" (assoc-ref %build-inputs > "readline") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 "/lib") > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "linux") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "linux-readline") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:phases > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete 'configure) > --=20 > 2.47.1 Patch was slightly malformed for some reason, but being a one-liner, was easy to apply manually! At first glance, it increases the results from guix size only slightly from 77.0MB to 84.4MB, and has a smallish number of dependents... But lua@5.1 lua@5.2 and lua@5.3 inherit from lua, so the impact is much larger than a quick glance suggests (especially lua@5.3): $ guix refresh --list-dependent lua@5.1 lua@5.2 lua@5.3 lua@5.4 Building the following 359 packages would ensure 604 dependent packages are rebuilt: grafx2@2.4 hedgewars@1.0.2 btanks@0.9.8083 crawl-tiles@0.32.1 fillets-ng@1.0.1 ... I did successfully build lua@5.4 and it's four dependents. https://guix.gnu.org/manual/devel/en/guix.html#Managing-Patches-and-Branches Changes which affect more than 300 dependent packages (see Invoking guix refresh) should first be pushed to a topic branch other than master Would it make sense to exclude the older versions from the change? Then it could go to the git master banch, in my opinion. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ89r2QAKCRDcUY/If5cW qmzAAP98dxHzZi0dEfmKfmJfEcrsBUFU+y9pycyRHQtXUf7sqQD7BUNVkc6mtdVj 3wz/XZXPoftubm0sIZb4g2hkqEn5FQY= =2zBB -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 10 19:35:00 2025 Received: (at 76770) by debbugs.gnu.org; 10 Mar 2025 23:35:00 +0000 Received: from localhost ([127.0.0.1]:40395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trmeC-00036q-4W for submit@debbugs.gnu.org; Mon, 10 Mar 2025 19:35:00 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:44584) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trme8-00036a-8B for 76770@debbugs.gnu.org; Mon, 10 Mar 2025 19:34:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1741649689; bh=EVGP+IU+DllBo6esAqvS2h4wtkIoQdkm2Qc33ki6Go8=; h=From:To:Subject:In-Reply-To:References:Date:From; b=EjpYha2RdjqiN/l5+PnIJtFCli/oogytJmPRI3/wW6MLhORDi6yELlCT5BY6uIVAg rAJWSu0sKEfKV+YXsNp2BckLsEH5hTFX7TMUqxLAN68EXJ7C2Qr87HlF8obefx8evI JuUtCKjfeEA4ADIpdkSIWtzCbMeNmms7bvapO9HCTU4fw5X61NojMNQIri3sc4JcQ3 BhSkOb9m1EHjmp74AzLdKj4gmNb/gCSO/un2sB/gdQQve9GRPQ601vj8ZNR7c3IhID gCHG5fc4MYPbIpAAgWfWdu35Szoe5VQ3V4IJEP3XxfWwIZBb1j4k44tk5UIC9Qz+5X GSBTrdZnRPOBg== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id F3DAF10DA; Mon, 10 Mar 2025 16:34:48 -0700 (PDT) From: Vagrant Cascadian To: kimapr , 76770@debbugs.gnu.org Subject: Re: [bug#76770] [PATCH] gnu: lua: compile with readline support In-Reply-To: <87h64033mv.fsf@wireframe> References: <87h64033mv.fsf@wireframe> Date: Mon, 10 Mar 2025 16:34:44 -0700 Message-ID: <87ecz431ez.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76770 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2025-03-10, Vagrant Cascadian wrote: > On 2025-03-05, kimapr wrote: > At first glance, it increases the results from guix size only slightly > from 77.0MB to 84.4MB, and has a smallish number of dependents... > > But lua@5.1 lua@5.2 and lua@5.3 inherit from lua, so the impact is much > larger than a quick glance suggests (especially lua@5.3): Oops, I had this slightly wrong... lua-5.1, lua-5.2 and lua-5.4 inherit from lua (which is effectively lua@5.3). > Would it make sense to exclude the older versions from the change? Then > it could go to the git master banch, in my opinion. In fact versions 5.1, 5.2 and 5.3 do not support this option passed to make at all, and fail to build with the patch applied! I just checked that lua@5.3, lua@5.2 and lua@5.1 all do support readline, so it is only lua@5.4 that does not currently have readline support. So the patch needs to be re-worked ot only apply to lua-5.4. But then should be able to be pushed directly as it does not have many dependents. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ893FAAKCRDcUY/If5cW qtxZAQCibjr6rGEqWsLQv7r2WUBZqDP3xPQfzH+UdHjr/kRGXAEAs62jcOaZ7BGt kmCZr6PY7ukwHV0N4kylpq0QXGHBJAM= =GzY5 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 11 03:27:14 2025 Received: (at 76770) by debbugs.gnu.org; 11 Mar 2025 07:27:14 +0000 Received: from localhost ([127.0.0.1]:41320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tru1B-0000ZS-SA for submit@debbugs.gnu.org; Tue, 11 Mar 2025 03:27:14 -0400 Received: from send243.i.mail.ru ([95.163.59.82]:24484) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tru16-0000Yr-TN for 76770@debbugs.gnu.org; Tue, 11 Mar 2025 03:27:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail4; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:Cc:From: References:To:Subject:MIME-Version:Date:Message-ID:From:Sender:Reply-To:To:Cc :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive:X-Cloud-Ids:Disposition-Notification-To; bh=/nNvpVOyBjzfg9n0Bf6D7u9zkTUb2CyE0SpZ4lSKBfM=; t=1741678028; x=1741768028; b=1IDatbwPddpSyj1D/TiNlYBq4MMx79Q9UegfJ2zDbmE6HL9waQa6CBE2UmE1NvSs/iDsQLC7e2p sMaUE6tq7Eh84+hGzufQFQppgFAP8ZC/T0Lr1M8qeHHW1xlnLAXBk5uAUaWH2vaD88pcYdilCwq84 GTHDk8l+yBE/oWLIr0D1G48terNFTGiHX3oqJFpC+VoRybyAwJH6nz4jkE49SzSuDO0wInBFus5jK EHpLX5Iywn185YwdwrhSc6rvtu6eOzw+miTWDj0tqvRU3Z2a6miVhnM1LSgrakYbnuA1/tAz4ytMM g62+PnC/bp0l829NmmjRNd6NVrpe8d2ZI/gQ==; Received: by exim-smtp-8cb569c79-qmf4r with esmtpa (envelope-from ) id 1tru0y-00000000CdC-0VlN; Tue, 11 Mar 2025 10:27:00 +0300 Message-ID: <4c7e55c4-9457-47c9-a90a-eb6c0fe4e430@mail.ru> Date: Tue, 11 Mar 2025 12:24:44 +0500 MIME-Version: 1.0 User-Agent: Icedove Daily Subject: Re: [bug#76770] [PATCH] gnu: lua: compile with readline support To: 76770@debbugs.gnu.org References: <87h64033mv.fsf@wireframe> <87ecz431ez.fsf@wireframe> Content-Language: en-US From: kimapr In-Reply-To: <87ecz431ez.fsf@wireframe> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Authentication-Results: exim-smtp-8cb569c79-qmf4r; auth=pass smtp.auth=kimapr@mail.ru smtp.mailfrom=kimapr@mail.ru X-Mailru-Src: smtp X-4EC0790: 1 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9C6CD12EFD8DA450FCDAF7FA3B074814E0E7F7A1C2955E91300894C459B0CD1B9517FEE50CC250E4B0578E6996F3834136B86C918151F54C177C96782A4B76E3BF8D9167951636F18 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE724AEE3BBB50D470CEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC83A81C8FD4AD23D82A6BABE6F325AC2E85FA5F3EDFCBAA7353EFBB553375666DAE1D1A19A1A03EAFC391C191753977B4F5AD56F3E3202B0A3BD358965E83BA8EEF46B7454FC60B9742502CCDD46D0D5E59ED9F89912417117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC292D688DDAD4E7BC389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8D166953D3EA3826BF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947C91E4BF118115E492C0837EA9F3D197644AD6D5ED66289B523666184CF4C3C14F6136E347CC761E07725E5C173C3A84C35F694C8F56E70CF0BA3038C0950A5D36B5C8C57E37DE458B330BD67F2E7D9AF16D1867E19FE14079C09775C1D3CA48CF3D321E7403792E342EB15956EA79C166176DF2183F8FC7C04E672349037D5FA5725E5C173C3A84C303E429EFD66F9E2635872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A55CF89FFE60223FEF5002B1117B3ED696563321327488B98369995D676B7B4CBE823CB91A9FED034534781492E4B8EEADB73CFAAED92B6E13BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0AD93B9BA3C444D644977DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFC4B4FB2B96F3D24CF47FDB67A1BE8570EB9340DDEE2488F00875B0ADC5B0DB6A3066587AC4ADAE82F13513DA892F5B9DDE1CD6600102509910F3765C21325D2BA97880D62C002B7F111DC66A97D0BFE2913E6812662D5F2A1E45786427BB1DD1342AD2399E144C4283DB18EBE73F7D69 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXMZebaIdHP2ghjoIc/363UZI6Kf1ptIMVQiWK+2I7Y2sYFyzbAnI1jM= X-Mailru-Sender: 811C44EDE0507D1F78204F46DF73F3C567AC55C092E920480B9BF4F79351F75796B8FD47FA17399F9B9FCFCFB7EC6622AE612CA5628006519D05D10692C02F823DDAF8CF51E8EB1316F5670CE7ACBB318BCC081D9D5610F3BE6FBB40ADBE433113D393D611A7C5823DDE9B364B0DF289AE208404248635DF X-Mras: Ok X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76770 Cc: Vagrant Cascadian 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 (-) On 2025/03/11 04:34, Vagrant Cascadian wrote: > So the patch needs to be re-worked ot only apply to lua-5.4. But then > should be able to be pushed directly as it does not have many > dependents. I have done this, however my email client is very evil and keeps messing up my formatting no matter what I try so sending the patch without malforming it proves difficult. (word-wrapping, randomly deleting spaces, i thought i disabled the former but it's still doing it and the latter simply makes no sense in any context) This is a problem to solve later (by using a different client), for now I will just send the patch in base64 instead to protect it against my evil email client: RnJvbSA1MjcxOTYwNzZjZWM2MmIxNTk3Zjk2NTA1MmRjMmJhMWNkYTdlYzQyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLaW1hcHIgPGtpbWFwckBtYWlsLnJ1PgpEYXRlOiBUdWUsIDEx IE1hciAyMDI1IDExOjQzOjM0ICswNTAwClN1YmplY3Q6IFtQQVRDSF0gZ251OiBsdWEtNS40OiBj b21waWxlIHdpdGggcmVhZGxpbmUgc3VwcG9ydAoKKiBnbnUvcGFja2FnZXMvbHVhLnNjbSAobHVh LTUuNClbYXJndW1lbnRzXTogY2hhbmdlIHRhcmdldCB0bwogICJsaW51eC1yZWFkbGluZSIuCi0t LQogZ251L3BhY2thZ2VzL2x1YS5zY20gfCA2ICsrKysrKwogMSBmaWxlIGNoYW5nZWQsIDYgaW5z ZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9sdWEuc2NtIGIvZ251L3BhY2th Z2VzL2x1YS5zY20KaW5kZXggNGM2NWJjYmYxMi4uMGU0NWFmMTJhMiAxMDA2NDQKLS0tIGEvZ251 L3BhY2thZ2VzL2x1YS5zY20KKysrIGIvZ251L3BhY2thZ2VzL2x1YS5zY20KQEAgLTEzNCw2ICsx MzQsMTIgQEAgKGRlZmluZS1wdWJsaWMgbHVhCiAoZGVmaW5lLXB1YmxpYyBsdWEtNS40CiAgIChw YWNrYWdlIChpbmhlcml0IGx1YSkKICAgICAgICAgICAgKHZlcnNpb24gIjUuNC42IikKKyAgICAg ICAgICAgKGFyZ3VtZW50cworICAgICAgICAgICAgKHN1YnN0aXR1dGUta2V5d29yZC1hcmd1bWVu dHMgKHBhY2thZ2UtYXJndW1lbnRzIGx1YSkKKyAgICAgICAgICAgICAgKCgjOm1ha2UtZmxhZ3Mg ZmxhZ3MpCisgICAgICAgICAgICAgICAoYXBwZW5kIChsaXN0LWhlYWQgZmxhZ3MKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAoLSAobGVuZ3RoIGZsYWdzKSAxKSkKKyAgICAgICAg ICAgICAgICAgICAgICAgJygibGludXgtcmVhZGxpbmUiKSkpKSkKICAgICAgICAgICAgKHNvdXJj ZSAob3JpZ2luCiAgICAgICAgICAgICAgICAgICAgICAobWV0aG9kIHVybC1mZXRjaCkKICAgICAg ICAgICAgICAgICAgICAgICh1cmkgKHN0cmluZy1hcHBlbmQgImh0dHBzOi8vd3d3Lmx1YS5vcmcv ZnRwL2x1YS0iCi0tIAoyLjQ4LjEKCg== From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 11 19:11:58 2025 Received: (at 76770) by debbugs.gnu.org; 11 Mar 2025 23:11:58 +0000 Received: from localhost ([127.0.0.1]:46261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ts8lS-0000IA-4i for submit@debbugs.gnu.org; Tue, 11 Mar 2025 19:11:58 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:33116) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ts8lO-0000Hu-V1 for 76770@debbugs.gnu.org; Tue, 11 Mar 2025 19:11:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1741734705; bh=K/FxcxR5A+GeavTzFcac2uNuoeKwE7Iw/8cV7lVZ1+w=; h=From:To:Subject:In-Reply-To:References:Date:From; b=dwTsvgx3SNMTiYz4Io5DOZQEmddlesTE0rZfYvYtFiTEOi4eVcOClJBDQjLjvhNrp noC4Nq6/TUfwhArhhGKCPlC+RXqOvNV4mcNKG52jznyjhP1aOx3uvB/SszbHePPbE4 wEAtpJd7vfk/Rf7Hce9nKP5/Qj9LSkgoUfZWYOMRmeeM0EjHIAQCl0mwegtUpjofQr 3sf/Fc67BiFWQCHseLrHttwlCjrDI7YWO4ISC9oCezFvmdb+myRgzwGspBHKDyQDhn Wm90Liqr8VoH4L411PB1EUf2K23Sw0AETyu9nSiuViBtQsiy/s8Q6hsLTG3+yB2zj3 +IP43OmC/2+pQ== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id 368CF30CC; Tue, 11 Mar 2025 16:11:45 -0700 (PDT) From: Vagrant Cascadian To: kimapr , 76770@debbugs.gnu.org Subject: Re: [bug#76770] [PATCH] gnu: lua: compile with readline support In-Reply-To: <4c7e55c4-9457-47c9-a90a-eb6c0fe4e430@mail.ru> References: <87h64033mv.fsf@wireframe> <87ecz431ez.fsf@wireframe> <4c7e55c4-9457-47c9-a90a-eb6c0fe4e430@mail.ru> Date: Tue, 11 Mar 2025 16:11:38 -0700 Message-ID: <87bju717th.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76770 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 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain On 2025-03-11, kimapr wrote: > On 2025/03/11 04:34, Vagrant Cascadian wrote: >> So the patch needs to be re-worked ot only apply to lua-5.4. But then >> should be able to be pushed directly as it does not have many >> dependents. > > I have done this, however my email client is very evil and keeps > messing up my formatting no matter what I try so sending the patch > without malforming it proves difficult. (word-wrapping, randomly > deleting spaces, i thought i disabled the former but it's still doing > it and the latter simply makes no sense in any context) In the future you could also submit the patch as an attachment generated with "git format-patch"? I should hope your client doesn't mangle attachements! > This is a problem to solve later (by using a different client), for > now I will just send the patch in base64 instead to protect it against > my evil email client: Nice workaround! :) For completeness, I have attached the version decoded from base64... And Also tested that it builds it's dependents: $ ./pre-inst-env guix build --keep-going --max-jobs=2 --dependents lua guix build: computing dependents of package lua@5.4.6... /gnu/store/sv4q1qms1mahs7vsxpk83n62sgilvsnd-lua-5.4.6 /gnu/store/95iazlx13k0mvr63qyxn0y87fiyg7s0x-wesnoth-server-1.18.3 /gnu/store/jifrzb3pd084sd4zjlpypiyznykxpx89-wesnoth-1.18.3 /gnu/store/a91sbgmhr4gfw843rckzcpzxi7ahz3kn-darktable-5.0.1 /gnu/store/qpf4nryf3pjwq31x5kp2n70s0j4kzi47-lite-xl-2.1.3 I tested that it does not trigger rebuilds of other lua versions, and does enable readline support on lua@5.4 ... so it works! I am not sure I fully wrap my head around the guile code used to accomplish this, but that is likely just me... so someone a little more savvy should still review that bit... live well, vagrant --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-lua-5.4-compile-with-readline-support.patch Content-Transfer-Encoding: quoted-printable From=2002d15b2a9d59354c2f53605278bf5eea074b9a4e Mon Sep 17 00:00:00 2001 From: Kimapr Date: Tue, 11 Mar 2025 11:43:34 +0500 Subject: [PATCH] gnu: lua-5.4: compile with readline support * gnu/packages/lua.scm (lua-5.4)[arguments]: change target to "linux-readline". =2D-- gnu/packages/lua.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 4c65bcbf12..0e45af12a2 100644 =2D-- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -134,6 +134,12 @@ (define-public lua (define-public lua-5.4 (package (inherit lua) (version "5.4.6") + (arguments + (substitute-keyword-arguments (package-arguments lua) + ((#:make-flags flags) + (append (list-head flags + (- (length flags) 1)) + '("linux-readline"))))) (source (origin (method url-fetch) (uri (string-append "https://www.lua.org/ftp/lua-" base-commit: 1b7fb5e3f97271ed4264dc9eed7bbc286e9635a3 =2D-=20 2.39.5 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ9DDKwAKCRDcUY/If5cW qij+AQDd+5QVydF0EboIRUPVA2ya5Xl7vQ1aXko9d6ggj2mNsgEA29E+uOu3Qd7I 7ooncNWXqFwbVQF/BG31c84ffYnG+QE= =BNt3 -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 11 20:11:21 2025 Received: (at 76770) by debbugs.gnu.org; 12 Mar 2025 00:11:21 +0000 Received: from localhost ([127.0.0.1]:46352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ts9gu-0002wG-Po for submit@debbugs.gnu.org; Tue, 11 Mar 2025 20:11:21 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:42150) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ts9gs-0002w1-4s for 76770@debbugs.gnu.org; Tue, 11 Mar 2025 20:11:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1741738269; bh=1+TYuDUbyx5gqQ9PjNAYsa3zMeq+4c9iwF5jguaNTMo=; h=From:To:Subject:In-Reply-To:References:Date:From; b=UUkdoIkzXyQYAC5FmQFpvvf/tOO7mqddeaTEIOM2j6dsTf2X2tF0C0KFab7yM561i JnbN5RjO8HHxeEh0oMm8cSFFcJTgfX9jYdJYOXx4EWQldX3UE3A4NzjxpL7ZQdlxgM /uN5bqNyuvQV6Fwp60sCuYAQ0IZHMxJZshP6jp6KEccVdUAntW7SfNkplX1WUT6JbF Fw71+8/ysEoFw3M+RLdg5Jz1b7CJoSjqh3EAN7l6YYfpPGHYtq9l+hKBTtCMjLZYTU 5rlMETrqBMQZzVxUCem662GhMojs94u097DKq6z6zDAdD1v9Urx9zZPYedKeUQyCmG cDp+Om/Yn0U9g== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id AD11630CC; Tue, 11 Mar 2025 17:11:09 -0700 (PDT) From: Vagrant Cascadian To: kimapr , 76770@debbugs.gnu.org Subject: Re: [bug#76770] [PATCH] gnu: lua: compile with readline support In-Reply-To: <87bju717th.fsf@wireframe> References: <87h64033mv.fsf@wireframe> <87ecz431ez.fsf@wireframe> <4c7e55c4-9457-47c9-a90a-eb6c0fe4e430@mail.ru> <87bju717th.fsf@wireframe> Date: Tue, 11 Mar 2025 17:11:04 -0700 Message-ID: <878qpb152f.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76770 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 (-) --=-=-= Content-Type: text/plain On 2025-03-11, Vagrant Cascadian wrote: > On 2025-03-11, kimapr wrote: >> On 2025/03/11 04:34, Vagrant Cascadian wrote: >>> So the patch needs to be re-worked ot only apply to lua-5.4. But then >>> should be able to be pushed directly as it does not have many >>> dependents. ... > From 02d15b2a9d59354c2f53605278bf5eea074b9a4e Mon Sep 17 00:00:00 2001 > From: Kimapr > Date: Tue, 11 Mar 2025 11:43:34 +0500 > Subject: [PATCH] gnu: lua-5.4: compile with readline support > > * gnu/packages/lua.scm (lua-5.4)[arguments]: change target to > "linux-readline". > --- > gnu/packages/lua.scm | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm > index 4c65bcbf12..0e45af12a2 100644 > --- a/gnu/packages/lua.scm > +++ b/gnu/packages/lua.scm > @@ -134,6 +134,12 @@ (define-public lua > (define-public lua-5.4 > (package (inherit lua) > (version "5.4.6") > + (arguments > + (substitute-keyword-arguments (package-arguments lua) > + ((#:make-flags flags) > + (append (list-head flags > + (- (length flags) 1)) > + '("linux-readline"))))) I guess this could stand to use a comment in the code explaining what it is doing and why. I *think* I understand what it is doing... but that is largely guessing on my part. :) This does make it a little fragile if the ordering of the #:make-flags on the inherited package change or have new values appended. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ9DRGAAKCRDcUY/If5cW qnK2AQCgWHb8PUQ2lM4ysc1C6Q6d1sXhE8ETvuZcJizm7810NgEAiErs9EkHnGxR 9CN0EovOqQoALk1yJ3zpy2karg2UgwU= =nO6D -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 03 11:13:50 2025 Received: (at 76770) by debbugs.gnu.org; 3 Apr 2025 15:13:50 +0000 Received: from localhost ([127.0.0.1]:35200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0MGL-0004fe-SD for submit@debbugs.gnu.org; Thu, 03 Apr 2025 11:13:50 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:42190) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0MGJ-0004fQ-Hd for 76770@debbugs.gnu.org; Thu, 03 Apr 2025 11:13:48 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 642B125F; Thu, 3 Apr 2025 17:13:40 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id BtSo1bFocauU; Thu, 3 Apr 2025 17:13:40 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 95105156; Thu, 3 Apr 2025 17:13:37 +0200 (CEST) Date: Thu, 3 Apr 2025 17:13:35 +0200 From: Andreas Enge To: Vagrant Cascadian Subject: Re: [bug#76770] [PATCH] gnu: lua: compile with readline support Message-ID: References: <87h64033mv.fsf@wireframe> <87ecz431ez.fsf@wireframe> <4c7e55c4-9457-47c9-a90a-eb6c0fe4e430@mail.ru> <87bju717th.fsf@wireframe> <878qpb152f.fsf@wireframe> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878qpb152f.fsf@wireframe> X-Rspamd-Queue-Id: 642B125F X-Spamd-Result: default: False [5.40 / 15.00]; SPAM_FLAG(5.00)[]; BAYES_HAM(-3.00)[99.99%]; NEURAL_SPAM(3.00)[1.000]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVRCPT(0.00)[mail.ru]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_CC(0.00)[mail.ru,debbugs.gnu.org] X-Spam-Level: ***** X-Rspamd-Action: greylist X-Spamd-Bar: +++++ X-Rspamd-Server: hera X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76770 Cc: 76770@debbugs.gnu.org, kimapr 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 (-) Hello, Am Tue, Mar 11, 2025 at 05:11:04PM -0700 schrieb Vagrant Cascadian: > > + (append (list-head flags > > + (- (length flags) 1)) > > + '("linux-readline"))))) Maybe you could replace (list-head flags (- (length flags) 1)) by (delete "linux" flags) (or delq or delv, I do not memorise the different ways of comparing in Guile)? Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 03 18:07:45 2025 Received: (at 76770-done) by debbugs.gnu.org; 3 Apr 2025 22:07:45 +0000 Received: from localhost ([127.0.0.1]:36035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0Siu-0007UJ-ST for submit@debbugs.gnu.org; Thu, 03 Apr 2025 18:07:45 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:58576) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0Sis-0007U5-CT for 76770-done@debbugs.gnu.org; Thu, 03 Apr 2025 18:07:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1743718053; bh=E7TIHc7zyzIFkCnF+VfqbOlKjtHBcJuGc/9GcE1k++o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BrWplI3IRJbIVML807N5PLifpn7zUb35wA4Iy44QSWH7rWZahpYrqcxTq60hdXt9j f/raxqG1jVSpFjYo7/aTR1Zl2frs22s7z5UUL18vh8PkAkIc0xX2aAXCBIIWY3QKbK Du6uHJu5PoXSC5eL3ALksc2EvfwvHgAPyTSNR88TWXgywEdlqOAjlnJmBq0pr0aRxn in6Ah9kX4zUrZtyNryhrvAChBzrJRjkQZdfJYai4vYMEmqSSo4dmiWc4DLcw3XDTd1 3znYPGZHpO3lLMhC1ReHk/AcqSsv6QJuxLQPIfBjGYYFmFijw8vFktwYb8XDoGqHAf 2BFxRW97hAu6A== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id 32B096F07; Thu, 3 Apr 2025 15:07:33 -0700 (PDT) From: Vagrant Cascadian To: Andreas Enge Subject: Re: [bug#76770] [PATCH] gnu: lua: compile with readline support In-Reply-To: References: <87h64033mv.fsf@wireframe> <87ecz431ez.fsf@wireframe> <4c7e55c4-9457-47c9-a90a-eb6c0fe4e430@mail.ru> <87bju717th.fsf@wireframe> <878qpb152f.fsf@wireframe> Date: Thu, 03 Apr 2025 15:07:28 -0700 Message-ID: <87a58wnbkv.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76770-done Cc: 76770-done@debbugs.gnu.org, kimapr 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 (-) --=-=-= Content-Type: text/plain On 2025-04-03, Andreas Enge wrote: > Am Tue, Mar 11, 2025 at 05:11:04PM -0700 schrieb Vagrant Cascadian: >> > + (append (list-head flags >> > + (- (length flags) 1)) >> > + '("linux-readline"))))) > > Maybe you could replace > (list-head flags (- (length flags) 1)) > by > (delete "linux" flags) Nice suggestion, worked for me! $ ./pre-inst-env guix build --max-jobs=2 --dependents lua@5.4 guix build: computing dependents of package lua@5.4.6... /gnu/store/5y1yakxlfni97f97jnps87agbplzpy5i-lua-5.4.6 /gnu/store/i5izv9867afhnj5hissfcrp368yg6cgi-wesnoth-1.18.3 /gnu/store/gk86kl9ba2anmgn3c4b9jmdbx0wh0gy1-wesnoth-server-1.18.3 /gnu/store/79n34573x0kzddw75fma59x0mjag5lmq-darktable-5.0.1 /gnu/store/c7b6a1zrcv88vbrvxl6gn6srfv6waqrx-lite-xl-2.1.3 Pushed as 538fc4917f55cb2ab0b7c090de00855fa421db69. Hopefully my use of Suggested-by/Modified-by make sense there! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ+8GoAAKCRDcUY/If5cW qopoAP0WrR+gD1Qf4FCdy8Cvb12UbS6zde9bIy/BWhrlAi0zoAEA+0lJyuID4OE4 l90E0kx0lBA+mHfSlKeCeY9ksxDzlAY= =2MP/ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 11:49:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 02 May 2025 11:24:16 +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