Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282796 - akonadi-server-1.2.0 fails to build with generic error
Summary: akonadi-server-1.2.0 fails to build with generic error
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-26 12:55 UTC by Mark Haney
Modified: 2009-10-11 14:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log for akonadi server (build.log,28.99 KB, text/plain)
2009-08-26 12:55 UTC, Mark Haney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Haney 2009-08-26 12:55:13 UTC
I'm upgrading to KDE 4.3.0 and I"m unable to get akonadi-server-1.2.0 to build at all on my system.  It fails with a pretty generic error:

usr/include/qt4/QtCore/qhash.h:92: note:                 uint qHash(const QBitArray&)                                           
make[2]: *** [server/CMakeFiles/akonadiprivate.dir/src/search/result.cpp.o] Error 1                                              
make[2]: *** Waiting for unfinished jobs....                                                                                     
make[1]: *** [server/CMakeFiles/akonadiprivate.dir/all] Error 2                                                                  
make: *** [all] Error 2                                                                                                          
 *                                                                                                                               
 * ERROR: app-office/akonadi-server-1.2.0 failed.                                                                                
 * Call stack:                                                                                                                   
 *               ebuild.sh, line   49:  Called src_compile                                                                       
 *             environment, line 2927:  Called cmake-utils_src_compile                                                           
 *             environment, line  767:  Called cmake-utils_src_make                                                              
 *             environment, line  847:  Called die                                                                               
 * The specific snippet of code:                                                                                                 
 *           emake "$@" || die "Make failed!";                                                                                   
 *  The die message:                                                                                                             
 *   Make failed!                                                          



Reproducible: Always

Steps to Reproduce:
1.emerge -av akonadi-server
2. emerge fails
3.

Actual Results:  
Just trying to emerge the package fails.

Expected Results:  
It should compile correctly.


octavian ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================                                 
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 25 Aug 2009 14:45:01 +0000                                                 
app-shells/bash:     3.2_p39                                                                       
dev-java/java-config: 1.3.7-r1, 2.1.8-r1                                                           
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1, 3.1.1                                              
dev-python/pycrypto: 2.0.1-r8                                                                      
dev-util/cmake:      2.6.4-r2                                                                      
sys-apps/baselayout: 1.12.11.1                                                                     
sys-apps/sandbox:    2.0                                                                           
sys-devel/autoconf:  2.13, 2.63-r1                                                                 
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.2                      
sys-devel/binutils:  2.19.1-r1                                                                     
sys-devel/gcc-config: 1.4.1                                                                        
sys-devel/libtool:   2.2.6a                                                                        
virtual/os-headers:  2.6.27-r2                                                                     
ACCEPT_KEYWORDS="amd64"                                                                            
CBUILD="x86_64-pc-linux-gnu"                                                                       
CFLAGS="-march=k8 -pipe -O2"                                                                       
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/splash /etc/terminfo /etc/udev/rules.d"                                                                                                          
CXXFLAGS="-march=k8 -pipe -O2"                                                                                                   
DISTDIR="/usr/portage/distfiles"                                                                                                 
FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"          
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.seren.com/gentoo"                                                        
LANG="en_US.ISO-8859-1"                                                                                                          
LC_ALL="en_US.ISO-8859-1"                                                                                                        
LDFLAGS="-Wl,-O1"                                                                                                                
MAKEOPTS="-j2"                                                                                                                   
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.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 arts berkdb bzip2 cdr cli cracklib crypt cups dri dvd dvdr dvdread encode faad flac fortran gdbm gpm hal iconv ipv6 irc isdnlog jpeg kde mad mmx mng mozbranding mp3 mp4 mpeg msn mudflap multilib mysql ncurses nls nowlistening nptl nptlonly nsplugin ogg opengl openmp oscar pam pcre pdf perl png pppd python qt qt3 qt3support qt4 readline reflection sasl sdl session sndfile spl sse sse2 ssl svg symlink sysfs tcpd tk unicode vorbis wlm x264 xcb xcomposite xml xorg xvid yahoo 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mark Haney 2009-08-26 12:55:43 UTC
Created attachment 202318 [details]
Build log for akonadi server
Comment 2 Duncan 2009-08-26 18:26:56 UTC
What you quoted is the end of the error, the actual error bit is above:

[snip most of of the stack instantiated stack]
server-1.2.0/work/akonadi-1.2.0/server/src/search/result.cpp:88:   instantiated from here
/usr/include/qt4/QtCore/qhash.h:855: error: no matching function for call to 'qHash(const QUrl&)'
/usr/include/qt4/QtCore/qhash.h:63: note: candidates are: uint qHash(char)
[more candidates]

What does equery list qt-\* show (simply equery list qt may work in earlier versions, the idea is to get a list of all your qt4 components).  Are all the version numbers (except for qt-3, perhaps) matching?  If you have qt-core from one version and qt-sql, say, from a different version, it's not going to work.  They all have to be the same upstream version (tho not Gentoo -rX version).  All mine are v 4.5.2, for instance.
Comment 3 Mark Haney 2009-08-26 18:48:52 UTC
    [I--] [M~] x11-libs/qt-assistant-4.5.2 (4)
    [I--] [M~] x11-libs/qt-core-4.5.2 (4)
    [I--] [M~] x11-libs/qt-dbus-4.5.2 (4)
    [I--] [M~] x11-libs/qt-gui-4.5.2-r2 (4)
    [I--] [M~] x11-libs/qt-opengl-4.5.2 (4)
    [I--] [M~] x11-libs/qt-qt3support-4.5.2 (4)
    [I--] [M~] x11-libs/qt-script-4.5.2 (4)
    [I--] [M~] x11-libs/qt-sql-4.5.2 (4)
    [I--] [M~] x11-libs/qt-svg-4.5.2 (4)
    [I--] [M~] x11-libs/qt-test-4.5.2 (4)
    [I--] [M~] x11-libs/qt-webkit-4.5.2-r1 (4)
    [I--] [M~] x11-libs/qt-xmlpatterns-4.5.2 (4)

    This shows that I have all qt versions of 4.5.2 (the only difference that
    wasn't listed is that I still have the qt-4.4.2 'meta' ebuild on here and
    qt-3.3.8 as well.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-10-11 14:21:57 UTC
Reopen if this is still an issue with 4.3.1 and 1.2.1.