https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-plugins/kodi-inputstream-adaptive-19.0.0 fails to compile (GCC-13-SYSTEM). Discovered on: amd64 (internal ref: gcc13_tinderbox) NOTE: (GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Created attachment 856240 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: CMakeFiles/inputstream.adaptive.dir/src/aes_decrypter.cpp.o FAILED: CMakeFiles/inputstream.adaptive.dir/src/helpers.cpp.o /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/helpers.cpp:413:8: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’?
ping, this should be a trivial missing include, and gcc 13 is about to be released
ping, this should be a trivial missing include. please take a look & send the patch upstream as well for other distros
FYI: There is a proposed solution in the forums => https://forums.gentoo.org/viewtopic-t-1164046.html
There are two errors: In file included from /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/aes_decrypter.h:21, from /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/aes_decrypter.cpp:19: /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/Iaes_decrypter.h:18:31: error: ‘uint8_t’ has not been declared 18 | virtual void ivFromSequence(uint8_t* buffer, uint64_t sid) = 0; | ^~~~~~~ /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/Iaes_decrypter.h:18:48: error: ‘uint64_t’ has not been declared 18 | virtual void ivFromSequence(uint8_t* buffer, uint64_t sid) = 0; | ^~~~~~~~ /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/helpers.cpp: In function ‘std::string avc_to_annexb(const std::string&)’: /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/helpers.cpp:413:8: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 413 | std::uint16_t sz(*avc_data); ++avc_data; --avc_data_size; | ^~~~~~~~ | wint_t /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/helpers.cpp:414:3: error: ‘sz’ was not declared in this scope 414 | sz = (sz << 8) | *avc_data; ++avc_data; --avc_data_size; | ^~ /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/helpers.cpp:425:10: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 425 | std::uint16_t ppssz(*avc_data); ++avc_data; --avc_data_size; | ^~~~~~~~ | wint_t /var/tmp/portage/media-plugins/kodi-inputstream-adaptive-19.0.0/work/inputstream.adaptive-19.0.0-Matrix/src/helpers.cpp:426:5: error: ‘ppssz’ was not declared in this scope 426 | ppssz = (ppssz << 8) | *avc_data; ++avc_data; --avc_data_size; | ^~~~~
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c50d3b35196d6364aa52027fdfaded509f388d5 commit 8c50d3b35196d6364aa52027fdfaded509f388d5 Author: Karlson2k (Evgeny Grin) <k2k@narod.ru> AuthorDate: 2023-10-18 07:21:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-27 03:18:51 +0000 media-plugins/kodi-inputstream-adaptive: fixed build with GCC 13 Closes: https://bugs.gentoo.org/899754 Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/33385 Signed-off-by: Sam James <sam@gentoo.org> ...di-inputstream-adaptive-19.0.0-gcc-13-fix.patch | 27 ++++++++++++++++++++++ .../kodi-inputstream-adaptive-19.0.0.ebuild | 4 ++++ 2 files changed, 31 insertions(+)