error is: [31;01mACCESS DENIED[0m open_wr: /kbugreport.loT ../libtool: kbugreport.loT: Permission denied [31;01mACCESS DENIED[0m open_wr: /kbugreport.loT ../libtool: kbugreport.loT: Permission denied mv: cannot stat `kbugreport.loT': No such file or directory /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kdefx -I../interfaces -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kpassdlg.lo `test -f 'kpassdlg.cpp' || echo './'`kpassdlg.cpp shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory ../libtool: ../libtool: No such file or directory make[3]: *** [kpassdlg.lo] Error 127 make[3]: *** Waiting for unfinished jobs.... [31;01mACCESS DENIED[0m open_wr: /kcombobox.loT ../libtool: kcombobox.loT: Permission denied [31;01mACCESS DENIED[0m open_wr: /kcombobox.loT ../libtool: kcombobox.loT: Permission denied mv: cannot stat `kcombobox.loT': No such file or directory make[3]: Leaving directory `/tmp/portage/kdelibs-3.1/work/kdelibs-3.1/kdeui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/portage/kdelibs-3.1/work/kdelibs-3.1/kdeui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/kdelibs-3.1/work/kdelibs-3.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.1 failed. !!! Function kde_src_compile, Line -9142, Exitcode 2 !!! died running emake, kde_src_compile:make
please paste #emerge info
emerge info output: Portage 2.0.46-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1700MHz GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR_OVERLAY="/usr/portage.local" USE="x86 oss 3dnow apm libg++ spell berkdb cdr gdbm gnome-libs imlib libwww python slang svga X -xfs gd acpi4linux acl mmx sse kde qt qtmt arts cups -gnome gtk -motif -aalib readline sdl gif jpeg png tiff mpeg quicktime alsa esd mikmod dvd xmms oggvorbis encode -snmp pam ssl crypt socks5 imap -ldap tcpd mozilla truetype -xml xml2 pdflib -tetex java perl -ruby mysql samba nls gpm doc sasl avi ncurses opengl xv tcltk" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4" CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
i always forgot i'm (still) using aggressive optimizations... trying using only: CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -malign-functions=4" i'll let you know bye, Alessandro
using less aggressive compilation flags solved the problem with kdelibs nevertheless i'm still having problems compiling kdeedu which fails due to an asm compile error... i'll check it deeply and i'll open a new bug if needed closing this marking as resolved:invalid
about my last comment: compiling kdeedu-3.1 with -fomit-frame-pointer (gcc 2.95.3) will crash the compilation. removing it from the CFLAGS in /etc/make.conf solved the problem
the kdeedu problem is also reported in bug #14768. maybe we should filter -fomit-frame-pointer in kdeedu if gcc-2.95.3 is used.