Bug 2347347

Summary: Issue with readline causing gcc-15 build issues in dependencies
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: readlineAssignee: Siteshwar Vashisht <svashisht>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jan, jchaloup, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: readline-8.2-13.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-15 00:41:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2339938    

Description Peter Robinson 2025-02-24 17:56:45 UTC
There's an issue some packages that depend on readline when building with gcc-15

In bluez, at least rlwrap has issues too, we see the following:

src/shared/shell.c: In function 'rl_cleanup':
src/shared/shell.c:1424:9: error: too many arguments to function 'rl_message'; expected 0, have 1
 1424 |         rl_message("");
      |         ^~~~~~~~~~ ~~
In file included from src/shared/shell.c:29:
/usr/include/readline/readline.h:410:12: note: declared here
  410 | extern int rl_message ();
      |            ^~~~~~~~~~

Gentoo has a fix for readline here:

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

Comment 2 Fedora Update System 2025-03-06 02:19:20 UTC
FEDORA-2025-7b7d25ecdf (readline-8.2-13.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7b7d25ecdf

Comment 3 Fedora Update System 2025-03-07 08:34:43 UTC
FEDORA-2025-7b7d25ecdf has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7b7d25ecdf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7b7d25ecdf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-03-15 00:41:47 UTC
FEDORA-2025-7b7d25ecdf (readline-8.2-13.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.