emerge fails due to compilation errors. Two fixes are needed in the source code: src/cube.cpp should #include <math.h> src/matrix3d.cpp, line 150 should have fabs instead of abs. Then it works. Reproducible: Always Steps to Reproduce: 1.emerge -va =games-kids/cubetest-0.9.0 Actual Results: Compilation failed with these errors: Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0' Making all in share make[2]: Entering directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/share' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/share' Making all in src make[2]: Entering directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/src' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions -c -o cubedialog.o `test -f 'cubedialog.cpp' || echo './'`cubedialog.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions -c -o cubetest.o `test -f 'cubetest.cpp' || echo './'`cubetest.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions -c -o matrix3d.o `test -f 'matrix3d.cpp' || echo './'`matrix3d.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions -c -o cube.o `test -f 'cube.cpp' || echo './'`cube.cpp matrix3d.cpp: In member function `bool Matrix3D::stepBack()': matrix3d.cpp:150: error: call of overloaded `abs(double&)' is ambiguous /usr/include/gentoo-multilib/amd64/stdlib.h:778: note: candidates are: int abs(int) /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/include/g++-v3/cstdlib:153: note: long long int __gnu_cxx::abs(long long int) /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/include/g++-v3/cstdlib:123: note: long int std::abs(long int) make[2]: *** [matrix3d.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cube.cpp:26: error: `M_PI' was not declared in this scope cube.cpp:26: error: `sqrt' was not declared in this scope cube.cpp:26: error: `acos' was not declared in this scope make[2]: *** [cube.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0' make: *** [all] Error 2 !!! ERROR: games-kids/cubetest-0.9.0 failed. !!! Function kde_src_compile, Line 166, Exitcode 2 !!! died running emake, kde_src_compile:make
cubetest 0.9.3 now in portage
This works on amd54, not like prior version.