make[1]: Entering directory `/usr/tmp/portage/uudeview-0.5.18/work/uudeview-0.5.18/inews' gcc -march=athlon -O2 gdb -pipe -I. -DHAVE_CONFIG_H -c -o inews.o inews.c (cd uulib ; make) gcc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [inews.o] Error 1 make[1]: Leaving directory `/usr/tmp/portage/uudeview-0.5.18/work/uudeview-0.5.18/inews' make: *** [minews] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory `/usr/tmp/portage/uudeview-0.5.18/work/uudeview-0.5.18/uulib' gcc -c -march=athlon -O2 gdb -pipe -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"18\" uulib.c gcc: gdb: No such file or directory gcc -c -march=athlon -O2 gdb -pipe -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"18\" uucheck.c gcc: gdb: No such file or directory In file included from uucheck.c:53: fptools.h:54: conflicting types for `_FP_tempnam' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/stdio.h:203: previous declaration of `_FP_tempnam' make[1]: *** [uucheck.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from uulib.c:81: fptools.h:54: conflicting types for `_FP_tempnam' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/stdio.h:203: previous declaration of `_FP_tempnam' make[1]: *** [uulib.o] Error 1 make[1]: Leaving directory `/usr/tmp/portage/uudeview-0.5.18/work/uudeview-0.5.18/uulib' make: *** [libuu.a] Error 2 Okay, this is somewhat misleading if you do not notice the first problem is that it's including "gdb" on the command line. GCC 3.2.x offers -ggdb, which is better than plain -g, but uudeview strips -g kinda stupidly in ./configure. Suggest either making uudeview's ./configure smarter (in which case a patch upstream might be a good idea), or stripping the -ggdb option preemptively so that uudeview does not have a chance to break it.
This appears to be a problem with parallel make... I changed emake to make in the ebuild in portage which appears to be the root of the problem. I have had no problems emerging uudeview with gdb installed or gdb not installed.
Did you build with -ggdb? Having gdb installed is not the issue, compiling with -ggdb (rather than the traditionally used -g) is what broke it. The configure-generated makefiles are using invalid CFLAGS..
I have updated the ebuild to properly support DEBUGBUILD in make.conf... If that env variable is set, then "--disable-optimize" will be passed to configure which will stop -g being stripped from your CFLAGS.