[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984394: vlc: ftbfs with GCC-11



Control: tags -1 fixed-upstream upstream

On 2021-03-03 16:18:29, Matthias Klose wrote:
> Package: src:vlc
> Version: 3.0.12-2
> Severity: normal
> Tags: sid bookworm
> User: debian-gcc@lists.debian.org
> Usertags: ftbfs-gcc-11
> 
> [This bug is not targeted to the upcoming bullseye release]
> 
> Please keep this issue open in the bug tracker for the package it
> was filed for.  If a fix in another package is required, please
> file a bug for the other package (or clone), and add a block in this
> package. Please keep the issue open until the package can be built in
> a follow-up test rebuild.
> 
> The package fails to build in a test rebuild on at least amd64 with
> gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
> severity of this report will be raised before the bookworm release,
> so nothing has to be done for the bullseye release.
> 
> The full build log can be found at:
> http://people.debian.org/~doko/logs/20210228/filtered/gcc11/vlc_3.0.12-2_unstable_gcc11.log
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
> 
>   apt-get -t=experimental install g++ 
> 
> Common build failures are new warnings resulting in build failures with
> -Werror turned on, or new/dropped symbols in Debian symbols files.
> For other C/C++ related build failures see the porting guide at
> http://gcc.gnu.org/gcc-11/porting_to.html
> 
> GCC 11 defaults to the GNU++17 standard.  If your package installs
> header files in /usr/include, please don't work around C++17 issues
> by choosing a lower C++ standard for the package build, but fix these
> issues to build with the C++17 standard.
> 
> [...]
> libtool: link: echo "{ global:" > .libs/libmpgv_plugin.ver
> libtool: link:  cat .libs/libmpgv_plugin.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libmpgv_plugin.ver
> libtool: link:  echo "local: *; };" >> .libs/libmpgv_plugin.ver
> libtool: link:  gcc -shared  -fPIC -DPIC  demux/mpeg/.libs/mpgv.o   -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/.libs ../compat/.libs/libcompat.a ../src/.libs/libvlccore.so  -g -O2 -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs   -Wl,-soname -Wl,libmpgv_plugin.so -Wl,-version-script -Wl,.libs/libmpgv_plugin.ver -o .libs/libmpgv_plugin.so
> libtool: link: ( cd ".libs" && rm -f "libmpgv_plugin.la" && ln -s "../libmpgv_plugin.la" "libmpgv_plugin.la" )
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/b4s.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/b4s.lo demux/playlist/b4s.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/dvb.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/dvb.lo demux/playlist/dvb.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/ifo.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/ifo.lo demux/playlist/ifo.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/itml.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/itml.lo demux/playlist/itml.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/m3u.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/m3u.lo demux/playlist/m3u.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/pls.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/pls.lo demux/playlist/pls.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/podcast.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/podcast.lo demux/playlist/podcast.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/qtl.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/qtl.lo demux/playlist/qtl.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/ram.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/ram.lo demux/playlist/ram.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/sgimb.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/sgimb.lo demux/playlist/sgimb.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/shoutcast.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/shoutcast.lo demux/playlist/shoutcast.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/wpl.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/wpl.lo demux/playlist/wpl.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/xspf.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/xspf.lo demux/playlist/xspf.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/playlist/playlist.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 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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/playlist/playlist.lo demux/playlist/playlist.c
> ../doltlibtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="mux/mpeg/libts_plugin_la-csa.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 -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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 mux/mpeg/libts_plugin_la-csa.lo `test -f 'mux/mpeg/csa.c' || echo './'`mux/mpeg/csa.c
> ../doltlibtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="mux/mpeg/libts_plugin_la-tables.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 -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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 mux/mpeg/libts_plugin_la-tables.lo `test -f 'mux/mpeg/tables.c' || echo './'`mux/mpeg/tables.c
> ../doltlibtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="mux/mpeg/libts_plugin_la-tsutil.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 -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -pipe -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 mux/mpeg/libts_plugin_la-tsutil.lo `test -f 'mux/mpeg/tsutil.c' || echo './'`mux/mpeg/tsutil.c
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-AbstractPlaylist.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-AbstractPlaylist.lo `test -f 'demux/adaptive/playlist/AbstractPlaylist.cpp' || echo './'`demux/adaptive/playlist/AbstractPlaylist.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-BaseAdaptationSet.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-BaseAdaptationSet.lo `test -f 'demux/adaptive/playlist/BaseAdaptationSet.cpp' || echo './'`demux/adaptive/playlist/BaseAdaptationSet.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-BasePeriod.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-BasePeriod.lo `test -f 'demux/adaptive/playlist/BasePeriod.cpp' || echo './'`demux/adaptive/playlist/BasePeriod.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-BaseRepresentation.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-BaseRepresentation.lo `test -f 'demux/adaptive/playlist/BaseRepresentation.cpp' || echo './'`demux/adaptive/playlist/BaseRepresentation.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-CommonAttributesElements.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-CommonAttributesElements.lo `test -f 'demux/adaptive/playlist/CommonAttributesElements.cpp' || echo './'`demux/adaptive/playlist/CommonAttributesElements.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-Inheritables.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-Inheritables.lo `test -f 'demux/adaptive/playlist/Inheritables.cpp' || echo './'`demux/adaptive/playlist/Inheritables.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-Role.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-Role.lo `test -f 'demux/adaptive/playlist/Role.cpp' || echo './'`demux/adaptive/playlist/Role.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-Segment.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-Segment.lo `test -f 'demux/adaptive/playlist/Segment.cpp' || echo './'`demux/adaptive/playlist/Segment.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-SegmentBase.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-SegmentBase.lo `test -f 'demux/adaptive/playlist/SegmentBase.cpp' || echo './'`demux/adaptive/playlist/SegmentBase.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-SegmentChunk.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-SegmentChunk.lo `test -f 'demux/adaptive/playlist/SegmentChunk.cpp' || echo './'`demux/adaptive/playlist/SegmentChunk.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-SegmentInfoCommon.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-SegmentInfoCommon.lo `test -f 'demux/adaptive/playlist/SegmentInfoCommon.cpp' || echo './'`demux/adaptive/playlist/SegmentInfoCommon.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-SegmentList.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-SegmentList.lo `test -f 'demux/adaptive/playlist/SegmentList.cpp' || echo './'`demux/adaptive/playlist/SegmentList.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-SegmentTimeline.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-SegmentTimeline.lo `test -f 'demux/adaptive/playlist/SegmentTimeline.cpp' || echo './'`demux/adaptive/playlist/SegmentTimeline.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-SegmentInformation.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-SegmentInformation.lo `test -f 'demux/adaptive/playlist/SegmentInformation.cpp' || echo './'`demux/adaptive/playlist/SegmentInformation.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-SegmentTemplate.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-SegmentTemplate.lo `test -f 'demux/adaptive/playlist/SegmentTemplate.cpp' || echo './'`demux/adaptive/playlist/SegmentTemplate.cpp
> ../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/adaptive/playlist/libadaptive_plugin_la-Url.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 -Wdate-time -D_FORTIFY_SOURCE=2  -I./demux/adaptive  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -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/playlist/libadaptive_plugin_la-Url.lo `test -f 'demux/adaptive/playlist/Url.cpp' || echo './'`demux/adaptive/playlist/Url.cpp
> demux/adaptive/playlist/SegmentInformation.cpp: In member function ‘bool adaptive::playlist::SegmentInformation::getPlaybackTimeDurationBySegmentNumber(uint64_t, mtime_t*, mtime_t*) const’:
> demux/adaptive/playlist/SegmentInformation.cpp:397:23: error: ‘numeric_limits’ is not a member of ‘std’
>   397 |     if(number == std::numeric_limits<uint64_t>::max())
>       |                       ^~~~~~~~~~~~~~
> demux/adaptive/playlist/SegmentInformation.cpp:397:46: error: expected primary-expression before ‘>’ token
>   397 |     if(number == std::numeric_limits<uint64_t>::max())
>       |                                              ^
> demux/adaptive/playlist/SegmentInformation.cpp:397:49: error: ‘::max’ has not been declared; did you mean ‘std::max’?
>   397 |     if(number == std::numeric_limits<uint64_t>::max())
>       |                                                 ^~~
>       |                                                 std::max
> In file included from /usr/include/c++/11/algorithm:62,
>                  from demux/adaptive/playlist/SegmentInformation.cpp:35:
> /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
>  3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
>       |     ^~~

Fixed in https://code.videolan.org/videolan/vlc-3.0/-/commit/f4474d8

Cheers
-- 
Sebastian Ramacher


Reply to: