[59/1218] Building CXX object kwalletd/tests/CMakeFiles/kwalletwizardtest.dir/__/kwalletwizard.o FAILED: /usr/lib/ccache/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=19 -DKDE_DEFAULT_DEBUG_AREA=285 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -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 -g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline -Ikwalletd/tests -I/home/krf/devel/src/kde-runtime/kwalletd/tests -I/home/krf/devel/src/kde-runtime -I. -I/home/krf/devel/src/kde-runtime/kwalletd/backend -I/home/krf/devel/src/kde-runtime/kwalletd/tests/.. -I/home/krf/devel/install/master/include -I/home/krf/devel/install/master/include/KDE -I/home/krf/devel/build/qt4.8-shared-debug/include/KDE -I/home/krf/devel/build/qt4.8-shared-debug/include -I/home/krf/devel/build/qt4.8-shared-debug/include/QtXmlPatterns -I/home/krf/devel/build/qt4.8-shared-debug/include/QtXml -I/home/krf/devel/build/qt4.8-shared-debug/include/QtWebKit -I/home/krf/devel/build/qt4.8-shared-debug/include/QtUiTools -I/home/krf/devel/build/qt4.8-shared-debug/include/QtTest -I/home/krf/devel/build/qt4.8-shared-debug/include/QtSvg -I/home/krf/devel/build/qt4.8-shared-debug/include/QtSql -I/home/krf/devel/build/qt4.8-shared-debug/include/QtScriptTools -I/home/krf/devel/build/qt4.8-shared-debug/include/QtScript -I/home/krf/devel/build/qt4.8-shared-debug/include/QtOpenGL -I/home/krf/devel/build/qt4.8-shared-debug/include/QtNetwork -I/home/krf/devel/build/qt4.8-shared-debug/include/QtMultimedia -I/home/krf/devel/build/qt4.8-shared-debug/include/QtHelp -I/home/krf/devel/build/qt4.8-shared-debug/include/QtDesigner -I/home/krf/devel/build/qt4.8-shared-debug/include/QtDeclarative -I/home/krf/devel/build/qt4.8-shared-debug/include/QtDBus -I/home/krf/devel/build/qt4.8-shared-debug/include/Qt3Support -I/home/krf/devel/build/qt4.8-shared-debug/include/QtGui -I/home/krf/devel/build/qt4.8-shared-debug/include/QtCore -I/home/krf/devel/build/qt4.8-shared-debug/include/Qt -I/home/krf/devel/build/qt4.8-shared-debug/mkspecs/default -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DKDESRCDIR="\"/home/krf/devel/src/kde-runtime/kwalletd/tests/\"" -MMD -MT kwalletd/tests/CMakeFiles/kwalletwizardtest.dir/__/kwalletwizard.o -MF "kwalletd/tests/CMakeFiles/kwalletwizardtest.dir/__/kwalletwizard.o.d" -o kwalletd/tests/CMakeFiles/kwalletwizardtest.dir/__/kwalletwizard.o -c /home/krf/devel/src/kde-runtime/kwalletd/kwalletwizard.cpp /home/krf/devel/src/kde-runtime/kwalletd/kwalletwizard.cpp:123:5: error: 'KWalletWizardPagePasswordGpg' in namespace 'Ui' does not name a type /home/krf/devel/src/kde-runtime/kwalletd/kwalletwizard.cpp: In constructor 'PagePassword::PagePassword(QWidget*)': /home/krf/devel/src/kde-runtime/kwalletd/kwalletwizard.cpp:83:9: error: 'ui' was not declared in this scope /home/krf/devel/src/kde-runtime/kwalletd/kwalletwizard.cpp: In member function 'void PagePassword::setMatchLabelText(const QString&)': /home/krf/devel/src/kde-runtime/kwalletd/kwalletwizard.cpp:119:9: error: 'ui' was not declared in this scope Reproducible: Always
*** Bug 328990 has been marked as a duplicate of this bug. ***
Git commit 47f54d65518cfcda5e4f9afc9c3ff941209b4920 by Valentin Rusu. Committed on 22/12/2013 at 19:58. Pushed by vrusu into branch 'KDE/4.12'. Fix compile when QGpgme is not present FIXED-IN: 4.12.1 M +4 -0 kwalletd/kwalletd.cpp M +4 -0 kwalletd/kwalletwizard.cpp http://commits.kde.org/kde-runtime/47f54d65518cfcda5e4f9afc9c3ff941209b4920
Git commit 988b34c558beb783d17e1be6bf4e115b22133bdb by Valentin Rusu. Committed on 22/12/2013 at 19:58. Pushed by vrusu into branch 'master'. Fix compile when QGpgme is not present FIXED-IN: 4.12.1 M +4 -0 kwalletd/kwalletd.cpp M +4 -0 kwalletd/kwalletwizard.cpp http://commits.kde.org/kde-runtime/988b34c558beb783d17e1be6bf4e115b22133bdb
Still fails on my system. [ 29%] Building CXX object kwalletd/backend/CMakeFiles/kwalletbackend.dir/kwalletbackend.o cd /tmp/portage_build/portage/kde-base/kwalletd-4.12.0/work/kwalletd-4.12.0_build/kwalletd/backend && /usr/bin/x86_64-pc-linux-gnu-g++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=56 -DKDE_DEPRECATED_WARNINGS -DMAKE_KWALLETBACKEND_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -DQT_NO_DEBUG -DNDEBUG -O2 -march=amdfam10 -pipe -fno-ident -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 -fvisibility-inlines-hidden -fPIC -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.0/work/kwalletd-4.12.0_build/kwalletd/backend -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.0/work/kwalletd-4.12.0/kwalletd/backend -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.0/work/kwalletd-4.12.0 -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.0/work/kwalletd-4.12.0_build -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -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/QtOpenGL -I/usr/include/qt4/QtNetwork -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 -o CMakeFiles/kwalletbackend.dir/kwalletbackend.o -c /tmp/portage_build/portage/kde-base/kwalletd-4.12.0/work/kwalletd-4.12.0/kwalletd/backend/kwalletbackend.cc /tmp/portage_build/portage/kde-base/kwalletd-4.12.0/work/kwalletd-4.12.0/kwalletd/backend/kwalletbackend.cc:31:25: fatal error: gpgme++/key.h: No such file or directory #include <gpgme++/key.h> ^ compilation terminated.
Created attachment 84249 [details] Fix bulid without qgpgme Can the people still finding fails test this patch? I had this on the Reviewboard and discarded it blindly thinking the bug had been solved, but apparently not.
Git commit 4423528b0c8303e0d664d72a6f12b79cb4bfdf8c by Valentin Rusu. Committed on 23/12/2013 at 20:48. Pushed by vrusu into branch 'master'. Further fix compilation without GPGME FIXED-IN: 4.12.1 M +2 -0 kwalletd/backend/kwalletbackend.cc http://commits.kde.org/kde-runtime/4423528b0c8303e0d664d72a6f12b79cb4bfdf8c
Git commit 4e22366d7061cf96c7405178f79099721eac9099 by Valentin Rusu. Committed on 23/12/2013 at 20:48. Pushed by vrusu into branch 'KDE/4.12'. Further fix compilation without GPGME FIXED-IN: 4.12.1 M +2 -0 kwalletd/backend/kwalletbackend.cc http://commits.kde.org/kde-runtime/4e22366d7061cf96c7405178f79099721eac9099
(In reply to comment #5) > Created attachment 84249 [details] > Fix bulid without qgpgme > > Can the people still finding fails test this patch? I had this on the > Reviewboard and discarded it blindly thinking the bug had been solved, but > apparently not. Yeah, you got it right ;-) (In reply to comment #5) > Created attachment 84249 [details] > Fix bulid without qgpgme > > Can the people still finding fails test this patch? I had this on the > Reviewboard and discarded it blindly thinking the bug had been solved, but > apparently not. Yeah, you got it right, as I can see ;-) Better had seen this before, I would have done only one commit :)
Valentin you forgot change #ifdef kwalletwizard.h and kwalletwizard.h
Created attachment 84512 [details] fix headers includes without gpgme++ This finally fixes my build without gpgme++.
Still present in kde 4.12.1 because includes are not ifdefed In file included from /var/tmp/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1/kwalletd/kwalletwizard.cpp:19:0: /var/tmp/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1/kwalletd/kwalletwizard.h:23:25: fatal error: gpgme++/key.h: No such file or directory #include <gpgme++/key.h> ^ compilation terminated. kwalletd/CMakeFiles/kdeinit_kwalletd.dir/build.make:186: recipe for target 'kwalletd/CMakeFiles/kdeinit_kwalletd.dir/kwalletwizard.o' failed make[2]: *** [kwalletd/CMakeFiles/kdeinit_kwalletd.dir/kwalletwizard.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1/kwalletd/kwalletd.cpp:28:0: /var/tmp/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1/kwalletd/kwalletwizard.h:23:25: fatal error: gpgme++/key.h: No such file or directory #include <gpgme++/key.h> ^
Git commit 3ecfd295947fce6c2009ca23e626887bafece1ea by Valentin Rusu. Committed on 20/01/2014 at 21:37. Pushed by vrusu into branch 'master'. Fix compilation withoug gpgme FIXED-IN: 4.12.2 FIXED-IN: 4.13 M +2 -0 kwalletd/kwalletwizard.h http://commits.kde.org/kde-runtime/3ecfd295947fce6c2009ca23e626887bafece1ea
Git commit 3cb6fd6ca583be37c7052e7d4c867ff3d15da3bd by Valentin Rusu. Committed on 20/01/2014 at 21:37. Pushed by vrusu into branch 'KDE/4.12'. Fix compilation withoug gpgme FIXED-IN: 4.12.2 FIXED-IN: 4.13 M +2 -0 kwalletd/kwalletwizard.h http://commits.kde.org/kde-runtime/3cb6fd6ca583be37c7052e7d4c867ff3d15da3bd
Valentin you must ifdef kwalletd.cpp too because build still fails Building CXX object kwalletd/CMakeFiles/kdeinit_kwalletd.dir/kwalletadaptor.o cd /tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1_build/kwalletd && /usr/bin/x86_64-pc-linux-gnu-g++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=56 -DKDE_DEFAULT_DEBUG_AREA=285 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -Dkdeinit_kwalletd_EXPORTS -DQT_NO_DEBUG -DNDEBUG -O2 -march=corei7-avx -pipe -fno-ident -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 -fvisibility-inlines-hidden -fPIC -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1_build/kwalletd -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1/kwalletd -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1 -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1_build -I/tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1/kwalletd/backend -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -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/QtOpenGL -I/usr/include/qt4/QtNetwork -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 -o CMakeFiles/kdeinit_kwalletd.dir/kwalletadaptor.o -c /tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1_build/kwalletd/kwalletadaptor.cpp /tmp/portage_build/portage/kde-base/kwalletd-4.12.1/work/kwalletd-4.12.1/kwalletd/kwalletd.cpp:52:25: fatal error: gpgme++/key.h: No such file or directory #include <gpgme++/key.h> ^ compilation terminated.
Git commit ab50cbc858e6e599673d9b0f39a677d2af8f0ba0 by Valentin Rusu. Committed on 20/01/2014 at 22:48. Pushed by vrusu into branch 'KDE/4.12'. Fix compilation without gpgme++ M +2 -0 kwalletd/kwalletd.cpp http://commits.kde.org/kde-runtime/ab50cbc858e6e599673d9b0f39a677d2af8f0ba0
Git commit 6a79fc09c0b0d48bd0cc09d32fb0c8b306251c00 by Valentin Rusu. Committed on 20/01/2014 at 22:48. Pushed by vrusu into branch 'master'. Fix compilation without gpgme++ M +2 -0 kwalletd/kwalletd.cpp http://commits.kde.org/kde-runtime/6a79fc09c0b0d48bd0cc09d32fb0c8b306251c00