Bug ID | 1181918 |
---|---|
Summary | GCC 11: vlc package fails |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | martin.liska@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The package build fails: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/vlc/standard/x86_64 due to: [ 161s] demux/adaptive/playlist/SegmentInformation.cpp: In member function 'bool adaptive::playlist::SegmentInformation::getPlaybackTimeDurationBySegmentNumber(uint64_t, mtime_t*, mtime_t*) const': [ 161s] demux/adaptive/playlist/SegmentInformation.cpp:397:23: error: 'numeric_limits' is not a member of 'std' [ 161s] 397 | if(number == std::numeric_limits<uint64_t>::max()) [ 161s] | ^~~~~~~~~~~~~~ [ 161s] demux/adaptive/playlist/SegmentInformation.cpp:397:46: error: expected primary-expression before '>' token [ 161s] 397 | if(number == std::numeric_limits<uint64_t>::max()) [ 161s] | ^ [ 161s] demux/adaptive/playlist/SegmentInformation.cpp:397:49: error: '::max' has not been declared; did you mean 'std::max'? [ 161s] 397 | if(number == std::numeric_limits<uint64_t>::max()) [ 161s] | ^~~ [ 161s] | std::max [ 161s] In file included from /usr/include/c++/11/algorithm:62, [ 161s] from demux/adaptive/playlist/SegmentInformation.cpp:35: [ 161s] /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here [ 161s] 3467 | max(initializer_list<_Tp> __l, _Compare __comp) [ 161s] | ^~~ [ 161s] make[4]: *** [Makefile:24474: demux/adaptive/playlist/libadaptive_plugin_la-SegmentInformation.lo] Error 1 [ 161s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/vlc-3.0.12/modules' [ 161s] make[4]: *** Waiting for unfinished jobs.... [ 161s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/vlc-3.0.12/modules' [ 161s] ../doltlibtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING=\"$(p="demux/adaptive/encryption/libadaptive_plugin_la-CommonEncryption.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p=$(echo "$p"|sed 's/-/_/g'); p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -I../include -I../include -I./demux/adaptive -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -fvisibility=hidden -O3 -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range -funroll-loops -fomit-frame-pointer -c -o demux/adaptive/encryption/libadaptive_plugin_la-CommonEncryption.lo `test -f 'demux/adaptive/encryption/CommonEncryption.cpp' || echo './'`demux/adaptive/encryption/CommonEncryption.cpp