#1144020 dosbox-x: FTBFS with ffmpeg 9.0

Package:
src:dosbox-x
Source:
src:dosbox-x
Submitter:
Sebastian Ramacher
Date:
2026-08-15 10:35:02 UTC
Severity:
normal
Tags:
#1144020#5
Date:
2026-08-09 20:15:38 UTC
From:
To:
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

#1144020#14
Date:
2026-08-15 10:33:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dosbox-x, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144020@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <skitt@debian.org> (supplier of updated dosbox-x package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 15 Aug 2026 12:10:08 +0200
Source: dosbox-x
Architecture: source
Version: 2026.08.02+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Stephen Kitt <skitt@debian.org>
Changed-By: Stephen Kitt <skitt@debian.org>
Closes: 1144020
Changes:
 dosbox-x (2026.08.02+dfsg-2) unstable; urgency=medium
 .
   * Apply upstream candidate patch to build with ffmpeg 9.0. Closes:
     #1144020.
Checksums-Sha1:
 9b26c1b316454aba90f252a807edadedd1bae89a 2359 dosbox-x_2026.08.02+dfsg-2.dsc
 527a99ea8391c6992ef1ecb6061fb60b26f7c8d0 20864 dosbox-x_2026.08.02+dfsg-2.debian.tar.xz
 9e5071daa331f1f559eca00fa1d2b715eba84af1 17217 dosbox-x_2026.08.02+dfsg-2_source.buildinfo
Checksums-Sha256:
 114d0f5299c6b8a96c3c3a12f7105dae3be0682d24736b1c3c9d72bb29bbf711 2359 dosbox-x_2026.08.02+dfsg-2.dsc
 9a8da085406b7613c820779605b41cbfbe07d5c724ce2e37d0c0b1cc27bc9a08 20864 dosbox-x_2026.08.02+dfsg-2.debian.tar.xz
 1ae6a53a8a8aef60bffcf4d419ad9013a965037aac074815579cd9cded548234 17217 dosbox-x_2026.08.02+dfsg-2_source.buildinfo
Files:
 32718ad1bc56ade5d05c0fbffcdf32b0 2359 otherosfs optional dosbox-x_2026.08.02+dfsg-2.dsc
 a822ae1c745219b79b99c60c257a6dab 20864 otherosfs optional dosbox-x_2026.08.02+dfsg-2.debian.tar.xz
 6871e2bdb7913b5ab9172124bce72876 17217 otherosfs optional dosbox-x_2026.08.02+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmqAO0QACgkQgNMC9Yht
g5wgVg//d7q4wH8JO+nAg1JDlp5wxpcJZ+zdtwVq1IJnxZOfekk6xfI0R8YlwrvZ
KNvlXbTNy4+oPDp4gjbBp2G/FEzlaFb9RMfT4mYNMIaXp0/oltMGftGzJqKTpECj
W9Ta5YGT8VQQD8dWjfwkegsIxCk4wTcRwxO8juf0eQ25UAheJLes06CsIp2bSd8R
FRfItQ5vztMHojw46BffeGea6qDOPruDhPldraqVjLYHtFqcaG5633B/gcryr4QQ
U9tc2qibL6F4DOW3NPhYOATbg4g7kUCxbqMIaZRiuywO3aXmlirZSqJX0uhVz+GT
AmHRA1BkWPvj7aBnFb5WJFgIiSb9J7loHnQEtrKRCLFeknO1Iq9MULwxYHvGv+8F
B3and80ZORLpbXJr5CQpQpO0Im8dzLkROzu/4NEj6KUJzUZN2TTkin0gAqq0zjRr
lyv2tZAdJMD06IYpMoweQimpmjEP45hCw7qAb5Mr7Xq79j3Sb1mKooXUorBp86zX
3Srfq741Mni81t8elTRBwrqHdeJnuDOOx+d9bmv8ChJQbGlOz+StyKVHKG2Iqz32
Y5zEbqvnfKGtSsU/2zo6TAVzPYwFML7UCPMt4/xs/Wdadu5VVO3lUn02miFS1y1d
JwKN16wPTfghQCsrXADxuwRuj3Ap6hPHAL0F8U/HohXrebgogCk=
=uuYy
-----END PGP SIGNATURE-----