Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944300 - app-misc/rlwrap-0.46.1 fails to compile: readline.c:192:5: error: too many arguments to function rl_message
Summary: app-misc/rlwrap-0.46.1 fails to compile: readline.c:192:5: error: too many ar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 13:13 UTC by Agostino Sarubbo
Modified: 2024-11-24 22:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,58.19 KB, text/plain)
2024-11-21 13:13 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-21 13:13:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/rlwrap-0.46.1 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-21 13:13:23 UTC
Created attachment 910993 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-11-24 22:51:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9a8501590c4b1fa99ff64229a50618ec060db1

commit 6b9a8501590c4b1fa99ff64229a50618ec060db1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-24 22:50:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-24 22:50:22 +0000

    sys-libs/readline: fix compat in headers with C23
    
    HAVE_STDARG_H isn't defined for readline consumers externally so we always
    end up using the ancient non-prototypes. Fix that as all compilers we care
    about since forever in Gentoo will support this path.
    
    This in particular shows up with rl_message in consumers.
    
    Closes: https://bugs.gentoo.org/943820
    Closes: https://bugs.gentoo.org/944059
    Closes: https://bugs.gentoo.org/944300
    Closes: https://bugs.gentoo.org/944344
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/readline/files/readline-8.2-c23.patch |  20 ++
 sys-libs/readline/readline-8.2_p13-r1.ebuild   | 269 +++++++++++++++++++++++++
 2 files changed, 289 insertions(+)