Bug 313160 - Unable to compile on KDE 4.10.x on openSUSE 12.2 and Factory aka 12.3 M3
Summary: Unable to compile on KDE 4.10.x on openSUSE 12.2 and Factory aka 12.3 M3
Status: RESOLVED DUPLICATE of bug 307148
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: 4.3
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL: http://https://build.opensuse.org/pac...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-13 01:12 UTC by P Linnell
Modified: 2013-01-13 06:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description P Linnell 2013-01-13 01:12:59 UTC
Here is the build failure:

[  192s] [ 48%] Building CXX object CMakeFiles/kphotoalbum.dir/Plugins/ImageInfo.o
[  192s] /usr/bin/c++   -DKDAB_NYI=qWarning -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=27 -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 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g  -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 -O2 -DNDEBUG -DQT_NO_DEBUG -I/home/abuild/rpmbuild/BUILD/kphotoalbum-4.2 -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fexceptions -UQT_NO_EXCEPTIONS -DOVERRIDE=       -o CMakeFiles/kphotoalbum.dir/Plugins/ImageInfo.o -c /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp
[  192s] In file included from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/DB/GpsCoordinates.h:25:0,
[  192s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/DB/ImageInfo.h:25,
[  192s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/DB/ImageInfoList.h:22,
[  192s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/DB/ImageDB.h:23,
[  192s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp:22:
[  192s] /usr/include/marble/global.h:2:2: warning: #warning global.h is deprecated. Please #include <marble/MarbleGlobal.h> instead (no further changes needed). [-Wcpp]
[  192s] In file included from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp:21:0:
[  192s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.h:53:35: error: 'KIPI::TimeSpec' has not been declared
[  192s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.h:54:56: error: 'KIPI::TimeSpec' has not been declared
[  192s] In file included from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/Interface.cpp:25:0:
[  192s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.h:53:35: error: 'KIPI::TimeSpec' has not been declared
[  192s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.h:54:56: error: 'KIPI::TimeSpec' has not been declared
[  193s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp:186:43: error: 'QDateTime Plugins::ImageInfo::time' is not a static member of 'class Plugins::ImageInfo'
[  193s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp:186:37: error: 'TimeSpec' is not a member of 'KIPI'
[  193s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp:186:37: note: suggested alternative:
[  193s] In file included from /usr/include/QtCore/qbytearray.h:46:0,
[  193s]                  from /usr/include/QtCore/qstring.h:46,
[  193s]                  from /usr/include/QtCore/QString:1,
[  193s]                  from /usr/include/libkipi/imageinfoshared.h:39,
[  193s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.h:23,
[  193s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp:21:
[  193s] /usr/include/QtCore/qnamespace.h:1404:10: note:   'Qt::TimeSpec'
[  193s] /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageInfo.cpp:187:1: error: expected ',' or ';' before '{' token
[  193s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/CMakeFiles 25
[  193s] [ 49%] Building CXX object CMakeFiles/kphotoalbum.dir/Plugins/CategoryImageCollection.o
[  193s] /usr/bin/c++   -DKDAB_NYI=qWarning -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=27 -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 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g  -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 -O2 -DNDEBUG -DQT_NO_DEBUG -I/home/abuild/rpmbuild/BUILD/kphotoalbum-4.2 -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fexceptions -UQT_NO_EXCEPTIONS -DOVERRIDE=       -o CMakeFiles/kphotoalbum.dir/Plugins/CategoryImageCollection.o -c /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/CategoryImageCollection.cpp
[  193s] make[2]: *** [CMakeFiles/kphotoalbum.dir/Plugins/ImageInfo.o] Error 1
[  193s] make[2]: *** Waiting for unfinished jobs....
[  193s] In file included from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/DB/GpsCoordinates.h:25:0,
[  193s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/DB/ImageInfo.h:25,
[  193s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/DB/ImageInfoList.h:22,
[  193s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/ImageCollection.h:24,
[  193s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/CategoryImageCollection.h:23,
[  193s]                  from /home/abuild/rpmbuild/BUILD/kphotoalbum-4.2/Plugins/CategoryImageCollection.cpp:22:
[  193s] /usr/include/marble/global.h:2:2: warning: #warning global.h is deprecated. Please #include <marble/MarbleGlobal.h> instead (no further changes needed). [-Wcpp]
[  194s] make[2]: *** [CMakeFiles/kphotoalbum.dir/Plugins/Interface.o] Error 1
[  195s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/kphotoalbum-4.2'
[  195s] make[1]: *** [CMakeFiles/kphotoalbum.dir/all] Error 2
[  195s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/kphotoalbum-4.2'
[  195s] make: *** [all] Error 2
[  195s] error: Bad exit status from /var/tmp/rpm-tmp.kNpZJm (%build)
[  195s] 
[  195s] 
[  195s] RPM build errors:
[  195s]     Bad exit status from /var/tmp/rpm-tmp.kNpZJm (%build)
Comment 1 Hrvoje Senjan 2013-01-13 02:51:13 UTC
See bug # 307148
Comment 2 Miika Turkia 2013-01-13 06:41:14 UTC

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