too long lines were shrinked: libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fvisibility=hidden -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNA 2 warnings generated. /bin/sh ./libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fvisibility=hidden -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DOGG_MUSIC -DFLAC_MU libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fvisibility=hidden -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNA /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r5/work/SDL_mixer-1.2.12/dynamic_ogg.c:111:28: error: incompatible function pointer types assigning to 'int (*)(void *, OggVorbis_File *, char *, long, ov_callbacks)' (aka 'int (*)(void *, struct OggVorbis_File *, char *, long, ov_callbacks)') from 'int ( vorbis.ov_open_callbacks = ov_open_callbacks; ^ ~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20221109-090003 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.4 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.4 Python 3.10.8 Available Rust versions: [1] rust-bin-1.64.0 * php cli (if any): HEAD of ::gentoo commit 13b7b1255ae6125608899908b118a34f8a8347f1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Nov 9 14:16:53 2022 +0000 2022-11-09 14:16:52 UTC emerge -qpvO media-libs/sdl-mixer [ebuild N ] media-libs/sdl-mixer-1.2.12-r5 USE="flac mad mp3 vorbis wav -fluidsynth -midi -mikmod -mod -modplug -playtools -smpeg -static-libs -timidity" ABI_X86="(64) -32 (-x32)"
Created attachment 830133 [details] emerge-info.txt
Created attachment 830135 [details] emerge-history.txt
Created attachment 830137 [details] environment
Created attachment 830139 [details] etc.clang.tar.bz2
Created attachment 830141 [details] etc.portage.tar.bz2
Created attachment 830143 [details] logs.tar.bz2
Created attachment 830145 [details] media-libs:sdl-mixer-1.2.12-r5:20221109-152538.log
Created attachment 830147 [details] temp.tar.bz2
Created attachment 830149 [details] var.tmp.clang.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24c9402d23e17f82fd06e074f460da2645698244 commit 24c9402d23e17f82fd06e074f460da2645698244 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-10 06:45:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-10 06:45:50 +0000 media-libs/sdl-mixer: fix Clang 16 compatibility Closes: https://bugs.gentoo.org/880619 Signed-off-by: Sam James <sam@gentoo.org> ...dl-mixer-1.2.12-incompatible-func-clang16.patch | 64 +++++++++++ media-libs/sdl-mixer/sdl-mixer-1.2.12-r6.ebuild | 128 +++++++++++++++++++++ 2 files changed, 192 insertions(+)
Created attachment 830271 [details] sdl-mixer-1.2.12-r6 build.log >>> Completed installing media-libs/sdl-mixer-1.2.12-r6 into /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r6/image * Final size of build directory: 16496 KiB (16.1 MiB) * Final size of installed tree: 292 KiB * * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * * /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r6/work/SDL_mixer-1.2.12/mixer.c:153:60: warning: implicit declaration of function ‘Mix_InitFluidSynth’ [-Wimplicit-function-declaration] * /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r6/work/SDL_mixer-1.2.12/mixer.c:205:17: warning: implicit declaration of function ‘Mix_QuitFluidSynth’ [-Wimplicit-function-declaration] * /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r6/work/SDL_mixer-1.2.12/dynamic_mod.c:244:36: warning: assignment to ‘BOOL (*)(CHAR *)’ {aka ‘int (*)(char *)’} from incompatible pointer type ‘int (*)(const CHAR *)’ {aka ‘int (*)(const char *)’} [-Wincompatible-pointer-types] * /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r6/work/SDL_mixer-1.2.12/dynamic_mod.c:248:40: warning: assignment to ‘char * (*)(int)’ from incompatible pointer type ‘const char * (*)(int)’ [-Wincompatible-pointer-types] * /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r6/work/SDL_mixer-1.2.12/dynamic_fluidsynth.c:40:25: warning: assignment to ‘int (*)(fluid_player_t *)’ {aka ‘int (*)(struct _fluid_player_t *)’} from incompatible pointer type ‘void (*)(fluid_player_t *)’ {aka ‘void (*)(struct _fluid_player_t *)’} [-Wincompatible-pointer-types] * /var/tmp/portage/media-libs/sdl-mixer-1.2.12-r6/work/SDL_mixer-1.2.12/dynamic_fluidsynth.c:40:25: warning: assignment to ‘int (*)(fluid_synth_t *)’ {aka ‘int (*)(struct _fluid_synth_t *)’} from incompatible pointer type ‘void (*)(fluid_synth_t *)’ {aka ‘void (*)(struct _fluid_synth_t *)’} [-Wincompatible-pointer-types] * * Please file a bug about this at https://bugs.gentoo.org/ * with the maintainer of the package. * * ERROR: media-libs/sdl-mixer-1.2.12-r6::gentoo failed: * install aborted due to severe warnings shown above * * Call stack: * misc-functions.sh, line 670: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 90gcc-warnings, line 197: Called gcc_warn_check * 90gcc-warnings, line 183: Called die * The specific snippet of code: * die "install aborted due to severe warnings shown above"
thx, looking (might be doing a snapshot sooner than I was thinking, as there's tonnes of patches which touch various bits like this)
Created attachment 830273 [details] emerge --info
btw, https://www.libsdl.org/projects/SDL_mixer/ redirects to https://github.com/libsdl-org/SDL_mixer
https://github.com/libsdl-org/SDL_mixer/commit/05b12a3c22c0746c29dc5478f5b7fbd8a51a1303 is enough but there's still incompatible func. ptr warnings, so snapshot it is
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ece26abf8b9b5a09d17bf166e441cb9746ee4d8 commit 3ece26abf8b9b5a09d17bf166e441cb9746ee4d8 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-10 10:04:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-10 10:05:29 +0000 media-libs/sdl-mixer: backport additional header patch We're going to do a snapshot but it feels right to fix this bit first as it got introduced by one of the previous patches (only shows up with some USE flag combos). Bug: https://bugs.gentoo.org/880619 Signed-off-by: Sam James <sam@gentoo.org> ...dl-mixer-1.2.12-incompatible-func-clang16.patch | 30 ++++++++++++++++++++++ ...1.2.12-r6.ebuild => sdl-mixer-1.2.12-r7.ebuild} | 0 2 files changed, 30 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=209e9244c663238ed56d0ca58c5b2a19e06bf6c8 commit 209e9244c663238ed56d0ca58c5b2a19e06bf6c8 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-11 03:48:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-11 03:48:58 +0000 media-libs/sdl-mixer: add 1.2.12_p20221010 Upstream aren't making releases anymore (since a long time ago!) for the 1.2.x branch but are kindly doing backports, so let's make a snapshot. Fixes a substantial number of warnings, build system quirks, and even a security bug. What a bargain! Bug: https://bugs.gentoo.org/771168 Closes: https://bugs.gentoo.org/729740 Closes: https://bugs.gentoo.org/880619 Signed-off-by: Sam James <sam@gentoo.org> media-libs/sdl-mixer/Manifest | 1 + .../sdl-mixer/sdl-mixer-1.2.12_p20221010.ebuild | 116 +++++++++++++++++++++ 2 files changed, 117 insertions(+)