Message ID | c6f7f6d3-6c9b-4862-ae9e-0357218082ab@mail.ru |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 392D727BBE9; Thu, 6 Mar 2025 06:34:04 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4B4A327BBE2 for <patchwork@mira.cbaines.net>; Thu, 6 Mar 2025 06:34:02 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tq4nc-0005s4-S3; Thu, 06 Mar 2025 01:33:41 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tq39Q-0008SJ-BY for guix-patches@gnu.org; Wed, 05 Mar 2025 23:48:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tq39Q-00029a-1u for guix-patches@gnu.org; Wed, 05 Mar 2025 23:48:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=uqjaCpIMrOm0oQKcvsbQSZWsfpGKCgoPSLA99r48Hcs=; b=O1fm/m+UqDHQIScGz8Fm/8qv7aZJ4a0jIWaaJkHl/a5e47XTche2/PgsAc6JSJWi3mBK79iVoNXVDsebFGtFboq+IAhxbjDsDilFutLe7cgiePDH27BLTFGahftZCdeUX6SVEUsueZUPNXww9+vWDGoW1VnuZ2fIj8z94eBkpLLbUZUvhEQWN+yFnBJ7n+xqg7EWBxFfGf+TzB9WiJ+Mufjmwotdx116k/FL0ruaMSBrEx2AlYHhMhtokhR82teVsVP+Hg9mDpjKSE7lWnnfw7nRloRBvrQMrvmoGBSrt8jilPWrCaFa6xh9jW7OHRJ+ukV3zSx/cDxKD5EpHl/P/w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tq39O-00039r-SM for guix-patches@gnu.org; Wed, 05 Mar 2025 23:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76770] [PATCH] gnu: lua: compile with readline support Resent-From: kimapr <kimapr@mail.ru> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Mar 2025 04:48:02 +0000 Resent-Message-ID: <handler.76770.B.174123642312001@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76770 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76770@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174123642312001 (code B ref -1); Thu, 06 Mar 2025 04:48:02 +0000 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 <debbugs-submit-bounces@debbugs.gnu.org>) 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 <kimapr@mail.ru>) 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 <kimapr@mail.ru>) 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 <kimapr@mail.ru>) 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 <kimapr@mail.ru>) id 1tpsiD-00000000BPS-3jzR for guix-patches@gnu.org; Wed, 05 Mar 2025 20:39:18 +0300 Message-ID: <c6f7f6d3-6c9b-4862-ae9e-0357218082ab@mail.ru> Date: Wed, 5 Mar 2025 17:37:00 +0000 MIME-Version: 1.0 User-Agent: Icedove Daily Content-Language: en-US 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-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 X-Mailman-Approved-At: Thu, 06 Mar 2025 01:33:24 -0500 X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: kimapr <kimapr@mail.ru> X-ACL-Warn: , kimapr via Guix-patches <guix-patches@gnu.org> From: kimapr via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#76770] gnu: lua: compile with readline support
|
|
Commit Message
kimapr
March 5, 2025, 5:37 p.m. UTC
* gnu/packages/lua.scm (lua)[arguments]: change target to "linux-readline". --- gnu/packages/lua.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (delete 'configure)
Comments
On 2025-03-05, kimapr wrote: > * 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 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
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
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==
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