ncurses > -r5 have incompatibility issues. This has been seen with gdb and a couple of other apps. Log will be posted here shortly.
In file included from /usr/include/curses.h:111, from utils.c:30: /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:9: conflicting types for `false' ../bfd/bfd.h:102: previous declaration of `false' /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:11: conflicting type s for `true' ../bfd/bfd.h:102: previous declaration of `true' utils.c: In function `floatformat_from_doublest': utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic utils.c:2643: warning: pointer of type `void *' used in arithmetic make[1]: *** [utils.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdb-5.1/work/gdb-5.1/gdb' make: *** [install-gdb] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_install, Line 4, Exitcode 2 !!! (no error message) ...done! >>> emerge sys-devel/gdb-5.1 to / !!! emerge aborting on /usr/portage/sys-devel/gdb/gdb-5.1.ebuild .
Bevin sorted this one out. Apparently, an include file within an include file was not getting, er, included. It is now, so it is all good.