Project

General

Profile

Emulator Issues #13124 » dolphin-fail.log

Build failures - mgorny, 12/21/2022 11:32 AM

 
ninja: warning: premature end of file; recovering
[1/217] cd /tmp/dolphin/Externals/mGBA/mgba && /usr/bin/cmake -DBINARY_NAME=mgba -DCONFIG_FILE=/tmp/dolphin/Externals/mGBA/mgba/src/core/version.c.in -DOUT_FILE=/tmp/dolphin/build/Externals/mGBA/mgba/version.c -P /tmp/dolphin/Externals/mGBA/mgba/version.cmake
[2/217] /usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_OPENGL -DHAS_VULKAN -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DSPNG_STATIC -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/libspng/libspng/spng -isystem /usr/include/miniupnpc -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Common/CMakeFiles/common.dir/Crypto/SHA1.cpp.o -MF Source/Core/Common/CMakeFiles/common.dir/Crypto/SHA1.cpp.o.d -o Source/Core/Common/CMakeFiles/common.dir/Crypto/SHA1.cpp.o -c /tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp
FAILED: Source/Core/Common/CMakeFiles/common.dir/Crypto/SHA1.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_OPENGL -DHAS_VULKAN -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DSPNG_STATIC -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/libspng/libspng/spng -isystem /usr/include/miniupnpc -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Common/CMakeFiles/common.dir/Crypto/SHA1.cpp.o -MF Source/Core/Common/CMakeFiles/common.dir/Crypto/SHA1.cpp.o.d -o Source/Core/Common/CMakeFiles/common.dir/Crypto/SHA1.cpp.o -c /tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp
In file included from /tmp/dolphin/Source/Core/Common/Crypto/SHA1.h:13,
from /tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp:4:
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp: In constructor ‘Common::SHA1::ContextMbed::ContextMbed()’:
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp:41:13: error: ‘mbedtls_sha1_starts_ret’ was not declared in this scope; did you mean ‘mbedtls_sha1_starts’?
41 | ASSERT(!mbedtls_sha1_starts_ret(&ctx));
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/dolphin/Source/Core/Common/Assert.h:35:11: note: in definition of macro ‘ASSERT’
35 | if (!(_a_)) \
| ^~~
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp: In member function ‘virtual void Common::SHA1::ContextMbed::Update(const u8*, size_t)’:
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp:46:13: error: ‘mbedtls_sha1_update_ret’ was not declared in this scope; did you mean ‘mbedtls_sha1_update’?
46 | ASSERT(!mbedtls_sha1_update_ret(&ctx, msg, len));
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/dolphin/Source/Core/Common/Assert.h:35:11: note: in definition of macro ‘ASSERT’
35 | if (!(_a_)) \
| ^~~
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp: In member function ‘virtual Common::SHA1::Digest Common::SHA1::ContextMbed::Finish()’:
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp:51:13: error: ‘mbedtls_sha1_finish_ret’ was not declared in this scope; did you mean ‘mbedtls_sha1_finish’?
51 | ASSERT(!mbedtls_sha1_finish_ret(&ctx, digest.data()));
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/dolphin/Source/Core/Common/Assert.h:35:11: note: in definition of macro ‘ASSERT’
35 | if (!(_a_)) \
| ^~~
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp: At global scope:
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp:169:43: warning: ignoring attributes on template argument ‘__m128i’ [-Wignored-attributes]
169 | using WorkBlock = CyclicArray<__m128i, 4>;
| ^
/tmp/dolphin/Source/Core/Common/Crypto/SHA1.cpp:247:24: warning: ignoring attributes on template argument ‘__m128i’ [-Wignored-attributes]
247 | std::array<__m128i, 2> state{};
| ^
[3/217] /usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/HW/WiiSave.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/HW/WiiSave.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/HW/WiiSave.cpp.o -c /tmp/dolphin/Source/Core/Core/HW/WiiSave.cpp
FAILED: Source/Core/Core/CMakeFiles/core.dir/HW/WiiSave.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/HW/WiiSave.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/HW/WiiSave.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/HW/WiiSave.cpp.o -c /tmp/dolphin/Source/Core/Core/HW/WiiSave.cpp
/tmp/dolphin/Source/Core/Core/HW/WiiSave.cpp: In member function ‘virtual std::optional<WiiSave::Header> WiiSave::NandStorage::ReadHeader()’:
/tmp/dolphin/Source/Core/Core/HW/WiiSave.cpp:129:5: error: ‘mbedtls_md5_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_free’?
129 | mbedtls_md5_ret(reinterpret_cast<const u8*>(&header), sizeof(Header), md5_calc.data());
| ^~~~~~~~~~~~~~~
| mbedtls_md5_free
/tmp/dolphin/Source/Core/Core/HW/WiiSave.cpp: In member function ‘virtual std::optional<WiiSave::Header> WiiSave::DataBinStorage::ReadHeader()’:
/tmp/dolphin/Source/Core/Core/HW/WiiSave.cpp:306:5: error: ‘mbedtls_md5_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_free’?
306 | mbedtls_md5_ret(reinterpret_cast<const u8*>(&header), sizeof(Header), md5_calc.data());
| ^~~~~~~~~~~~~~~
| mbedtls_md5_free
[4/217] /usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/IOS/IOSC.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/IOS/IOSC.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/IOS/IOSC.cpp.o -c /tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp
FAILED: Source/Core/Core/CMakeFiles/core.dir/IOS/IOSC.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/IOS/IOSC.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/IOS/IOSC.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/IOS/IOSC.cpp.o -c /tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp
/tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp: In member function ‘IOS::HLE::ReturnCode IOS::HLE::IOSC::VerifyPublicKeySign(const std::array<unsigned char, 20>&, Handle, const std::vector<unsigned char>&, u32) const’:
/tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp:397:21: error: too many arguments to function ‘void mbedtls_rsa_init(mbedtls_rsa_context*)’
397 | mbedtls_rsa_init(&rsa, MBEDTLS_RSA_PKCS_V15, 0);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp:16:
/usr/include/mbedtls/rsa.h:146:6: note: declared here
146 | void mbedtls_rsa_init( mbedtls_rsa_context *ctx );
| ^~~~~~~~~~~~~~~~
/tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp:400:34: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘N’
400 | mbedtls_mpi_read_binary(&rsa.N, entry->data.data(), entry->data.size());
| ^
/tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp:401:34: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘E’
401 | mbedtls_mpi_read_binary(&rsa.E, reinterpret_cast<const u8*>(&entry->misc_data), 4);
| ^
/tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp:402:9: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘len’
402 | rsa.len = entry->data.size();
| ^~~
/tmp/dolphin/Source/Core/Core/IOS/IOSC.cpp:404:64: error: ‘MBEDTLS_RSA_PUBLIC’ was not declared in this scope; did you mean ‘MBEDTLS_RSA_C’?
404 | int ret = mbedtls_rsa_pkcs1_verify(&rsa, nullptr, nullptr, MBEDTLS_RSA_PUBLIC, MBEDTLS_MD_SHA1,
| ^~~~~~~~~~~~~~~~~~
| MBEDTLS_RSA_C
[5/217] /usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/IOS/Network/Socket.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/IOS/Network/Socket.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/IOS/Network/Socket.cpp.o -c /tmp/dolphin/Source/Core/Core/IOS/Network/Socket.cpp
FAILED: Source/Core/Core/CMakeFiles/core.dir/IOS/Network/Socket.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/IOS/Network/Socket.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/IOS/Network/Socket.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/IOS/Network/Socket.cpp.o -c /tmp/dolphin/Source/Core/Core/IOS/Network/Socket.cpp
/tmp/dolphin/Source/Core/Core/IOS/Network/Socket.cpp: In member function ‘void IOS::HLE::WiiSocket::Update(bool, bool, bool)’:
/tmp/dolphin/Source/Core/Core/IOS/Network/Socket.cpp:462:22: error: ‘mbedtls_ssl_context’ {aka ‘struct mbedtls_ssl_context’} has no member named ‘session_negotiate’; did you mean ‘private_session_negotiate’?
462 | ctx->session_negotiate != nullptr)
| ^~~~~~~~~~~~~~~~~
| private_session_negotiate
/tmp/dolphin/Source/Core/Core/IOS/Network/Socket.cpp:464:51: error: ‘mbedtls_ssl_context’ {aka ‘struct mbedtls_ssl_context’} has no member named ‘session_negotiate’; did you mean ‘private_session_negotiate’?
464 | const mbedtls_x509_crt* cert = ctx->session_negotiate->peer_cert;
| ^~~~~~~~~~~~~~~~~
| private_session_negotiate
/tmp/dolphin/Source/Core/Core/IOS/Network/Socket.cpp:468:47: error: ‘mbedtls_ssl_context’ {aka ‘struct mbedtls_ssl_context’} has no member named ‘hostname’
468 | ((ctx->hostname != nullptr) ? ctx->hostname : "") +
| ^~~~~~~~
/tmp/dolphin/Source/Core/Core/IOS/Network/Socket.cpp:468:75: error: ‘mbedtls_ssl_context’ {aka ‘struct mbedtls_ssl_context’} has no member named ‘hostname’
468 | ((ctx->hostname != nullptr) ? ctx->hostname : "") +
| ^~~~~~~~
[6/217] /usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/IOS/Network/SSL.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/IOS/Network/SSL.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/IOS/Network/SSL.cpp.o -c /tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp
FAILED: Source/Core/Core/CMakeFiles/core.dir/IOS/Network/SSL.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/IOS/Network/SSL.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/IOS/Network/SSL.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/IOS/Network/SSL.cpp.o -c /tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp
/tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp: In function ‘int IOS::HLE::{anonymous}::SSLSendWithoutSNI(void*, const unsigned char*, size_t)’:
/tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp:60:16: error: ‘mbedtls_ssl_context’ {aka ‘struct mbedtls_ssl_context’} has no member named ‘state’
60 | if (ssl->ctx.state == MBEDTLS_SSL_SERVER_HELLO)
| ^~~~~
/tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp: In function ‘std::vector<unsigned char> IOS::HLE::ReadCertFile(const std::string&, const std::array<unsigned char, 32>&, bool)’:
/tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp:168:3: error: ‘mbedtls_sha256_ret’ was not declared in this scope; did you mean ‘mbedtls_sha256_free’?
168 | mbedtls_sha256_ret(bytes.data(), bytes.size(), hash.data(), 0);
| ^~~~~~~~~~~~~~~~~~
| mbedtls_sha256_free
/tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp: In member function ‘virtual std::optional<IOS::HLE::IPCReply> IOS::HLE::NetSSLDevice::IOCtlV(const IOS::HLE::IOCtlVRequest&)’:
/tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp:265:36: error: ‘MBEDTLS_SSL_MINOR_VERSION_2’ was not declared in this scope; did you mean ‘MBEDTLS_SSL_MINOR_VERSION_3’?
265 | MBEDTLS_SSL_MINOR_VERSION_2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| MBEDTLS_SSL_MINOR_VERSION_3
/tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp:398:40: error: too few arguments to function ‘int mbedtls_pk_parse_key(mbedtls_pk_context*, const unsigned char*, size_t, const unsigned char*, size_t, int (*)(void*, unsigned char*, size_t), void*)’
398 | int pk_ret = mbedtls_pk_parse_key(&ssl->pk, client_key.data(), client_key.size(), nullptr, 0);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mbedtls/ssl_ciphersuites.h:28,
from /usr/include/mbedtls/ssl.h:32,
from /usr/include/mbedtls/net_sockets.h:44,
from /tmp/dolphin/Source/Core/Core/IOS/Network/SSL.h:11,
from /tmp/dolphin/Source/Core/Core/IOS/Network/SSL.cpp:4:
/usr/include/mbedtls/pk.h:793:5: note: declared here
793 | int mbedtls_pk_parse_key( mbedtls_pk_context *ctx,
| ^~~~~~~~~~~~~~~~~~~~
[7/217] /usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/Movie.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/Movie.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/Movie.cpp.o -c /tmp/dolphin/Source/Core/Core/Movie.cpp
FAILED: Source/Core/Core/CMakeFiles/core.dir/Movie.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -I/tmp/dolphin/Externals/FatFs -I/tmp/dolphin/Externals/Bochs_disasm -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/Core/CMakeFiles/core.dir/Movie.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/Movie.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/Movie.cpp.o -c /tmp/dolphin/Source/Core/Core/Movie.cpp
/tmp/dolphin/Source/Core/Core/Movie.cpp:12:10: fatal error: mbedtls/config.h: No such file or directory
12 | #include <mbedtls/config.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
[8/217] /usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o -MF Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o.d -o Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o -c /tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp
FAILED: Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/dolphin/Source/Core -I/tmp/dolphin/Externals/enet/include -I/tmp/dolphin/External/minizip -I/tmp/dolphin/Externals/soundtouch -I/usr/include/libusb-1.0 -I/tmp/dolphin/Externals/discord-rpc/include -I/tmp/dolphin/Externals/picojson -I/tmp/dolphin/build/Source/Core -I/tmp/dolphin/Externals/minizip/. -I/tmp/dolphin/build/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/zlib-ng/zlib-ng -I/tmp/dolphin/Externals/expr/include -I/tmp/dolphin/Externals/mGBA/mgba/include -I/tmp/dolphin/build/Externals/mGBA/mgba/include -isystem /tmp/dolphin/Externals/rangeset/include -isystem /tmp/dolphin/Externals/glslang/glslang/Public -isystem /tmp/dolphin/Source/Core/VideoCommon/SYSTEM -isystem /usr/include/hidapi -O3 -DNDEBUG -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -std=c++20 -MD -MT Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o -MF Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o.d -o Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o -c /tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp
/tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp: In member function ‘void DiscIO::VolumeVerifier::SetUpHashing()’:
/tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp:1074:5: error: ‘mbedtls_md5_starts_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_starts’?
1074 | mbedtls_md5_starts_ret(&m_md5_context);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_starts
/tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp: In lambda function:
/tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp:1217:9: error: ‘mbedtls_md5_update_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_update’?
1217 | mbedtls_md5_update_ret(&m_md5_context, m_data.data(), byte_increment);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_update
/tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp: In member function ‘void DiscIO::VolumeVerifier::Finish()’:
/tmp/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp:1311:7: error: ‘mbedtls_md5_finish_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_finish’?
1311 | mbedtls_md5_finish_ret(&m_md5_context, m_result.hashes.md5.data());
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_finish
ninja: build stopped: cannot make progress due to previous errors.
    (1-1/1)