Bug 291613 - Akonadi::EntityListCache already had a body defined
Summary: Akonadi::EntityListCache already had a body defined
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdepimlibs
Classification: Applications
Component: kpimutils (show other bugs)
Version: 4.8
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 21:40 UTC by tropikhajma
Modified: 2017-01-07 22:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2012-01-15 21:40:44 UTC
Version:           4.8 (using Devel) 
OS:                Solaris

building kdepimlibs 4.7.97 fails with the below error.
I do not know enough c++ to be sure if the problem lies in kdepimlibs or in the compiler though.




Reproducible: Always

Steps to Reproduce:
try to build kdepimlibc

Actual Results:  
[ 30%] Building CXX object akonadi/CMakeFiles/akonadi-kde.dir/agentbase.o
cd /opt/test2/packages/BUILD/KDEpimlibs-4.7.97/i386/kdepimlibs-4.7.97/build-kdepimlibs-4.7.97/akonadi && /opt/test2/SolarisStudio12.3-solaris-x86-bin/solarisstudio12.3/bin/CC   -DMAKE_AKONADI_KDE_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=48 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DKDE_DEFAULT_DEBUG_AREA=5250 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -D__EXTENSIONS__ -DSOLARIS -DLDAP_DEPRECATED -library=stdcxx4 -D_REENTRANT -DNDEBUG -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT  -D_XOPEN_SOURCE=500 -D_XPG5   -I/opt/kde4/include -lgpg-error  -features=extensions,nestedaccess,tmplrefstatic -template=geninlinefuncs -s -xlang=c99 -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -xbuiltin=%all -xinline=%auto -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -KPIC -DPIC -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s -m32 -xarch=sse2 -lc -lm -ldl -lpthread -lposix4 -lrt -Y P,/opt/kde4/lib -i -L/opt/kde4/lib -R/opt/kde4/lib -L/usr/lib -R/usr/lib -Bdynamic -library=stdcxx4 -lCrun -lc -lm   -g -xO3 -DQT_NO_DEBUG -KPIC -I/opt/test2/packages/BUILD/KDEpimlibs-4.7.97/i386/kdepimlibs-4.7.97/build-kdepimlibs-4.7.97/akonadi -I/opt/test2/packages/BUILD/KDEpimlibs-4.7.97/i386/kdepimlibs-4.7.97/akonadi -I/opt/test2/packages/BUILD/KDEpimlibs-4.7.97/i386/kdepimlibs-4.7.97 -I/opt/test2/packages/BUILD/KDEpimlibs-4.7.97/i386/kdepimlibs-4.7.97/build-kdepimlibs-4.7.97 -I/opt/kde4/include -I/opt/kde4/include/KDE -I/opt/kde4/include/QtXmlPatterns -I/opt/kde4/include/QtXml -I/opt/kde4/include/QtWebKit -I/opt/kde4/include/QtUiTools -I/opt/kde4/include/QtTest -I/opt/kde4/include/QtSvg -I/opt/kde4/include/QtSql -I/opt/kde4/include/QtScriptTools -I/opt/kde4/include/QtScript -I/opt/kde4/include/QtOpenGL -I/opt/kde4/include/QtNetwork -I/opt/kde4/include/QtMultimedia -I/opt/kde4/include/QtHelp -I/opt/kde4/include/QtDesigner -I/opt/kde4/include/QtDeclarative -I/opt/kde4/include/QtDBus -I/opt/kde4/include/Qt3Support -I/opt/kde4/include/QtGui -I/opt/kde4/include/QtCore -I/opt/kde4/include/Qt -I/opt/kde4/share/mkspecs/default -I/usr/X11/include -I/opt/kde4/include/boost-1_46_1 -I/opt/kde4/include/akonadi/private     -D_LARGEFILE64_SOURCE -o CMakeFiles/akonadi-kde.dir/agentbase.o -c /opt/test2/packages/BUILD/KDEpimlibs-4.7.97/i386/kdepimlibs-4.7.97/akonadi/agentbase.cpp
"/opt/test2/packages/BUILD/KDEpimlibs-4.7.97/i386/kdepimlibs-4.7.97/akonadi/entitycache_p.h", line 468: Error: Akonadi::EntityListCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::createFetchJob<Akonadi::EntityListCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::TArg>(const QList<Akonadi::EntityListCache<Akonadi::T, Akonadi::FetchJob, Akonadi::FetchScope_>::TArg>&) already had a body defined.
1 Error(s) detected.

Expected Results:  
succeeds

Solaris 11, Solaris Studio 12.3
Comment 1 Denis Kurz 2016-09-24 20:56:16 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kdepim (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:48:43 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.