Summary: | media-libs/sdl-mixer-1.2.12-r5 - /.../dynamic_ogg.c: error: incompatible function pointer types assigning to int ( )(void , OggVor | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 logs.tar.bz2 media-libs:sdl-mixer-1.2.12-r5:20221109-152538.log temp.tar.bz2 var.tmp.clang.tar.bz2 sdl-mixer-1.2.12-r6 build.log emerge --info |
Description
Toralf Förster
2022-11-09 15:43:25 UTC
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(+) |