Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943820 - net-misc/connman-1.43 - [libtool] [gcc-15] client/input.c: error: too many arguments to function rl_message
Summary: net-misc/connman-1.43 - [libtool] [gcc-15] client/input.c: 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: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 19:06 UTC by Toralf Förster
Modified: 2024-11-24 22:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.74 KB, text/plain)
2024-11-18 19:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,198.97 KB, text/plain)
2024-11-18 19:06 UTC, Toralf Förster
Details
environment (environment,88.46 KB, text/plain)
2024-11-18 19:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-18 19:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.22 KB, application/x-xz)
2024-11-18 19:06 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,44.62 KB, application/x-xz)
2024-11-18 19:06 UTC, Toralf Förster
Details
net-misc:connman-1.43:20241118-152055.log (net-misc:connman-1.43:20241118-152055.log,60.32 KB, text/plain)
2024-11-18 19:06 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,57.10 KB, application/x-xz)
2024-11-18 19:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.52 KB, application/x-xz)
2024-11-18 19:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-18 19:06:18 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DVPN_STATEDIR=\""/run/connman-vpn"\"
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib64/connman/plu
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DVPN_STATEDIR=\""/run/connman-vpn"\"
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DVPN_STATEDIR=\""/run/connman-vpn"\"
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DVPN_STATEDIR=\""/run/connman-vpn"\"
client/input.c: In function __connmanctl_input_init:
client/input.c:276:17: error: too many arguments to function rl_message
  276 |                 rl_message("");
      |                 ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20241113-211502

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0
  [3]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 2696599cc6dbd9f00d13c988da83ece659bb9ee4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 14:33:31 2024 +0000

    2024-11-18 14:33:30 UTC

emerge -qpvO =net-misc/connman-1.43
[ebuild  N    ] net-misc/connman-1.43  USE="bluetooth ethernet networkmanager nftables (policykit) wifi -debug -doc -examples -iptables -iwd -l2tp -ofono -openconnect -openvpn -pptp -tools -vpnc -wireguard -wispr"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 19:06:19 UTC
Created attachment 909325 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 19:06:21 UTC
Created attachment 909326 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-18 19:06:22 UTC
Created attachment 909327 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-18 19:06:23 UTC
Created attachment 909328 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-18 19:06:24 UTC
Created attachment 909329 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 19:06:25 UTC
Created attachment 909330 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 19:06:26 UTC
Created attachment 909331 [details]
net-misc:connman-1.43:20241118-152055.log
Comment 8 Toralf Förster gentoo-dev 2024-11-18 19:06:27 UTC
Created attachment 909332 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 19:06:28 UTC
Created attachment 909333 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-24 22:51:35 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(+)