#1144026 retroarch: FTBFS with ffmpeg 9.0

Package:
src:retroarch
Source:
src:retroarch
Submitter:
Sebastian Ramacher
Date:
2026-09-20 17:11:05 UTC
Severity:
normal
Tags:
#1144026#5
Date:
2026-08-09 22:12:48 UTC
From:
To:
Source: retroarch
Version: 1.22.2+dfsg-2
Severity: important
Tags: ftbfs sid forky
X-Debbugs-Cc: sramacher@debian.org
Usertags: ffmpeg-9.0

Dear maintainer,

retroarch FTBFS with ffmpeg 9.0 (available in experimental):

/usr/bin/gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/retroarch-1.22.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu99 -D_GNU_SOURCE -I. -Wall -Wsign-compare -Wno-unused-result -Wno-unused-variable -finput-charset=UTF-8 -DQT_CORE_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/include/aarch64-linux-gnu/qt5 -DQT_GUI_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5 -DQT_CORE_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5 -DQT_GUI_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtGui -DQT_CORE_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtCore -DQT_CONCURRENT_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtConcurrent -I/usr/include/aarch64-linux-gnu/qt5 -DQT_CORE_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtCore -DQT_NETWORK_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5 -DQT_CORE_LIB -I/usr/include/aarch64-linux-gnu/qt5/QtCore -fPIC -D_REENTRANT -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -D_REENTRANT -fno-strict-aliasing -fno-strict-overflow -I/usr/include/freetype2 -I/usr/include/libpng16   -I/usr/include/libdecor-0     -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include  -I/usr/include/libdrm -I/usr/include/SDL2 -D_GNU_SOURCE=1 -D_REENTRANT  -Wno-deprecated-declarations -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -Wno-deprecated-declarations -I./deps/7zip -I./libretro-common/include -I./deps -I./deps/xdelta3 -I./libretro-common  -Igfx/include -I/usr/include/spirv_cross -I./deps/7zip -I./libretro-common/formats/libchdr -Iffmpeg -Ideps/rcheevos/include -Ideps/discord-rpc/include -Iffmpeg -I./deps/switchres -Ideps -Ideps/stb -DHAVE_CONFIG_H -DRARCH_INTERNAL -D_FILE_OFFSET_BITS=64 -DGLOBAL_CONFIG_DIR='"/etc"' -DASSETS_DIR='"/usr/share/retroarch"' -DFILTERS_DIR='"/usr/share/retroarch"' -DCORE_INFO_DIR='"/usr/share/retroarch"' -DHAVE_LIBRETRODB -DHAVE_DYLIB -DHAVE_FILE_LOGGER -DHAVE_SHADERPIPELINE -DHAVE_NETPLAYDISCOVERY -DHAVE_GIT_VERSION -DGIT_VERSION='b2ceb50' -DHAVE_DR_MP3 -DHAVE_PATCH -DHAVE_XDELTA -DSECONDARY_DJW -DSECONDARY_LZMA -DSECONDARY_FGK -DHAVE_MICROPHONE -DHAVE_REWIND -DHAVE_CHEATS -DHAVE_CORE_INFO_CACHE -DHAVE_SCREENSHOTS -DHAVE_VIDEO_FILTER -DHAVE_DSP_FILTER -DHAVE_NEAREST_RESAMPLER -DHAVE_CONFIGFILE -DHAVE_AUDIOMIXER -DHAVE_BSV_MOVIE -DHAVE_STATESTREAM -DHAVE_RUNAHEAD -DHAVE_CC_RESAMPLER -DHAVE_LANGEXTRA -DHAVE_IMAGEVIEWER -DHAVE_MAIN -DHAVE_COMMAND -DHAVE_STDIN_CMD -DHAVE_TINYALSA -DHAVE_RWAV -DHAVE_MENU -DHAVE_GFX_WIDGETS -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_XMB -DHAVE_OZONE -DHAVE_OVERLAY -DHAVE_STB_FONT -DHAVE_THREADS -DHAVE_THREAD_STORAGE -DHAVE_LIBDECOR_H -DHAVE_X11 -DHAVE_XI2 -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_VULKAN -DHAVE_GLSL -DHAVE_SLANG -DHAVE_GLSLANG -DHAVE_SPIRV_CROSS -DHAVE_7ZIP -D_7ZIP_ST -DHAVE_ZSTD -DZSTD_DISABLE_ASM -DHAVE_IBXM -DHAVE_FLAC -DHAVE_DR_FLAC -DHAVE_ZLIB -DHAVE_CHD -DWANT_SUBCODE -DWANT_RAW_DATA_SECTOR -DHAVE_CDROM -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_VIDEOPROCESSOR -DHAVE_V4L2 -DHAVE_FFMPEG -DHAVE_AVCODEC -DHAVE_AVDEVICE -DHAVE_AVFORMAT -DHAVE_AVUTIL -DHAVE_SWSCALE -DHAVE_SWRESAMPLE -DHAVE_ACCESSIBILITY -DHAVE_NETWORKING -DHAVE_CLOUDSYNC -DHAVE_IFINFO -DHAVE_NETWORK_CMD -DHAVE_CHEEVOS -DRC_CLIENT_SUPPORTS_HASH -DHAVE_CHEEVOS_RVZ -DRC_DISABLE_LUA -DHAVE_DISCORD -DHAVE_TRANSLATE -DHAVE_FFMPEG -DSR_WITH_XRANDR -DHAVE_COMPRESSION -DHAVE_TEST_DRIVERS -DHAVE_PRESENCE -MMD -c -o obj-unix/release/record/drivers/record_ffmpeg.o record/drivers/record_ffmpeg.c
record/drivers/record_ffmpeg.c: In function ‘ffmpeg_audio_resolve_format’:
record/drivers/record_ffmpeg.c:229:64: error: ‘AVCodec’ has no member named ‘sample_fmts’
  229 |    if (ffmpeg_codec_has_sample_format(AV_SAMPLE_FMT_FLTP, codec->sample_fmts))
      |                                                                ^~
record/drivers/record_ffmpeg.c:236:68: error: ‘AVCodec’ has no member named ‘sample_fmts’
  236 |    else if (ffmpeg_codec_has_sample_format(AV_SAMPLE_FMT_FLT, codec->sample_fmts))
      |                                                                    ^~
record/drivers/record_ffmpeg.c:243:69: error: ‘AVCodec’ has no member named ‘sample_fmts’
  243 |    else if (ffmpeg_codec_has_sample_format(AV_SAMPLE_FMT_S16P, codec->sample_fmts))
      |                                                                     ^~
record/drivers/record_ffmpeg.c:250:68: error: ‘AVCodec’ has no member named ‘sample_fmts’
  250 |    else if (ffmpeg_codec_has_sample_format(AV_SAMPLE_FMT_S16, codec->sample_fmts))
      |                                                                    ^~
record/drivers/record_ffmpeg.c: In function ‘ffmpeg_audio_resolve_sample_rate’:
record/drivers/record_ffmpeg.c:267:13: error: ‘AVCodec’ has no member named ‘supported_samplerates’
  267 |    if (codec->supported_samplerates && !params->sample_rate)
      |             ^~
record/drivers/record_ffmpeg.c:273:29: error: ‘AVCodec’ has no member named ‘supported_samplerates’
  273 |       int best_rate  = codec->supported_samplerates[0];
      |                             ^~
record/drivers/record_ffmpeg.c:276:24: error: ‘AVCodec’ has no member named ‘supported_samplerates’
  276 |       for (i = 1; codec->supported_samplerates[i]; i++)
      |                        ^~
record/drivers/record_ffmpeg.c:279:34: error: ‘AVCodec’ has no member named ‘supported_samplerates’
  279 |          int diff         = codec->supported_samplerates[i] - input_rate;
      |                                  ^~
record/drivers/record_ffmpeg.c:288:30: error: ‘AVCodec’ has no member named ‘supported_samplerates’
  288 |             best_rate = codec->supported_samplerates[i];
      |                              ^~
record/drivers/record_ffmpeg.c:269:16: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=]
  269 |       unsigned i;
      |                ^
make[2]: *** [Makefile:236: obj-unix/release/record/drivers/record_ffmpeg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/retroarch-1.22.2+dfsg'
dh_auto_build: error: make -j2 V=1 GIT_VERSION='b2ceb50' returned exit code 2

Please see the attached log for more details.

Cheers

#1144026#18
Date:
2026-09-20 17:08:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
retroarch, 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 1144026@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonathan McDowell <noodles@earth.li> (supplier of updated retroarch 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: Sun, 20 Sep 2026 17:55:11 +0100
Source: retroarch
Architecture: source
Version: 1.22.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Jonathan McDowell <noodles@earth.li>
Closes: 1144026
Changes:
 retroarch (1.22.2+dfsg-3) unstable; urgency=medium
 .
   * Fix FTBFS with ffmpeg 9 (Closes: #1144026)
Checksums-Sha1:
 e6364be2156ea984427f51cc0e195103dd3d3274 2721 retroarch_1.22.2+dfsg-3.dsc
 cab8058585586ed055f3a6c0d9ede4e27c89ede0 28632 retroarch_1.22.2+dfsg-3.debian.tar.xz
 c3fbc7ae48a3199510fe906bafeb49b7f9ae0968 18446 retroarch_1.22.2+dfsg-3_amd64.buildinfo
Checksums-Sha256:
 42f174180bbe41f942b5e7a0989ca13ee2a9f9b0cd3336708a6fefe6e160dcaf 2721 retroarch_1.22.2+dfsg-3.dsc
 94bf148ee5ebe5b5a4361f38837e1a631150d97f1da52e21541c2416a51db00a 28632 retroarch_1.22.2+dfsg-3.debian.tar.xz
 1d3fef10eddfe5053259d0f3dd8b54deaf10d9d4360ee9aedb094e64225baedc 18446 retroarch_1.22.2+dfsg-3_amd64.buildinfo
Files:
 5c51993082348569680259623e159360 2721 otherosfs optional retroarch_1.22.2+dfsg-3.dsc
 4332e2249c13a37d203a6be28999a2da 28632 otherosfs optional retroarch_1.22.2+dfsg-3.debian.tar.xz
 70e62f462e3ab9393b3aa925589c18b2 18446 otherosfs optional retroarch_1.22.2+dfsg-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSAYP1ALvrBQa1odmMPwJuF4mk8PAUCarARJAAKCRAPwJuF4mk8
PFdaAQD7OUNyLy4gx2smaMgIhgET0m7V2hdwe0Uli9eYMB9DuQEA49ksAhELkF0X
7cbklxopKelQ4v5pKMo8GI+4sV58awk=
=LWNV
-----END PGP SIGNATURE-----