cd /var/tmp/portage/games-engines/odamex-0.7.0/work/odamex-0.7.0_build/client && /usr/bin/x86_64-pc-linux-gnu-g++ -DCLIENT_APP -DINSTALL_PREFIX=\"/usr\" -DUNIX -DUSE_PNG -I/var/tmp/portage/games-engines/odamex-0.7.0/work/odamex-0.7.0_build -I/var/tmp/portage/games-engines/odamex-0.7.0/work/src-7.0/client/../common -I/var/tmp/portage/games-engines/odamex-0.7.0/work/src-7.0/client/sdl -I/var/tmp/portage/games-engines/odamex-0.7.0/work/src-7.0/client/src -I/var/tmp/portage/games-engines/odamex-0.7.0/work/src-7.0/client/../libraries/textscreen -I/usr/include/SDL -DNDEBUG -Werror=terminate -O2 -pipe -march=native -std=c++11 -o CMakeFiles/odamex.dir/__/common/m_vectors.cpp.o -c /var/tmp/portage/games-engines/odamex-0.7.0/work/src-7.0/common/m_vectors.cpp /var/tmp/portage/games-engines/odamex-0.7.0/work/src-7.0/common/m_vectors.cpp: In function ‘void M_PerpendicularVec3(v3double_t*, const v3double_t*)’: /var/tmp/portage/games-engines/odamex-0.7.0/work/src-7.0/common/m_vectors.cpp:546:16: error: call of overloaded ‘abs(const double&)’ is ambiguous if (abs(src->y) < minelem) ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/cstdlib:75:0, ----------------------------------------------------------------- This is an unstable amd64 chroot image (named desktop-libressl-abi32+64_20170215-185650) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) [4] jython2.7 (fallback) java-config: The following VMs are available for generation-2: 1) IcedTea JDK 7.2.6.8 [icedtea-7] *) IcedTea JDK 7.2.6.8 [icedtea-bin-7] 3) IcedTea JDK 3.3.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-7 [2] icedtea-bin-7 system-vm [3] icedtea-bin-8
Created attachment 464690 [details] emerge-info.txt
Created attachment 464692 [details] emerge-history.txt
Created attachment 464694 [details] environment
Created attachment 464696 [details] etc.portage.tbz2
Created attachment 464698 [details] games-engines:odamex-0.7.0:20170222-135700.log
This has already been fixed upstream. I have generated a patch against 0.7.0 that should resolve the issue.
Created attachment 464748 [details, diff] 0.7.0 ambiguous abs patch
PR: https://github.com/gentoo/gentoo/pull/5183
Thanks, merged Peter's PR. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a95b6d1aba510faebfb15b41ab516b6f768b222
Sorry that your patch here got overlooked Mike.