Source: dosbox-x
Version: 2026.07.02+dfsg-1
Severity: important
Tags: ftbfs sid forky
X-Debbugs-Cc: sramacher@debian.org
Usertags: ffmpeg-9.0
Dear maintainer,
dosbox-x FTBFS with ffmpeg 9.0:
aarch64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -I../../../src/aviwriter -I../../../src/hardware/snd_pc98/sound -I../../../src/hardware/snd_pc98/common -I../../../src/hardware/snd_pc98/generic -I../../../src/hardware/snd_pc98/sound/getsnd -I../../../src/hardware/snd_pc98/x11 -I../../../src/hardware/snd_pc98/cbus -I../../../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/SDL2 -D_GNU_SOURCE=1 -D_REENTRANT -I/build/reproducible-path/dosbox-x-2026.07.02+dfsg -I/build/reproducible-path/dosbox-x-2026.07.02+dfsg/vs/sdlnet/linux-host/include -I/build/reproducible-path/dosbox-x-2026.07.02+dfsg/vs/sdlnet/linux-host/include/SDL -I/usr/include/freetype2 -I/usr/include/libpng16 -DLIBSLIRP_STATIC -I/usr/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/aarch64-linux-gnu -g -ffile-prefix-map=/build/reproducible-path/dosbox-x-2026.07.02+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++17 -O2 -Wall -Wextra -Wunused -pedantic -Wno-error=format-security -Wno-error=incompatible-pointer-types -Wlogical-op -Wsign-promo -Wconversion-null -Wsuggest-override -Wnon-virtual-dtor -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-strict-aliasing -Wno-missing-field-initializers -Wno-format-zero-length -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -c -o imfc.o ../../../src/hardware/imfc.cpp
../../../src/hardware/hardware.cpp: In function ‘void CAPTURE_AddImage(Bitu, Bitu, Bitu, Bitu, Bitu, float, uint8_t*, uint8_t*)’:
../../../src/hardware/hardware.cpp:1293:47: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
1293 | if (ffmpeg_aud_codec->sample_fmts != NULL)
| ^~~~~~~~~~~
../../../src/hardware/hardware.cpp:1294:81: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
1294 | ffmpeg_aud_ctx->sample_fmt = (ffmpeg_aud_codec->sample_fmts)[0];
| ^~~~~~~~~~~
make[6]: *** [Makefile:844: hardware.o] Error 1
make[6]: *** Waiting for unfinished jobs....
../../../src/hardware/imfc.cpp: In instantiation of ‘void IMF_LOG(std::string, const Args& ...) [with Args = {}; std::string = std::__cxx11::basic_string<char>]’:
../../../src/hardware/imfc.cpp:2040:10: required from here
2040 | IMF_LOG("readPortTCWR -> 0x00");
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../../../src/hardware/imfc.cpp:99:32: warning: format not a string literal and no format arguments [-Wformat-security]
99 | LOG(LOG_MISC,LOG_DEBUG)(format.c_str(), args...);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
make[6]: Leaving directory '/build/reproducible-path/dosbox-x-2026.07.02+dfsg/buildtree-release/src/hardware'
make[5]: *** [Makefile:861: all-recursive] Error 1
make[5]: Leaving directory '/build/reproducible-path/dosbox-x-2026.07.02+dfsg/buildtree-release/src/hardware'
make[4]: *** [Makefile:557: all-recursive] Error 1
make[4]: Leaving directory '/build/reproducible-path/dosbox-x-2026.07.02+dfsg/buildtree-release/src'
make[3]: *** [Makefile:417: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/dosbox-x-2026.07.02+dfsg/buildtree-release'
make[2]: *** [Makefile:350: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/dosbox-x-2026.07.02+dfsg/buildtree-release'
dh_auto_build: error: cd buildtree-release && make -j2 returned exit code 2
See the attached build log for more details. ffmpeg 9.0 is available in
experimental.
Cheers