Bug#1066329: sdl-mixer1.2: FTBFS: mixer.c:158:60: error: implicit declaration of function ‘Mix_InitFluidSynth’ [-Werror=implicit-function-declaration]

Lucas Nussbaum lucas at debian.org
Wed Mar 13 11:44:42 GMT 2024


Source: sdl-mixer1.2
Version: 1.2.12-17
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c music_cmd.c -o build/music_cmd.lo 
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c load_aiff.c  -fPIC -DPIC -o build/.libs/load_aiff.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c effect_stereoreverse.c  -fPIC -DPIC -o build/.libs/effect_stereoreverse.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c load_voc.c  -fPIC -DPIC -o build/.libs/load_voc.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c effects_internal.c  -fPIC -DPIC -o build/.libs/effects_internal.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c effect_position.c  -fPIC -DPIC -o build/.libs/effect_position.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c music.c  -fPIC -DPIC -o build/.libs/music.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c music_cmd.c  -fPIC -DPIC -o build/.libs/music_cmd.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c mixer.c  -fPIC -DPIC -o build/.libs/mixer.o
> load_aiff.c: In function ‘Mix_LoadAIFF_RW’:
> load_aiff.c:90:16: warning: variable ‘blocksize’ set but not used [-Wunused-but-set-variable]
>    90 |         Uint32 blocksize;
>       |                ^~~~~~~~~
> music.c: In function ‘Mix_LoadMUS’:
> music.c:533:31: warning: statement with no effect [-Wunused-value]
>   533 |                         music == NULL;
>       |                               ^
> mixer.c: In function ‘Mix_Init’:
> mixer.c:158:60: error: implicit declaration of function ‘Mix_InitFluidSynth’ [-Werror=implicit-function-declaration]
>   158 |                 if ((initialized & MIX_INIT_FLUIDSYNTH) || Mix_InitFluidSynth() == 0) {
>       |                                                            ^~~~~~~~~~~~~~~~~~
> effect_position.c: In function ‘set_amplitudes’:
> effect_position.c:1384:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>  1384 |     if (left < 0) left = 0; if (left > 255) left = 255;
>       |     ^~
> effect_position.c:1384:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>  1384 |     if (left < 0) left = 0; if (left > 255) left = 255;
>       |                             ^~
> effect_position.c:1385:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>  1385 |     if (right < 0) right = 0; if (right > 255) right = 255;
>       |     ^~
> mixer.c: In function ‘Mix_Quit’:
> mixer.c:210:17: error: implicit declaration of function ‘Mix_QuitFluidSynth’ [-Werror=implicit-function-declaration]
>   210 |                 Mix_QuitFluidSynth();
>       |                 ^~~~~~~~~~~~~~~~~~
> effect_position.c:1385:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>  1385 |     if (right < 0) right = 0; if (right > 255) right = 255;
>       |                               ^~
> effect_position.c:1386:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>  1386 |     if (left_rear < 0) left_rear = 0; if (left_rear > 255) left_rear = 255;
>       |     ^~
> effect_position.c:1386:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>  1386 |     if (left_rear < 0) left_rear = 0; if (left_rear > 255) left_rear = 255;
>       |                                       ^~
> effect_position.c:1387:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>  1387 |     if (right_rear < 0) right_rear = 0; if (right_rear > 255) right_rear = 255;
>       |     ^~
> effect_position.c:1387:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>  1387 |     if (right_rear < 0) right_rear = 0; if (right_rear > 255) right_rear = 255;
>       |                                         ^~
> effect_position.c:1388:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>  1388 |     if (center < 0) center = 0; if (center > 255) center = 255;
>       |     ^~
> effect_position.c:1388:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>  1388 |     if (center < 0) center = 0; if (center > 255) center = 255;
>       |                                 ^~
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c effects_internal.c -o build/effects_internal.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c effect_stereoreverse.c -o build/effect_stereoreverse.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c music_cmd.c -o build/music_cmd.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c load_aiff.c -o build/load_aiff.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c load_voc.c -o build/load_voc.o >/dev/null 2>&1
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c wavestream.c -o build/wavestream.lo 
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c dynamic_mod.c -o build/dynamic_mod.lo 
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c wavestream.c  -fPIC -DPIC -o build/.libs/wavestream.o
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c music_mod.c -o build/music_mod.lo 
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c dynamic_mod.c  -fPIC -DPIC -o build/.libs/dynamic_mod.o
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c timidity/common.c -o build/common.lo 
> wavestream.c: In function ‘LoadWAVStream’:
> wavestream.c:292:16: warning: variable ‘wavelen’ set but not used [-Wunused-but-set-variable]
>   292 |         Uint32 wavelen;
>       |                ^~~~~~~
> wavestream.c: In function ‘LoadAIFFStream’:
> wavestream.c:422:16: warning: variable ‘blocksize’ set but not used [-Wunused-but-set-variable]
>   422 |         Uint32 blocksize;
>       |                ^~~~~~~~~
> dynamic_mod.c: In function ‘Mix_InitMOD’:
> dynamic_mod.c:237:36: warning: assignment to ‘BOOL (*)(CHAR *)’ {aka ‘int (*)(char *)’} from incompatible pointer type ‘int (*)(const CHAR *)’ {aka ‘int (*)(const char *)’} [-Wincompatible-pointer-types]
>   237 |                 mikmod.MikMod_Init = MikMod_Init;
>       |                                    ^
> dynamic_mod.c:241:40: warning: assignment to ‘char * (*)(int)’ from incompatible pointer type ‘const char * (*)(int)’ [-Wincompatible-pointer-types]
>   241 |                 mikmod.MikMod_strerror = MikMod_strerror;
>       |                                        ^
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c timidity/ctrlmode.c -o build/ctrlmode.lo 
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c dynamic_mod.c -o build/dynamic_mod.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c timidity/common.c  -fPIC -DPIC -o build/.libs/common.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c music.c -o build/music.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c music_mod.c  -fPIC -DPIC -o build/.libs/music_mod.o
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c timidity/ctrlmode.c  -fPIC -DPIC -o build/.libs/ctrlmode.o
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c timidity/filter.c -o build/filter.lo 
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c wavestream.c -o build/wavestream.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c timidity/common.c -o build/common.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c timidity/ctrlmode.c -o build/ctrlmode.o >/dev/null 2>&1
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c timidity/filter.c  -fPIC -DPIC -o build/.libs/filter.o
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c timidity/instrum.c -o build/instrum.lo 
> /bin/bash ./libtool --mode=compile gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC  -c timidity/mix.c -o build/mix.lo 
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c music_mod.c -o build/music_mod.o >/dev/null 2>&1
> cc1: some warnings being treated as errors
> libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DOGG_MUSIC -DFLAC_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MAD_MUSIC -c timidity/instrum.c  -fPIC -DPIC -o build/.libs/instrum.o
> make[1]: *** [Makefile:149: build/mixer.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/sdl-mixer1.2_1.2.12-17_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-sdl-maintainers mailing list