Bug 310593

Summary: Fails to build with libraries for KDE SC 4.10 (i.e. 4.9.80)
Product: [Applications] kphotoalbum Reporter: Scott Kitterman <kde>
Component: generalAssignee: KPhotoAlbum Bugs <kpabugs>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: 4.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Scott Kitterman 2012-11-24 05:22:13 UTC
There are (apparently) API changes in libkipi and libkexiv2.  I don't know what other issues there are, but this is where the build failed when rebuilding kphotoalbum 4.3 with KDE SC 4.9.80.

[ 20%] Building CXX object CMakeFiles/kphotoalbum.dir/Plugins/Interface.o
/usr/lib/ccache/c++   -DKDAB_NYI=qWarning -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=11 -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -I/tmp/buildd/kphotoalbum-4.3/obj-i686-linux-gnu -I/tmp/buildd/kphotoalbum-4.3 -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -UQT_NO_EXCEPTIONS -DOVERRIDE=       -o CMakeFiles/kphotoalbum.dir/Plugins/Interface.o -c /tmp/buildd/kphotoalbum-4.3/Plugins/Interface.cpp
In file included from /tmp/buildd/kphotoalbum-4.3/DB/GpsCoordinates.h:25:0,
                 from /tmp/buildd/kphotoalbum-4.3/DB/ImageInfo.h:25,
                 from /tmp/buildd/kphotoalbum-4.3/DB/ImageInfoList.h:22,
                 from /tmp/buildd/kphotoalbum-4.3/Plugins/ImageCollection.h:24,
                 from /tmp/buildd/kphotoalbum-4.3/Plugins/Interface.cpp:24:
/usr/include/marble/global.h:2:2: warning: #warning global.h is deprecated. Please #include <marble/MarbleGlobal.h> instead (no further changes needed). [-Wcpp]
In file included from /tmp/buildd/kphotoalbum-4.3/Plugins/Interface.cpp:25:0:
/tmp/buildd/kphotoalbum-4.3/Plugins/ImageInfo.h:53:35: error: 'KIPI::TimeSpec' has not been declared
/tmp/buildd/kphotoalbum-4.3/Plugins/ImageInfo.h:54:56: error: 'KIPI::TimeSpec' has not been declared
make[4]: *** [CMakeFiles/kphotoalbum.dir/Plugins/Interface.o] Error 1
Comment 1 Christoph Feck 2012-11-24 20:09:38 UTC

*** This bug has been marked as a duplicate of bug 307148 ***