/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=pentium4 -funroll-loops -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o kvoctrain -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib kva_io.o kvoctrain.o kvoctrainview.o rowtable.o main.o kva_init.o kva_config.o kva_header.o kva_clip.o kva_query.o ./docprop-dialogs/libdocpropdlg.la ./entry-dialogs/libentrydlg.la ./kvt-core/libkvoctraincore.la ./kvt-core/kvt-xml/libkvtxml.la ./option-dialogs/liboptiondlg.la ./query-dialogs/libquerydlg.la ./queryoption-dialogs/libqueryoptiondlg.la ./statistik-dialogs/libstatdlg.la ./common-dialogs/libcommondlg.la -lkhtml make[4]: Leaving directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5/kvoctrain/kvoctrain' make[3]: Leaving directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5/kvoctrain/kvoctrain' make[3]: Entering directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5/kvoctrain' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5/kvoctrain' make[2]: Leaving directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5/kvoctrain' make[2]: Entering directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5' make[2]: Leaving directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5' make[1]: Leaving directory `/var/tmp/portage/kdeedu-3.1.5/work/kdeedu-3.1.5' --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-kdeedu-3.1.5-1431.log" mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde mkdir: /root/.kde -------------------------------------------------------------------------------- Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-rc1) ================================================================= System uname: 2.6.1-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo rsync://gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp://gentoo.noved.org/ http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ rsync://cudlug.cudenver.edu/gentoo http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://oss.redundant.com/pub/gentoo ftp://oss.redundant.com/pub/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo rsync://mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://128.213.5.34/gentoo/ http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/source rsync://lug.mtu.edu/distfiles" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi acpi4linux alsa apm arts avi berkdb cdr crypt cups dga directfb doc dvd encode esd ethereal evms2 fam fbcon foomaticdb freetype gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 imap imlib imlib2 ipv6 irda irmc java javascript jpeg junit kde lcd libg++ libwww mad maildir mbox mikmod mmx motif mozilla mpeg mpeg4 msn ncurses nls nptl nvidia offensive oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp ppds python qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcpd tetex tiff truetype trusted type1 unicode usb videos wmf x86 xml2 xmms xv zlib"
Did you get these errors with any other kde package? That's pretty strange, I must admit.
kdelibs-apidocs upgraded to 3.1.5 okay. kdeedu was the first other package to upgrade.
I can reproduce. <insert dirty joke here> Fairly fresh install of Gentoo from the 4th February experimental CD. Started from a stage 3, then after successful reboot I changed CFLAGS to the current ones, emerged screen, vi & a few other small essentials & then emerged KDE with the current USE flags. $ emerge info Portage 2.0.49-r21 (default-x86-2004.0, gcc-3.2.3, glibc-2.3.2-r9, 2.6.2-gentoo) ================================================================= System uname: 2.6.2-gentoo i686 AMD Athlon(tm) MP 2400+ Gentoo Base System version 1.4.3.10 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.linux.no/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts artswrappersuid avi crypt curl directfb dvd encode fbcon foomaticdb gdbm ggi gif gpm gtk2 imlib java javascript jpeg justify kde libg++ libwww mad mikmod mmx mpeg ncurses nls oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline samba sdl slang speex spell sse ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Whups! I should mention - it's exactly the same version (kde-base/kdeedu-3.1.5) and exactly the same error message.
Hmmnm.... just managed to get kdeedu to compile by `su -` to root, then running `emerge kde` again. It seems that I can only reproduce this issue when running `sudo emerge kde` as user (everything else has always emerged fine, tho' when using this method.
Okies... just got the same thing with kde-base/kdemultimedia-3.1.5. When kdeedu-3.1.5 had finished compiling of course I (killed the rest of the emerge) and logged back in as my regular user (with wheel & portage group permissions) & restarted `sudo emerge kde`. It fell over with exactly the same error message at kdemultimedia, and again logging in as root (using `su -`) This is a resurgence of #11664 which, it seems, didn't get fixed last time. IMO this is a bug, not a feature. `sudo emerge foo` should perform as well as the root user running `emerge foo`, and IMO it is more secure. Slightly changed emerge info (cflags) on this run but I don't think it's relevant: CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" So CXXFLAGS now match CFLAGS (duh!); USE flags are the same as before. Personally I'm surpised this doesn't seem to be reported more often, although I've just found #34933 - I guess you can mark this as a duplicate of that - any progrtess on it..?
I had the same problem with kdemultimedia-3.1.5 on a virgin stage3 Pentium 4 Gentoo install. Sudo [screen] emerge kdemultimedia failed, citing Access Violations unable to mkdir /root/.kde , su succeeded.
What about if you run "sudo -H emerge kde" ?
Hmmm, very wierd: I did su, then did 'screen emerge kde'. Later I detached the screen session and re-attached using 'sudo screen -r'. I got the access violation error on kdeedu... So assuming kdeedu would have succeeded using su, why would it fail using su and screen? This is a wierd one.
*** Bug 34933 has been marked as a duplicate of this bug. ***
I'm not sure exactly what's going on, because I don't use sudo for the emerge process, but it really seems like it's something trivial in making sure your HOME is set, or perhaps it's being overwritten. The -H option to sudo seems like it may be helpful here, but from the kde.eclass, emerges of kde programs create a "fake" home directory in which these temp files can be written. I wonder if sudo is overwriting this home dir redirection somehow?
I don't see this one being fixed - using sudo for an emerge is a tricky situation and is about to cause some problem like we've seen. If someone comes up with a patch of some sort that will help fix this, I'm all for it, but in the meantime I think you can get by with crafty arguments and configs in sudoers.