Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255023 - kde-base/kdelibs-4.1.4 does not compile - qhash.h:860: error: call of overloaded `qHash(const QUrl&)' is ambiguous
Summary: kde-base/kdelibs-4.1.4 does not compile - qhash.h:860: error: call of overloa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 10:16 UTC by Laurent Salle
Modified: 2009-02-14 17:46 UTC (History)
0 users

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


Attachments
Complete build log (build.log,942.89 KB, text/plain)
2009-01-15 10:20 UTC, Laurent Salle
Details
Ebuild environment file (environment,123.64 KB, text/plain)
2009-01-15 10:22 UTC, Laurent Salle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Salle 2009-01-15 10:16:24 UTC
Build of kde-base/kdelibs-4.1.4 fail with error message 

/usr/include/qt4/QtCore/qhash.h:860: error: call of overloaded `qHash(const QUrl&)' is ambiguous

Reproducible: Always

Steps to Reproduce:
1. emerge =kde-base/kdelibs-4.1.4


Actual Results:  
Build fail with this output:

[ 97%] Building CXX object nepomuk/core/CMakeFiles/nepomuk.dir/resourcemanager.o
[ 97%] Building CXX object nepomuk/core/CMakeFiles/nepomuk.dir/nepomukmainmodel.o
[ 97%] Building CXX object nepomuk/core/CMakeFiles/nepomuk.dir/resourcefiltermodel.o
/usr/include/qt4/QtCore/qhash.h: In member function `typename QHash<Key, T>::Node** QHash<Key, T>::findNode(const Key&, uint*) const [with Key = QUrl, T = QHashDummyValue]':
/usr/include/qt4/QtCore/qhash.h:741:   instantiated from `typename QHash<Key, T>::iterator QHash<Key, T>::insert(const Key&, const T&) [with Key = QUrl, T = QHashDummyValue]'
/usr/include/qt4/QtCore/qset.h:175:   instantiated from `QSet<T>::const_iterator QSet<T>::insert(const T&) [with T = QUrl]'
/var/tmp/portage/kde-base/kdelibs-4.1.4/work/kdelibs-4.1.4/nepomuk/core/resourcefiltermodel.cpp:181:   instantiated from here
/usr/include/qt4/QtCore/qhash.h:860: error: call of overloaded `qHash(const QUrl&)' is ambiguous
/var/tmp/portage/kde-base/kdelibs-4.1.4/work/kdelibs-4.1.4/nepomuk/core/resourcefiltermodel.cpp:52: note: candidates are: uint qHash(const Soprano::Node&)
/var/tmp/portage/kde-base/kdelibs-4.1.4/work/kdelibs-4.1.4/nepomuk/core/resourcefiltermodel.cpp:46: note:                 uint Soprano::qHash(const Soprano::Node&)
/usr/include/qt4/QtCore/qhash.h: In member function `typename QHash<Key, T>::Node** QHash<Key, T>::findNode(const Key&, uint*) const [with Key = Soprano::Node, T = QHashDummyValue]':
/usr/include/qt4/QtCore/qhash.h:741:   instantiated from `typename QHash<Key, T>::iterator QHash<Key, T>::insert(const Key&, const T&) [with Key = Soprano::Node, T = QHashDummyValue]'
/usr/include/qt4/QtCore/qset.h:175:   instantiated from `QSet<T>::const_iterator QSet<T>::insert(const T&) [with T = Soprano::Node]'
/usr/include/qt4/QtCore/qset.h:297:   instantiated from `QSet<T> QList<T>::toSet() const [with T = Soprano::Node]'
/var/tmp/portage/kde-base/kdelibs-4.1.4/work/kdelibs-4.1.4/nepomuk/core/resourcefiltermodel.cpp:105:   instantiated from here
/usr/include/qt4/QtCore/qhash.h:860: error: call of overloaded `qHash(const Soprano::Node&)' is ambiguous
/var/tmp/portage/kde-base/kdelibs-4.1.4/work/kdelibs-4.1.4/nepomuk/core/resourcefiltermodel.cpp:52: note: candidates are: uint qHash(const Soprano::Node&)
/var/tmp/portage/kde-base/kdelibs-4.1.4/work/kdelibs-4.1.4/nepomuk/core/resourcefiltermodel.cpp:46: note:                 uint Soprano::qHash(const Soprano::Node&)
make[2]: *** [nepomuk/core/CMakeFiles/nepomuk.dir/resourcefiltermodel.o] Error 1
make[1]: *** [nepomuk/core/CMakeFiles/nepomuk.dir/all] Error 2
make: *** [all] Error 2



emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.26-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Thu, 15 Jan 2009 08:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
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.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-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/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
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 acl acpi alsa avi berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus divx4linux dri dv dvd dvdr dvdread eds emboss encode esd evo fam fame firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification subtitles svg sysfs tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xml xorg xulrunner xv xvid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Laurent Salle 2009-01-15 10:20:05 UTC
Created attachment 178567 [details]
Complete build log

/var/tmp/portage/kde-base/kdelibs-4.1.4/temp/build.log kde-base/kdelibs-4.1.4
Comment 2 Laurent Salle 2009-01-15 10:22:41 UTC
Created attachment 178569 [details]
Ebuild environment file

/var/tmp/portage/kde-base/kdelibs-4.1.4/temp/environment
Comment 3 Laurent Salle 2009-02-14 17:46:21 UTC
Problem solved with later versions of this packages.