akonadi-server-1.3.1 build fails. Since all of KDE 4.4.0 depends on akonadi-1.3.1, updating world is pretty much stuck. I didn't find anything about this bug on the web, so any help getting it fixed is much appreciated. The build log is exceptionally unhelpful. Here are the last few lines: [ 69%] Building CXX object server/CMakeFiles/akonadiprivate.dir/queryserviceinterface.cpp.o [ 69%] Building CXX object server/CMakeFiles/akonadiprivate.dir/queryinterface.cpp.o [ 70%] Building CXX object server/CMakeFiles/akonadiprivate.dir/qrc_akonadidb.cxx.o Linking CXX shared library ../lib/libakonadiprivate.so [ 70%] Built target akonadiprivate make: *** [all] Error 2 * ERROR: app-office/akonadi-server-1.3.1 failed: * Make failed! * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3013: Called cmake-utils_src_compile * environment, line 751: Called _execute_optionaly 'src_compile' * environment, line 234: Called enable_cmake-utils_src_compile * environment, line 1108: Called cmake-utils_src_make * environment, line 770: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * * If you need support, post the output of 'emerge --info =app-office/akonadi-server-1.3.1', * the complete build log and the output of 'emerge -pqv =app-office/akonadi-server-1.3.1'. * The complete build log is located at '/var/tmp/portage/app-office/akonadi-server-1.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/akonadi-server-1.3.1/temp/environment'. * S: '/var/tmp/portage/app-office/akonadi-server-1.3.1/work/akonadi-1.3.1' Reproducible: Always emerge --info Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1 Timestamp of tree: Wed, 17 Feb 2010 08:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.1_p2 dev-java/java-config: 2.1.10 dev-lang/python: 2.5.4-r2, 2.6.4-r1, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc: 3.4.6-r2, 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.32 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=athlon64 -O2 -pipe -ggdb -Wno-implicit" CHOST="x86_64-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="-mtune=athlon64 -O2 -pipe -ggdb -Wno-implicit" 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" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" 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="3dnow X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus doc dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal htmlhandbook iconv ipv6 java jpeg kde ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xcomposite xml xorg xulrunner xv xvid xvmc 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 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" APACHE2_MPMS="peruser" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
emerge -pqv =app-office/akonadi-server-1.3.1 [ebuild U ] app-office/akonadi-server-1.3.1 [1.2.1] USE="mysql -postgres% -sqlite"
Created attachment 220087 [details] The full build log
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:/usr/lib64/qt4/libQtTest.so: file format not recognized; treating as linker script /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:/usr/lib64/qt4/libQtTest.so:1: syntax error collect2: ld returned 1 exit status I'd say it's a ccache failure but I can see your ccache is disabled `emerge --info` so I'm going with broken Qt4 installation I suggest: # rm -f /usr/lib64/qt4/libQtTest.so* # emerge -1 qt-test
(In reply to comment #3) > I suggest: > > # rm -f /usr/lib64/qt4/libQtTest.so* > # emerge -1 qt-test > Yes, that solved it. So, not an akonadi-server bug. When I emerged qt-test, I got that message: portage: COUNTER for x11-libs/qt-test-4.6.2 was corrupted; resetting to value of 0 Apparently something went wrong when I emerged qt-test. Thanks for the quick reply!