The CUnit ebuild fails during compile. See output below. Reproducible: Always Steps to Reproduce: Actual Results: gcc -DPACKAGE=\"CUnit\" -DVERSION=\"1.0-6\" -DHAVE_LIBC=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_ASSERT_H=1 -DHAVE_CTYPE_H=1 -DHAVE_CURSES_H=1 -DHAVE_MATH_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -I. -DRELEASE=6 -Wall -I/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Headers -g -c Automated.c rm -f libcunitautomated.a ar cru libcunitautomated.a Automated.o ranlib libcunitautomated.a make[3]: Leaving directory `/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Sources/Automated' Making all in Console make[3]: Entering directory `/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Sources/Console' gcc -DPACKAGE=\"CUnit\" -DVERSION=\"1.0-6\" -DHAVE_LIBC=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_ASSERT_H=1 -DHAVE_CTYPE_H=1 -DHAVE_CURSES_H=1 -DHAVE_MATH_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -I. -DRELEASE=6 -Wall -I/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Headers -g -c Console.c rm -f libcunitconsole.a ar cru libcunitconsole.a Console.o ranlib libcunitconsole.a make[3]: Leaving directory `/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Sources/Console' Making all in Curses make[3]: Entering directory `/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Sources/Curses' gcc -DPACKAGE=\"CUnit\" -DVERSION=\"1.0-6\" -DHAVE_LIBC=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_ASSERT_H=1 -DHAVE_CTYPE_H=1 -DHAVE_CURSES_H=1 -DHAVE_MATH_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -I. -DRELEASE=6 -Wall -I/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Headers -g -c Curses.c Curses.c:54: parse error before numeric constant make[3]: *** [Curses.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Sources/Curses' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit/Sources' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cunit-1.0.0.6/work/CUnit-1.0-6/CUnit' make: *** [all-recursive] Error 1 !!! ERROR: dev-util/cunit-1.0.0.6 failed. !!! Function src_compile, Line 19, Exitcode 2 !!! (no error message)
This bug is due to a problem in the cunit source. This is an old version of cunit now anyway, I've submitted an ebuild for a newer version which builds correctly. See Bug # bugid=19591
Can't get around to this anytime soon, sorry.
Put newer version into CVS.