GNU bug report logs -
#76770
[PATCH] gnu: lua: compile with readline support
Previous Next
Reported by: kimapr <kimapr <at> mail.ru>
Date: Thu, 6 Mar 2025 04:48:02 UTC
Severity: normal
Tags: patch
Done: Vagrant Cascadian <vagrant <at> debian.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 03 Apr 2025 15:07:28 -0700
with message-id <87a58wnbkv.fsf <at> wireframe>
and subject line Re: [bug#76770] [PATCH] gnu: lua: compile with readline support
has caused the debbugs.gnu.org bug report #76770,
regarding [PATCH] gnu: lua: compile with readline support
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
76770: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76770
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
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 <at> 5.4
guix build: computing dependents of package lua <at> 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
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.