* Package: media-plugins/vdr-vcd-0.9-r4 * 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.7 [API version 2.4.7] >>> Unpacking source... >>> Unpacking vdr-vcd-0.9.tgz to /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work >>> Source unpacked in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work >>> Preparing source in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 ... * Applying vdr-vcd-0.9_xgettext.diff ... [ ok ] * Applying vdr-vcd-0.9_vdr-1.7.2.diff ... [ ok ] * Applying vdr-vcd-0.9_devicetrickspeed.patch ... [ ok ] * Applying vdr-vcd-0.9_gcc-6.patch ... [ ok ] * Patching Makefile * Patching for Linguas support * available Languages for vdr-vcd-0.9 are: * LINGUAS="de it " * obsolete tI18nPhrase found, disabled per sed, please recheck >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 ... make -j 1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9 TMPDIR=/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DPLUGIN_NAME_I18N='"vcd"' -D_GNU_SOURCE -I/usr/include/vdr/include vcd.c vcd.c: In member function ‘virtual cOsdMenu* cPluginVcd::MainMenuAction()’: vcd.c:139:20: error: ‘max’ was not declared in this scope; did you mean ‘std::max’? 139 | psd_size = max((int)U32_TO_LE(vcd->vcdInfo.psd_size), PSD_VCD_MAX_SIZE*CD_XA21_DATASIZE); | ^~~ | 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 /usr/include/vdr/tools.h:18, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/interface.h:13, from vcd.c:25: /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) | ^~~ vcd.c:143:20: error: ‘max’ was not declared in this scope; did you mean ‘std::max’? 143 | psd_size = max((int)U32_TO_LE(vcd->vcdInfo.psd_size), PSD_VCD_MAX_SIZE*CD_XA21_DATASIZE); | ^~~ | 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 /usr/include/vdr/tools.h:18, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/interface.h:13, from vcd.c:25: /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) | ^~~ vcd.c: In member function ‘virtual const char* cPluginVcd::Description()’: vcd.c:73:14: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 73 | asprintf(&buf, "%s (%s)", DESCRIPTION, option_vcd); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vcd.c: In member function ‘virtual const char* cPluginVcd::MainMenuEntry()’: vcd.c:121:17: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 121 | asprintf(&buf, "%s (%s)", tr(MAINMENUENTRY), option_vcd); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:62: vcd.o] Error 1 * ERROR: media-plugins/vdr-vcd-0.9-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-plugins/vdr-vcd-0.9-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-vcd-0.9-r4::gentoo'`. * The complete build log is located at '/var/log/portage/media-plugins:vdr-vcd-0.9-r4:20210506-063943.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/temp/environment'. * Working directory: '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9' * S: '/var/tmp/portage/media-plugins/vdr-vcd-0.9-r4/work/vcd-0.9'