Seems a problem with gcc, I'm using gcc-2.95.3-r7 TIA, Alcino echo '#include <klocale.h>' > edittextdialog.cpp /usr/qt/3/bin/uic -L /usr/kde/3/lib/kde3/plugins/designer -nounload -tr tr2i18n -i edittextdialog.h ./edittextdialog.ui | sed -e "s,tr2i18n( \"\" ),QString::null,g" | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_edittextdialog,g" >> edittextdialog.cpp || rm -f edittextdialog.cpp fcntl: Bad file descriptor fcntl: Bad file descriptor fcntl: Bad file descriptor fcntl: Bad file descriptor echo '#include "edittextdialog.moc"' >> edittextdialog.cpp creating kgeo_meta_unload.cpp /usr/qt/3/bin/uic -L /usr/kde/3/lib/kde3/plugins/designer -nounload -tr tr2i18n -i mainwidget.h ./mainwidget.ui | sed -e "s,tr2i18n( \"\" ),QString::null,g" | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_mainwidget,g" >> mainwidget.cpp || rm -f mainwidget.cpp fcntl: Bad file descriptor fcntl: Bad file descriptor fcntl: Bad file descriptor fcntl: Bad file descriptor echo '#include "coordinatesdialog.moc"' >> coordinatesdialog.cpp fcntl: Bad file descriptor fcntl: Bad file descriptor fcntl: Bad file descriptor fcntl: Bad file descriptor echo '#include "mainwidget.moc"' >> mainwidget.cpp echo '#include "preferencesdialog.moc"' >> preferencesdialog.cpp creating kgeo.all_cpp.cpp ... i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o kgeo.all_cpp.o `test -f kgeo.all_cpp.cpp || echo './'`kgeo.all_cpp.cpp In file included from kgeo.all_cpp.cpp:25: kgeoFileHandling.cpp: In method `void KGeoApp::printDialog()': kgeoFileHandling.cpp:491: Unable to generate reloads for: (insn 495 493 497 (parallel[ (set (reg:SI 6 %ebp) (fix:SI (fix:DF (reg/v:DF 107)))) (clobber (mem:HI (plus:SI (reg:SI 6 %ebp) (const_int -50 [0xffffffce])) 0)) (clobber (mem:HI (plus:SI (reg:SI 6 %ebp) (const_int -52 [0xffffffcc])) 0)) (clobber (mem:SI (plus:SI (reg:SI 6 %ebp) (const_int -48 [0xffffffd0])) 0)) (clobber (scratch:HI)) ] ) 149 {fix_truncdfsi2+1} (nil) (expr_list:REG_DEAD (reg/v:DF 107) (expr_list:REG_UNUSED (scratch:HI) (nil)))) cpp0: output pipe has been closed make[4]: *** [kgeo.all_cpp.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-3.0.3/kgeo/kgeo' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-3.0.3/kgeo/kgeo' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-3.0.3/kgeo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-3.0.3' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -7414, Exitcode 2 !!! died running emake, kde_src_compile:make !!! emerge aborting on /usr/portage/kde-base/kdeedu/kdeedu-3.0.3.ebuild .
I have the same problem, with the exact same browser. Except that in the messages it says it wants to access files in root's home dir and can't. I also have ccache installed, maybe that's the problem?
I had exacly the same problem and the same error messages. I managed to emerge kdeedu by compiling it without "-fomit-frame-pointer". # export CXXFLAGS="-O3 -mcpu=i686 -pipe" # emerge -u kdeedu It works for me.
Indeed, omitting -fomit-frame-pointer did the trick. I compiled it now with CFLAGS="-O3 -march=i686 -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4" which is my usual, except for -fomit-frame-pointer.
There was code in the ebuild that removed -fomit-frame-pointer from being used in the kgeo/ dir, but it was stupidly broken (sorry about that). I've fixed it, please emerge rsync, test (i.e. compile kdeedu again with -fmoit-frma-epointer in your CFLAGS) and confirm that the problem ha been fixed.
I'm pruning my buglist. This is fixed afaik, if not please reopen.