I got always "libs/environmentvariableswidget.o: file not recognized: File format not recognized" message when try emerge -aDu world; I have no trouble with another applications except kdevelop to recompile. My environment: 2.6.21-gentoo-r3 #1 SMP Sat Jun 16 03:40:24 EEST 2007 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux Here is the output: if test "$ret" = 0; then echo '#include "subclassesdlgbase.moc"' >> subclassesdlgbase.cpp; else rm -f subclassesdlgbase.cpp ; exit $ret ; fi /bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/interfaces -I../../../lib/util -I../../../lib/widgets/propeditor -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=nocona -O2 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o subclassesdlgbase.lo subclassesdlgbase.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=nocona -O2 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkdevbuildtoolswidgets.la -rpath /usr/lib64 addenvvardlg.lo addfilesdialog.lo environmentdisplaydialog.lo environmentvariableswidget.lo envvartools.lo makeoptionswidget.lo removesubprojectdialog.lo runoptionswidget.lo subclassesdlg.lo environmentdisplaydialogbase.lo environmentvariableswidgetbase.lo makeoptionswidgetbase.lo removesubprojectdlgbase.lo runoptionswidgetbase.lo subclassesdlgbase.lo .libs/environmentvariableswidget.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[4]: *** [libkdevbuildtoolswidgets.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.1/work/kdevelop-3.4.1/buildtools/lib/widgets' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.1/work/kdevelop-3.4.1/buildtools/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.1/work/kdevelop-3.4.1/buildtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.1/work/kdevelop-3.4.1' make: *** [all] Error 2 * * ERROR: dev-util/kdevelop-3.4.1 failed. * Call stack: * ebuild.sh, line 1642: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * kdevelop-3.4.1.ebuild, line 64: Called kde_src_compile * kde.eclass, line 170: Called kde_src_compile 'all' * kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure' 'make' * kde.eclass, line 336: Called die * * died running emake, kde_src_compile:make * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-util/kdevelop-3.4.1/temp/build.log'.
Please add your "emerge --info" and the output of "emerge -pv =dev-util/kdevelop-3.4.1".
Here is the output of emerge --info and emerge -pv: ---------------------------- # emerge --info Portage 2.1.3_rc6 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 x86_64) ================================================================= System uname: 2.6.21-gentoo-r3 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 03 Jul 2007 18:30:02 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/ ftp://ftp.lug.ro/gentoo http://ftp.lug.ro/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 arts avi berkdb bitmap-fonts cairo cdr cli composite cracklib crypt cups dbus dlloader dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif glx gnome gpm gstreamer gtk gtk2 hal iconv isdnlog jabber jpeg kde kdeenablefinal kerberos ldap libg libg++ lirc mad midi mikmod mmx mozdevelop mp3 mpeg mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp openssl oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session speex spell spl sse sse2 sse3 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis xcomposite xgl xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ---------------------------- # emerge -pv =dev-util/kdevelop-3.4.1 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-util/kdevelop-3.4.1 USE="arts fortran perl php python sql subversion xinerama -ada -clearcase -cvs -debug -haskell -java -pascal -perforce -ruby (-graphviz%)" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB ---------------------------- Thanks
Does it work if you disable ccache or use MAKEOPTS="-j1"?
Yes, disabling ccache I see it's working. (I have not tested with MAKEOPTS="-j1" instead MAKEOPTS="-j5" since it's working after disabling ccache) Thanks
Please always try disabling/clearing out the ccache before posting a bug. Glad to hear it works now. :-)