Summary: | games-emulation/dolphin-5.0_p20210506 - /.../MD5.cpp: error: mbedtls_md5_starts_ret was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | blueness, games, ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.dolphin-emu.org/issues/13124 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 805011 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 games-emulation:dolphin-5.0_p20210506:20210728-212326.log logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2021-07-29 08:05:49 UTC
Created attachment 727635 [details]
emerge-info.txt
Created attachment 727638 [details]
emerge-history.txt
Created attachment 727641 [details]
environment
Created attachment 727644 [details]
etc.portage.tar.bz2
Created attachment 727647 [details]
games-emulation:dolphin-5.0_p20210506:20210728-212326.log
Created attachment 727650 [details]
logs.tar.bz2
Created attachment 727653 [details]
temp.tar.bz2
It's more likely a "2021-07-28T23:22:21 >>> net-libs/mbedtls-3.0.0". Does mbedtls have a tracker to handle porting to mbedtls-3? I'm also very confused by API change: mbedtls-2.26.0: /** * \brief MD5 context setup * * \param ctx context to be initialized * * \return 0 if successful */ int mbedtls_md5_starts_ret( mbedtls_md5_context *ctx ); /** * \brief MD5 context setup * * \deprecated Superseded by mbedtls_md5_starts_ret() in 2.7.0 * * \param ctx context to be initialized */ MBEDTLS_DEPRECATED void mbedtls_md5_starts( mbedtls_md5_context *ctx ); mbedtls-3: /** * \brief MD5 context setup * * \param ctx context to be initialized * * \return 0 if successful */ int mbedtls_md5_starts( mbedtls_md5_context *ctx ); (from new mbedtls/compat-2.x.h) #define mbedtls_md5_starts_ret mbedtls_md5_starts It looks like instead of moving away deprecated symbol the non-deprecated one was completely removed. Any idea if this is fixed upstream or reported there at least yet? May possibly be given the md5 code was first moved, and then replaced by sha1 -- if it still fails on latest it'll be on something else. Albeit their bundled mbedtls is still 2.28.0. Unsurprisingly, "something else" is: /tmp/portage/games-emulation/dolphin-5.0_p20220520-r1/work/dolphin-0f2540a0d1133950467845f20b1e003181147781/Source/Core/Core/DolphinAnalytics.cpp: In member function ‘std::string DolphinAnalytics::MakeUniqueId(std::string_view) const’: /tmp/portage/games-emulation/dolphin-5.0_p20220520-r1/work/dolphin-0f2540a0d1133950467845f20b1e003181147781/Source/Core/Core/DolphinAnalytics.cpp:105:3: error: ‘mbedtls_sha1_ret’ was not declared in this scope; did you mean ‘mbedtls_sha1_free’? 105 | mbedtls_sha1_ret(reinterpret_cast<const u8*>(input.c_str()), input.size(), digest.data()); | ^~~~~~~~~~~~~~~~ | mbedtls_sha1_free Actually, there are more and upstream's still at 2.x. |