Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943862 - media-sound/xmms2-0.9.4 - [meson] [libtool] [gcc-15] ../.../client.c: error: incompatible types when returning type _Bool but xmmsc_sc_namespace_t {aka struct xmmsc_sc_na
Summary: media-sound/xmms2-0.9.4 - [meson] [libtool] [gcc-15] ../.../client.c: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL: https://github.com/xmms2/xmms2-devel/...
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 21:33 UTC by Toralf Förster
Modified: 2024-11-19 03:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.79 KB, text/plain)
2024-11-18 21:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,203.87 KB, text/plain)
2024-11-18 21:33 UTC, Toralf Förster
Details
environment (environment,139.84 KB, text/plain)
2024-11-18 21:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-18 21:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.60 KB, application/x-xz)
2024-11-18 21:33 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.40 KB, application/x-xz)
2024-11-18 21:33 UTC, Toralf Förster
Details
media-sound:xmms2-0.9.4:20241118-211417.log (media-sound:xmms2-0.9.4:20241118-211417.log,56.64 KB, text/plain)
2024-11-18 21:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,55.45 KB, application/x-xz)
2024-11-18 21:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.04 KB, application/x-xz)
2024-11-18 21:33 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 21:33:20 UTC
In file included from ../src/includepriv/xmmsclientpriv/xmmsclient_util.h:7,
                 from ../src/includepriv/xmmscpriv/xmms_list.h:30,
                 from ../src/includepriv/xmmsclientpriv/xmmsclient.h:30,
                 from ../src/clients/lib/xmmsclient/service/common.h:21,
                 from ../src/clients/lib/xmmsclient/service/client.c:17:
../src/clients/lib/xmmsclient/service/client.c: In function xmmsc_sc_namespace_new:
../src/clients/lib/xmmsclient/service/client.c:350:51: error: incompatible types when returning type _Bool but xmmsc_sc_namespace_t * {aka struct xmmsc_sc_namespace_St *} was expected
  350 |         x_api_error_if (!name, "with NULL name.", false);
      |                                                   ^~~~~

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

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

  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

  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
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-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 8566b21081f24b8ff8c5a8ecadbce83f2bdad484
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 17:03:30 2024 +0000

    2024-11-18 17:03:29 UTC

emerge -qpvO =media-sound/xmms2-0.9.4
[ebuild  N    ] media-sound/xmms2-0.9.4  USE="aac alsa cdda curl flac mad mp3 pulseaudio python server speex vorbis xml -airplay -ao -cxx -ffmpeg -fluidsynth -gme -ices -jack -libvisual -mac -mlib-update -modplug -musepack -opus -oss -perl -samba -sid -sndfile -test -tremor -vocoder -wavpack -zeroconf" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 21:33:21 UTC
Created attachment 909648 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 21:33:22 UTC
Created attachment 909649 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-18 21:33:24 UTC
Created attachment 909650 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-18 21:33:25 UTC
Created attachment 909651 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-18 21:33:25 UTC
Created attachment 909652 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 21:33:26 UTC
Created attachment 909653 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 21:33:27 UTC
Created attachment 909654 [details]
media-sound:xmms2-0.9.4:20241118-211417.log
Comment 8 Toralf Förster gentoo-dev 2024-11-18 21:33:29 UTC
Created attachment 909655 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 21:33:30 UTC
Created attachment 909656 [details]
temp.tar.xz
Comment 10 Ionen Wolkens gentoo-dev 2024-11-18 21:37:11 UTC
Unsurprisingly trofi has already fixed it and it's just not in a release yet, will look at backporting.
Comment 11 Larry the Git Cow gentoo-dev 2024-11-18 23:37:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aca3e490b9eb281ad13d30f1e614aef46ede80e

commit 5aca3e490b9eb281ad13d30f1e614aef46ede80e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-11-18 22:55:47 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-11-18 22:56:11 +0000

    media-sound/xmms2: backport c23 fixes for gcc15
    
    Closes: https://bugs.gentoo.org/943862
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-sound/xmms2/files/xmms2-0.9.4-c23.patch | 33 +++++++++++++++++++++++++++
 media-sound/xmms2/xmms2-0.9.4.ebuild          |  1 +
 2 files changed, 34 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2024-11-19 03:52:58 UTC
The bug has been closed via the following commit(s):

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

commit d2facc542948cfb79193220e7beb9d1c9837df8a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-19 03:48:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 03:52:22 +0000

    sys-devel/gcc: backport C23 fix to 15.0.0_pre20241117
    
    Backport a -std=gnu23/-std=c23 fix to 15.0.0_pre20241117 which prevented
    coersion from _Bool to NULL. Note that this is still dodgy code and some
    are proposing this be banned in a future C version (maybe even C2y), but
    it shouldn't be rejected in this version at least.
    
    I've added Closes tags for all bugs which, at a glance, look related,
    but I haven't re-tested them all and one or two might need reopening.
    
    Bug: https://gcc.gnu.org/PR112556
    Closes: https://bugs.gentoo.org/943862
    Closes: https://bugs.gentoo.org/943861
    Closes: https://bugs.gentoo.org/943843
    Closes: https://bugs.gentoo.org/943811
    Closes: https://bugs.gentoo.org/943809
    Closes: https://bugs.gentoo.org/943753
    Closes: https://bugs.gentoo.org/943715
    Closes: https://bugs.gentoo.org/943704
    Closes: https://bugs.gentoo.org/942958
    Signed-off-by: Sam James <sam@gentoo.org>

 ...llow-bool-and-enum-null-pointer-constants.patch | 244 +++++++++++++++++++++
 sys-devel/gcc/gcc-15.0.0_pre20241117-r2.ebuild     |  54 +++++
 2 files changed, 298 insertions(+)