Emerge of kdevelop (4.0.0 but also previous versions) fails (like bug 304897); I think the root of the issue is pointed out by the compile output that follows: /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/codegen/unresolvedincludeassistant.cpp:23:37: error: ui_custom_include_paths.h: No such file or directory Reproducible: Always
Created attachment 229981 [details] emerge --info =dev-util/kdevelop-4.0.0
Created attachment 229983 [details] emerge -pqv =dev-util/kdevelop-4.0.0
Created attachment 229985 [details] /var/tmp/portage/dev-util/kdevelop-4.0.0/temp/build.log
Created attachment 229987 [details] /var/tmp/portage/dev-util/kdevelop-4.0.0/temp/environment
As a suggestion, I think the file not found (ui_custom_include_paths.h) must be created from the file /kdevelop-4.0.0/languages/cpp/codegen/ui/custom_include_paths.ui
Had the same problem switching to MAKEOPTS="-j1" solved the problem.
(In reply to comment #6) > Had the same problem > switching to MAKEOPTS="-j1" solved the problem. > Thank you, I don't know why, but solved also here.
Please try to reproduce with -j2 or -j3 (whatever you have in there) BUT with ccache disabled. It works fine here anyway.
Same Bug here with -j2 and ccache disabled. -j1 solves the problem here, too. kohni ~ # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-AMD_Athlon-TM-_XP_3000+-with-gentoo-2.0.1 Timestamp of tree: Sun, 16 May 2010 12:00:02 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA @FSF-APPROVED @EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -mtune=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF8" LDFLAGS="-Wl,-O1" LINGUAS="de zh_CN zh_TW ko" MAKEOPTS="-j1" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow 3dnowext X X509 a52 aac acpi additions aim alsa arts audiofile bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cjk cli consolekit cpudetection cracklib crypt cups cupsddk curl cxx daap dbus dga divx dri dts dvb dvd dvdr dvipdfm embedded emboss emerald encode exif expat extra ffmpeg fftw firefox flac fortran fts3 gcj gd gdbm gif git glitz glut gmedia gmp gpm graphics gstreamer gtk gtkhtml hal history hpijs iconv icq idn imagemagick imlib ipv6 jabber jack jack-esd jadetex java jpeg kde kpathsea ladspa lastfm lcms ldap libnotify libsamplerate libwww lm_sensors lv2 lzo mad mhash mjpeg mmx mmxext mng modules motif mp3 mp4 mpeg mplayer mtp mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp oscar pam pango pcre pdf perl plplot pmount png policykit ppds python qt3support qt4 quicktime readline realmedia reflection regex samba scanner science sdl semantic-desktop session slang smartcard snmp spell spl sql sqlite sse sse2 ssl startup-notification subtitles subversion svg svga swat sysfs tcl tcltk tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vim vim-syntax vim-with-x vorbis webkit win32codecs winbind wmf wmp x264 x86 xcb xcomposite xine xml xmlrpc xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de zh_CN zh_TW ko" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa v4l r128 via" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS kohni ~ #
Created attachment 231853 [details] Build error with MAKEOPTS="-j2" and ccache disabled (same)
Created attachment 231855 [details] emerge --info (ccache disabled)
I've removed kdevelop, disabled ccache commenting on /etc/make.conf and tried to build kdevelop but I've the same problem. Maybe it occurs only on Athlon?
I've just tried to build changing temporarily "march" from "athlon-xp" to "i686", leaving ccache disabled and MAKEOPTS="-j2" and it builds without errors, so I think it's an athlon problem with -j2
(In reply to comment #7) > (In reply to comment #6) > > Had the same problem > > switching to MAKEOPTS="-j1" solved the problem. > > > > Thank you, I don't know why, but solved also here. > It seems the wanted file isn't built yet when it should. Using ebuild /usr/portage/dev-util/kdevelop/kdevelop-4.0.0.ebuild merge after the first emerge failed finished successfully on my machine, amd64, march=core2, MAKEOPTS="-j2". Therefore I guess ui_custom_include_paths.h showed up after a different job looked for it.
Hmm, it really is fishy. For instance Diego (AMD Opteron) reported strange parallel compilation bug that doesn't appear for me (Intel processor), bug 336008. I wonder whether those are related.
Please confirm the issue is still happening with 4.0.1 or 4.0.2.
(In reply to comment #16) > Please confirm the issue is still happening with 4.0.1 or 4.0.2. > Hi, here it's ok for both 4.0.1 and 4.0.2, the problem doesn't appear
(In reply to comment #17) > (In reply to comment #16) > > Please confirm the issue is still happening with 4.0.1 or 4.0.2. > > > > Hi, here it's ok for both 4.0.1 and 4.0.2, the problem doesn't appear > No, neither 4.0.1 nor 4.0.2 compile out of the box. I had to use the ebuild command twice to get it emerged.