Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]kdelibs-4.4.5 build error: can't create CMakeFiles
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
farrenheit
n00b
n00b


Joined: 20 Jun 2010
Posts: 29

PostPosted: Sun Apr 03, 2011 3:55 am    Post subject: [SOLVED]kdelibs-4.4.5 build error: can't create CMakeFiles Reply with quote

EDIT: Solved by commenting out MAKEOPTS="-j20" in make.conf. Looks like it was thread collision that was causing the problem.


I'm trying to:
Code:
emerge -q kde-base/kdelibs-4.4.5-r4


What keeps happening is it gets to 83% complete, and then a whole bunch of these errors come in and ruin it (takes a while to get to this point).

Note they all start with "Assembler messages: Fatal error: can't create CMakeFiles/... no such file or directory"

Code:
[ 68%] Built target krossmoduleforms
[ 70%] Built target knewstuff3
[ 71%] Built target kde3support
[ 71%] Built target kde3supportwidgets
[ 77%] Built target katepart
[ 83%] Built target plasma
[ 83%] [ 83%] [ 83%] Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/SVGResource.o
[ 83%] Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerQt.o
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/SVGPaintServer.o
[ 83%] [ 83%] Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerSolid.o
[ 83%] Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerSolidQt.o
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/SVGResourceClipper.o
[ 83%] Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerQt.o: No such file or directory
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/SVGResource.o: No such file or directory
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/SVGPaintServer.o: No such file or directory
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/qt/SVGResourceClipperQt.o
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerGradient.o
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/SVGResourceClipper.o: No such file or directory
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerSolidQt.o: No such file or directory
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerSolid.o: No such file or directory
[ 83%] [ 83%] Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/qt/SVGResourceClipperQt.o: No such file or directory
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerRadialGradient.o
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerGradient.o: No such file or directory
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerLinearGradient.o
[ 83%] Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerGradientQt.o
[ 83%] Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerRadialGradient.o: No such file or directory
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/SVGPaintServerLinearGradient.o: No such file or directory
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerLinearGradientQt.o
[ 83%] Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerGradientQt.o: No such file or directory
Building CXX object khtml/CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerRadialGradientQt.o
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerLinearGradientQt.o: No such file or directory
Assembler messages:
Fatal error: can't create CMakeFiles/khtml.dir/svg/graphics/qt/SVGPaintServerRadialGradientQt.o: No such file or directory
make[2]: *** [khtml/CMakeFiles/khtml.dir/svg/graphics/qt/SVGResourceClipperQt.o] Error 2
make[2]: *** Waiting for unfinished jobs....



I've cleared out my

Code:
/var/tmp/portage


and restarted this emerge several times and it always hits a wall here. Does anyone think it could be due to a high

Code:
make -j20


option? Maybe jobs depend on each other and are finishing out of order? Maybe it's something else? Has anyone encountered similar errors?


My info. Note that I'm not using kernel 2.6.35-22-generic but instead 2.6.36-gentoo-r8. That other kernel is what my Ubuntu partition uses, as I've been doing most of the emerging from a chroot in an Ubuntu terminal (anyone know if that can cause problems?):

Code:
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.3-r0, 2.6.35-22-generic x86_64)
=================================================================
System uname: Linux-2.6.35-22-generic-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 02 Apr 2011 03:00:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages keeptemp keepwork news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dvd dvdr emboss encode exif fam flac gdbm gdu gif gpm gtk iconv jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds python qt3support readline sdl session spell sse sse2 ssl startup-notification static-libs svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


in the meantime, i've commented out my MAKEOPTS variable in my make.conf and trying to rebuild. maybe it will work this time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum