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