Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944344 - media-sound/bluez-alsa-4.3.1-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] /.../rfcomm.c: error: too many arguments to function rl_message
Summary: media-sound/bluez-alsa-4.3.1-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] /....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 20:19 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,18.64 KB, text/plain)
2024-11-21 20:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,109.88 KB, text/plain)
2024-11-21 20:19 UTC, Toralf Förster
Details
environment (environment,104.87 KB, text/plain)
2024-11-21 20:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-21 20:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.54 KB, application/x-xz)
2024-11-21 20:19 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,11.07 KB, application/x-xz)
2024-11-21 20:19 UTC, Toralf Förster
Details
media-sound:bluez-alsa-4.3.1-r1:20241120-212357.log (media-sound:bluez-alsa-4.3.1-r1:20241120-212357.log,83.72 KB, text/plain)
2024-11-21 20:19 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,235.85 KB, text/plain)
2024-11-21 20:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.29 KB, application/x-xz)
2024-11-21 20:19 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-21 20:19:32 UTC
too long lines were shrinked:

make[3]: Entering directory '/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1-abi_x86_64.amd64/utils/rfcomm'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1/utils/rfcomm -I../..    -I/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1/src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -O2 -pipe -march=native -fn
make[3]: Leaving directory '/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1-abi_x86_64.amd64/utils/rfcomm'
make[3]: Entering directory '/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1-abi_x86_64.amd64/utils/rfcomm'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1/utils/rfcomm -I../..    -I/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1/src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -O2 -pipe -march=native -fn
/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1/utils/rfcomm/rfcomm.c: In function main:
/var/tmp/portage/media-sound/bluez-alsa-4.3.1-r1/work/bluez-alsa-4.3.1/utils/rfcomm/rfcomm.c:258:41: error: too many arguments to function rl_message
  258 |                                         rl_message("");
      |                                         ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241117-232508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

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


  HEAD of ::gentoo
commit ea30c16434095357f8e53f297434b16a21e6368e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 20 20:48:21 2024 +0000

    2024-11-20 20:48:21 UTC

emerge -qpvO =media-sound/bluez-alsa-4.3.1-r1
[ebuild  N    ] media-sound/bluez-alsa-4.3.1-r1  USE="systemd -aac -aptx -debug -hcitop -lame -ldac -liblc3 -man -mpg123 -msbc -ofono -opus -static-libs -test -unwind -upower" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-11-21 20:19:33 UTC
Created attachment 911043 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-21 20:19:35 UTC
Created attachment 911044 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-21 20:19:36 UTC
Created attachment 911045 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-21 20:19:37 UTC
Created attachment 911046 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-21 20:19:38 UTC
Created attachment 911047 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-21 20:19:39 UTC
Created attachment 911048 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-21 20:19:40 UTC
Created attachment 911049 [details]
media-sound:bluez-alsa-4.3.1-r1:20241120-212357.log
Comment 8 Toralf Förster gentoo-dev 2024-11-21 20:19:41 UTC
Created attachment 911050 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-21 20:19:42 UTC
Created attachment 911051 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-24 22:30:56 UTC
The issue is in sys-libs/readline's headers...
Comment 11 Larry the Git Cow gentoo-dev 2024-11-24 22:51:34 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(+)