#1144329 pcsx2: FTBFS with ffmpeg 9.0

Package:
src:pcsx2
Source:
src:pcsx2
Submitter:
Sebastian Ramacher
Date:
2026-08-14 08:37:02 UTC
Severity:
normal
Tags:
#1144329#5
Date:
2026-08-13 19:52:03 UTC
From:
To:
Source: pcsx2
Version: 2.6.3+dfsg-1
Severity: important
Tags: ftbfs sid forky
X-Debbugs-Cc: sramacher@debian.org
Usertags: ffmpeg-9.0

Dear maintainer,

pcsx2 FTBFS with ffmpeg 9.0 (available in experimental):

cd /build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/obj-x86_64-linux-gnu/pcsx2 && /usr/lib/ccache/x86_64-linux-gnu-g++ -DC4_NO_DEBUG_BREAK -DCPUINFO_SUPPORTED_PLATFORM=1 -DENABLE_OPENGL -DENABLE_VULKAN -DFMT_SHARED -DHAVE_DECL_BASENAME=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DMULTI_ISA_SHARED_COMPILATION -DPCSX2_APP_DATADIR=\"../share/PCSX2\" -DSHADERC_LIBNAME=\"shaderc\" -DSI_NO_CONVERSION -DUSE_LINKED_FFMPEG -DWAYLAND_API -DX11_API -D_M_X86=1 -D__POSIX__ -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2 -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/obj-x86_64-linux-gnu/pcsx2 -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/obj-x86_64-linux-gnu/common/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/3rdparty/glad/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/common/../3rdparty/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/common/.. -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/3rdparty/rapidyaml/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/3rdparty/imgui/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/3rdparty/freesurround/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/3rdparty/lzma/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/3rdparty/demangler/include -I/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/3rdparty/ccc/src -isystem /usr/include/freetype2 -isystem /usr/include/plutosvg -isystem /usr/include/plutovg -isystem /usr/include/libchdr -isystem /usr/include/rcheevos -isystem /usr/include/soundtouch -g -O2 -ffile-prefix-map=/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -std=gnu++20 -msse -msse2 -msse4.1 -mfxsr -pipe -fvisibility=hidden -pthread -fno-exceptions -Wall -Wextra -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=fast -fno-strict-aliasing -Wstrict-aliasing -Wno-parentheses -Wno-missing-braces -Wno-unknown-pragmas -fexceptions -Winvalid-pch -include /build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/obj-x86_64-linux-gnu/pcsx2/CMakeFiles/PCSX2.dir/cmake_pch.hxx -MD -MT pcsx2/CMakeFiles/PCSX2.dir/GS/GSDrawingContext.cpp.o -MF CMakeFiles/PCSX2.dir/GS/GSDrawingContext.cpp.o.d -o CMakeFiles/PCSX2.dir/GS/GSDrawingContext.cpp.o -c /build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSDrawingContext.cpp
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp: In function ‘bool GSCapture::BeginCapture(float, GSVector2i, float, std::string)’:
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:457:29: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
  457 |                 if (vcodec->pix_fmts)
      |                             ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:459:46: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
  459 |                         sw_pix_fmt = vcodec->pix_fmts[0];
      |                                              ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:460:49: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
  460 |                         for (u32 i = 0; vcodec->pix_fmts[i] != AV_PIX_FMT_NONE; i++)
      |                                                 ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:462:45: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
  462 |                                 if (vcodec->pix_fmts[i] == preferred_sw_pix_fmt)
      |                                             ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:464:62: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
  464 |                                         sw_pix_fmt = vcodec->pix_fmts[i];
      |                                                              ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:689:56: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
  689 |                 for (const AVSampleFormat* p = acodec->sample_fmts; *p != AV_SAMPLE_FMT_NONE; p++)
      |                                                        ^~~~~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:700:69: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
  700 |                         s_audio_codec_context->sample_fmt = acodec->sample_fmts[0];
      |                                                                     ^~~~~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp: In function ‘GSCapture::FormatList GSCapture::GetVideoFormatList(const char*)’:
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:1536:22: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
 1536 |         if (v_codec->pix_fmts == nullptr)
      |                      ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:1542:34: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
 1542 |         for (int i = 0; v_codec->pix_fmts[i] != AVPixelFormat::AV_PIX_FMT_NONE; i++)
      |                                  ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:1544:43: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
 1544 |                 ret.emplace_back(v_codec->pix_fmts[i], wrap_av_get_pix_fmt_name(v_codec->pix_fmts[i]));
      |                                           ^~~~~~~~
/build/pcsx2-Nz2KWJ/pcsx2-2.6.3+dfsg/pcsx2/GS/GSCapture.cpp:1544:90: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
 1544 |                 ret.emplace_back(v_codec->pix_fmts[i], wrap_av_get_pix_fmt_name(v_codec->pix_fmts[i]));
      |                                                                                          ^~~~~~~~

See the attached build log for more details.

Cheers

#1144329#10
Date:
2026-08-14 08:34:08 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pcsx2, 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 1144329@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Noel <twolife@debian.org> (supplier of updated pcsx2 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: Fri, 14 Aug 2026 09:37:06 +0200
Source: pcsx2
Architecture: source
Version: 2.6.3+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sébastien Noel <twolife@debian.org>
Closes: 1144329
Changes:
 pcsx2 (2.6.3+dfsg-2) unstable; urgency=medium
 .
   * Fix build against ffmpeg 9 (Closes: #1144329)
Checksums-Sha1:
 4e556841d4e094226b4d5a543f005e03dc097d19 2369 pcsx2_2.6.3+dfsg-2.dsc
 35ea0bdf439baed2b67cb55b28b196bd21f782de 23124 pcsx2_2.6.3+dfsg-2.debian.tar.xz
 38c4d7f546beaec68e8ee2d743cfc2fb859e58a3 22512 pcsx2_2.6.3+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 46e42346b35b7a9ffe873b0d35da52208f7da7a0d87c1e997a50c7a555cd9783 2369 pcsx2_2.6.3+dfsg-2.dsc
 2a0725674022ee29c2d67f717bb17c2a15e4fab860630d3d1c8dd8f8c0d68712 23124 pcsx2_2.6.3+dfsg-2.debian.tar.xz
 ae9770ae4283bec8b648563735a11c67fa349493418cbdd230c455c0495a831a 22512 pcsx2_2.6.3+dfsg-2_amd64.buildinfo
Files:
 e501cf926f462b04ac17991130707037 2369 games optional pcsx2_2.6.3+dfsg-2.dsc
 cb632e3cbcc287bb68434760763c5704 23124 games optional pcsx2_2.6.3+dfsg-2.debian.tar.xz
 a9b6461cf0f9172f5a3292993532b1d0 22512 games optional pcsx2_2.6.3+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFHBAEBCgAxFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmp+z+MTHHR3b2xpZmVA
ZGViaWFuLm9yZwAKCRCsoAi4yTSn1GBzB/9Sl9MYX9w5dq19DXuWsdLEpd5l7MCw
gX4xC3E6LiHGofz2hpF4z9zcGcEEWLeDtyZdpApWMMFpKF+KX/Um0nJ+4YLIxJyL
WvGWW7hbmpf/6dlTbR2WowfNmKtYGfw552nMpxAjJX09vX8SJd3BbRkIkRvWu1OG
EeadKShFDG2AVEeQkVljlplt7QreCt+DYoyeYzJ0KQCF6Hk/0sfPZaIj5DNSbR+F
GonS85B5ztIUszegJDlIYnuQf+WJ0iSUigxa6UWyt8Z+PvJdu16JSmN6NIwgx4Ng
3fGBxycJn3vllrx/tD6tly98Cvl2Vg780KwzmQMsaF3zSUB2fxpUO0+D
=bz0N
-----END PGP SIGNATURE-----