* Package: media-plugins/vdr-avards-0.2.6 * Repository: gentoo * Maintainer: vdr@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * Compiling against * vdr-2.4.6 [API version 2.4.6] >>> Unpacking source... >>> Unpacking vdr-avards-0.2.6.tar.bz2 to /var/tmp/portage/media-plugins/vdr-avards-0.2.6/work >>> Source unpacked in /var/tmp/portage/media-plugins/vdr-avards-0.2.6/work >>> Preparing source in /var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/avards-0.2.6 ... * Patching Makefile * Patching for Linguas support * available Languages for vdr-avards-0.2.6 are: * LINGUAS="de fr it nl " * obsolete tI18nPhrase found, disabled per sed, please recheck >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/avards-0.2.6 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/avards-0.2.6 ... make -j 1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/avards-0.2.6 TMPDIR=/var/tmp/portage/media-plugins/vdr-avards-0.2.6/temp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"avards"' -I -o avards.c x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"avards"' -I -o setup.c x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"avards"' -I -o detector.c detector.c: In member function ‘int cDetector::AnalyzeFrame()’: detector.c:309:26: error: ‘min’ was not declared in this scope; did you mean ‘std::min’? 309 | iBlackLines = 2*min(iYtop, iYbottom); | ^~~ | std::min In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/math.h:36, from detector.c:28: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:278:5: note: ‘std::min’ declared here 278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ detector.c: In member function ‘virtual void cDetector::Action()’: detector.c:365:20: error: ‘max’ was not declared in this scope; did you mean ‘std::max’? 365 | Wait.Wait(max(80, config.PollRate)); | ^~~ | std::max In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/math.h:36, from detector.c:28: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: ‘std::max’ declared here 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ make: *** [Makefile:107: detector.o] Error 1 * ERROR: media-plugins/vdr-avards-0.2.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-plugins/vdr-avards-0.2.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-avards-0.2.6::gentoo'`. * The complete build log is located at '/var/log/portage/media-plugins:vdr-avards-0.2.6:20210428-012312.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/vdr-avards-0.2.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-avards-0.2.6/temp/environment'. * Working directory: '/var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/avards-0.2.6' * S: '/var/tmp/portage/media-plugins/vdr-avards-0.2.6/work/avards-0.2.6'