emerge kdm fails. It looks like it can't find a file or directory... x86_64-pc-linux-gnu-g++: s: No such file or directory Full output below. x86_64-pc-linux-gnu-gcc: s: No such file or directory x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../backend -I.. -I../../kcontrol/background -I../../kdmlib -I/ I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmiss e-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -O2 -march=k8 -pipe s -Wformat-security -Wmissing-format-attribut eet.c' || echo './'`kdm_greet.c x86_64-pc-linux-gnu-gcc: s: No such file or directory x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../backend -I.. -I../../kcontrol/background -I../../kdmlib -I/ I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE= ast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=k8 -pi y -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL NO_TRANSLATION -c -o kdmconfig.o `test -f 'kdmconfig.cpp' || echo './'`kdmconfig.cpp kdm_config.c: In function `CvtValue': kdm_config.c:712: warning: cast to pointer from integer of different size kdm_config.c:719: warning: cast to pointer from integer of different size x86_64-pc-linux-gnu-g++: s: No such file or directory kdm_config.c: In function `SendValues': kdm_config.c:857: warning: cast from pointer to integer of different size ./../backend/printf.c: In function `fmtstr': ./../backend/printf.c:210: warning: 'lastcol' might be used uninitialized in this function ./../backend/printf.c: In function `Logger': ./../backend/printf.c:298: warning: 'radix' might be used uninitialized in this function ./../backend/printf.c:300: warning: 'arlen' might be used uninitialized in this function make[4]: *** [kdm_config.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [kdm_greet.o] Error 1 make[4]: *** [kdmconfig.o] Error 1 make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdm-3.4.1/work/kdm-3.4.1/kdm/kfrontend' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdm-3.4.1/work/kdm-3.4.1/kdm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdm-3.4.1/work/kdm-3.4.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdm-3.4.1 failed. !!! Function kde_src_compile, Line 169, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge kdm 2.wait 3.whatch it fail Actual Results: kdm fails Expected Results: kdm finnishes build Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointers" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointers" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aalib acl alsa arts audiofile avi bdf berkdb bitmap-fonts bootsplash browserplugin bzip2 caps cjk crypt cups curl dga dvd eds encode fam fbcon ffmpeg flac font-server foomaticdb fortran gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 guile i8x0 imlib ipv6 jack java jpeg jpeg2k kde ldap libcaca libclamav libwww lirc logitech-mouse lzw lzw-tiff mad mng mozilla mp3 mpeg mysql ncurses nls nvidia oav ogg openexr opengl pam pdflib perl php pic png povray python qt quicktime rdesktop readline ruby samba scanner sdk sdl smartcard sndfile speex spell sqlite ssl tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis winbind xine xml xml2 xpm xprint xscreensaver xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I changed my CFLAGS from (-O2 -march=k8 -pipe -fomit-frame-pointers) to ( -O2 -march=k8 -pipe) and I changed the MAKEOPTS from "-j3" to "-j2" and everything built fine sorry for jumping to conclusions..
It's -fomit-frame-pointer, not -fomit-frame-pointers. That flag was filtered somewhere and the remaining 's' made the compilation fail.