Found when trying to upgrade my loong devbox. Any recent gcc-13 should be enough to reproduce and architecture is not relevant here. In file included from demux/dash/mpd/TemplatedUri.cpp:25: demux/dash/mpd/TemplatedUri.hpp:56:25: error: ‘uint64_t’ does not name a type 56 | uint64_t value; | ^~~~~~~~ demux/dash/mpd/TemplatedUri.hpp:25:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 24 | #include <string> +++ |+#include <cstdint> 25 | demux/dash/mpd/TemplatedUri.cpp:129:32: error: ‘uint64_t’ was not declared in this scope 129 | static std::string FormatValue(uint64_t value, int width) | ^~~~~~~~ demux/dash/mpd/TemplatedUri.cpp:29:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 28 | #include <sstream> +++ |+#include <cstdint> 29 | demux/dash/mpd/TemplatedUri.cpp:129:48: error: expected primary-expression before ‘int’ 129 | static std::string FormatValue(uint64_t value, int width) | ^~~ demux/dash/mpd/TemplatedUri.cpp:130:1: error: expected ‘,’ or ‘;’ before ‘{’ token 130 | { | ^ demux/dash/mpd/TemplatedUri.cpp: In static member function ‘static std::__cxx11::basic_string<char>::size_type dash::mpd::TemplatedUri::ReplaceDASHToken(std::string&, std::__cxx11::basic_string<char>::size_type, const Token&, const TokenReplacement&)’: demux/dash/mpd/TemplatedUri.cpp:153:51: error: ‘const class dash::mpd::TemplatedUri::TokenReplacement’ has no member named ‘value’ 153 | std::string newstr = FormatValue(repl.value, token.width); | ^~~~~ make[4]: *** [Makefile:27117: demux/dash/mpd/libvlc_adaptive_la-TemplatedUri.lo] Error 1 [ebuild U ] media-video/vlc-3.0.17.4-r1:0/5-9::gentoo [3.0.17.4:0/5-9::gentoo] USE="X alsa dbus dvbpsi encode ffmpeg fontconfig gcrypt gstreamer gui jack jpeg libsamplerate ncurses ogg opus png pulseaudio ssl svg theora truetype udev upnp v4l vaapi* wayland xml zeroconf -a52 -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -dts -dvd -faad -fdk -flac -fluidsynth -gme -gnome-keyring -ieee1394 -kate -libass -libcaca -libnotify -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -mad -matroska -modplug -mp3 -mpeg -mtp -musepack -nfs -omxil -optimisememory -projectm -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test* -tremor -twolame (-vdpau) -vnc -vpx -x264 -x265 -zvbi" LUA_SINGLE_TARGET="lua5-1" 0 KiB
This commit should fix this: https://code.videolan.org/robUx4/vlc/-/commit/6fca76ebd76bf8fce9b111e31bda64015cdc770f The change is included in VLC 3.0.18
(In reply to Guillermo D. H. from comment #1) > This commit should fix this: > > https://code.videolan.org/robUx4/vlc/-/commit/ > 6fca76ebd76bf8fce9b111e31bda64015cdc770f > > The change is included in VLC 3.0.18 While tagged, it's not actually released yet (no tarball). I'll backport the patch. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541281ddd0bef7dcefe265cec675ea8710e5fb68 commit 541281ddd0bef7dcefe265cec675ea8710e5fb68 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-28 15:56:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-28 15:56:04 +0000 media-video/vlc: fix build w/ gcc 13 Closes: https://bugs.gentoo.org/875785 Signed-off-by: Sam James <sam@gentoo.org> media-video/vlc/files/vlc-3.0.17.4-gcc13.patch | 20 ++++++++++++++++++++ media-video/vlc/vlc-3.0.17.4-r2.ebuild | 1 + 2 files changed, 21 insertions(+)