# cat build.log 
 * Package:    media-video/vdr-2.2.0-r1
 * Repository: gentoo
 * Maintainer: vdr@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking vdr-2.2.0.tar.bz2 to /var/tmp/portage/media-video/vdr-2.2.0-r1/work
>>> Unpacking extpng-vdr-2.2.0-gentoo-edition-v1.patch.bz2 to /var/tmp/portage/media-video/vdr-2.2.0-r1/work
>>> Source unpacked in /var/tmp/portage/media-video/vdr-2.2.0-r1/work
>>> Preparing source in /var/tmp/portage/media-video/vdr-2.2.0-r1/work/vdr-2.2.0 ...
 * Changing paths for gentoo ...
 * Found DVB header files in /usr/include
 [ ok ]
 * Applying extpng-vdr-2.2.0-gentoo-edition-v1.patch ...
 [ ok ]
 * Enabling selected patches ...
 [ ok ]
 * Make depend ...
make -j5 .dependencies 
 [ ok ]
 * Applying vdr-2.2.0_gentoo.patch ...
 [ ok ]
 * 
 *  	 VDR supports the LINGUAS values
 * 	 Please set one of this values in your sytem make.conf
 * 	 LINGUAS="ar ca cs da de de el es et fi fr hr hu it lt mk nl nn pl pt ro ru sk sl sr sv tr uk zh "
 * 
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/vdr-2.2.0-r1/work/vdr-2.2.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/vdr-2.2.0-r1/work/vdr-2.2.0 ...
make -j5 
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o args.o args.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o audio.o audio.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o channels.o channels.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o ci.o ci.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o config.o config.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o cutter.o cutter.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o device.o device.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o diseqc.o diseqc.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o dvbdevice.o dvbdevice.c
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o dvbci.o dvbci.c
dvbdevice.c: In member function ‘bool cDvbTuner::SetFrontend()’:
dvbdevice.c:848:31: error: call of overloaded ‘abs(unsigned int&)’ is ambiguous
      frequency = abs(frequency); // Allow for C-band, where the frequency is less than the LOF
                               ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:75:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/stdlib.h:36,
                 from config.h:15,
                 from channels.h:13,
                 from device.h:13,
                 from dvbdevice.h:15,
                 from dvbdevice.c:10:
/usr/include/stdlib.h:722:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:77:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/stdlib.h:36,
                 from config.h:15,
                 from channels.h:13,
                 from device.h:13,
                 from dvbdevice.h:15,
                 from dvbdevice.c:10:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double)
   abs(double __x)
   ^~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float)
   abs(float __x)
   ^~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double)
   abs(long double __x)
   ^~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:84:3: note: candidate: constexpr __int128 std::abs(__int128)
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:102:3: note: candidate: constexpr __float128 std::abs(__float128)
   abs(__float128 __x)
   ^~~
x86_64-pc-linux-gnu-g++ -march=sandybridge -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include -o dvbplayer.o dvbplayer.c
make: *** [Makefile:132: dvbdevice.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: media-video/vdr-2.2.0-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-video/vdr-2.2.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vdr-2.2.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vdr-2.2.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vdr-2.2.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vdr-2.2.0-r1/work/vdr-2.2.0'
 * S: '/var/tmp/portage/media-video/vdr-2.2.0-r1/work/vdr-2.2.0'