Fwd: [Kde-dashboard] Failed 4.4/kdebase-workspace r1013206
David Faure
faure at kde.org
Wed Aug 19 18:23:28 CEST 2009
I got the same error as the one forwarded below, when compiling plasma with
unit-tests enabled, here.
The problem is that the unittest in common/tests uses header files from
desktop/, which use generated headers (ui_MousePlugins.h).
In a clean build, the generated header doesn't exist, and the build fails in
common. I assume that desktop depends on common anyway, so adding
dependencies seems a bit tricky. If the unittest needs to link to the lib
created by desktop/, then even forward-declaring Ui::MousePlugins and moving
the include to the .cpp won't help. Sounds more like the unittest should
move to desktop/, if I'm right that desktop depends on common and not the
other way round?
---------- Forwarded Message ----------
Subject: [Kde-dashboard] Failed 4.4/kdebase-workspace r1013206
Date: Wednesday 19 August 2009
From: Dirk Mueller <mueller at kde.org>
To: kde-dashboard at kde.org
Cc:
Running kdebase-workspace build-test for revision 1013206 architecture head-
i586 failed with:
/opt/testing/include/KDE/../kdebug.h:282:18: warning: anonymous variadic
macros were introduced in C99
/usr/bin/cmake -E cmake_progress_report kdebase-
workspace-1013206/build/CMakeFiles
[ 51%] In file included from kdebase-
workspace-1013206/build/plasma/shells/common/tests/moc_mouseplugins.cpp:10,
from kdebase-
workspace-1013206/build/plasma/shells/common/tests/plasmabackgrounddialog_automoc.cpp:4:
kdebase-
workspace-1013206/build/plasma/shells/common/tests/../../../../../plasma/shells/desktop/mouseplugins.h:23:29:
error: ui_MousePlugins.h: No such file or directory
In file included from kdebase-
workspace-1013206/build/plasma/shells/common/tests/plasmabackgrounddialog_automoc.cpp:4:
kdebase-
workspace-1013206/build/plasma/shells/common/tests/moc_mouseplugins.cpp:12:2:
error: #error "The header file 'mouseplugins.h' doesn't include <QObject>."
kdebase-
workspace-1013206/build/plasma/shells/common/tests/moc_mouseplugins.cpp:13:7:
warning: "Q_MOC_OUTPUT_REVISION" is not defined
In file included from kdebase-
workspace-1013206/build/plasma/shells/common/tests/moc_mousepluginwidget.cpp:10,
from kdebase-
workspace-1013206/build/plasma/shells/common/tests/plasmabackgrounddialog_automoc.cpp:5:
kdebase-
workspace-1013206/build/plasma/shells/common/tests/../../../../../plasma/shells/desktop/mousepluginwidget.h:23:34:
error: ui_MousePluginWidget.h: No such file or directory
--
from kdebase-
workspace-1013206/build/plasma/shells/common/tests/plasmabackgrounddialog_automoc.cpp:5:
/opt/testing/include/kdebug.h:282:18: warning: anonymous variadic macros were
introduced in C99
In file included from kdebase-
workspace-1013206/build/plasma/shells/common/tests/moc_mouseplugins.cpp:10,
from kdebase-
workspace-1013206/build/plasma/shells/common/tests/plasmabackgrounddialog_automoc.cpp:4:
kdebase-
workspace-1013206/build/plasma/shells/common/tests/../../../../../plasma/shells/desktop/mouseplugins.h:32:
error: expected class-name before '{' token
kdebase-
workspace-1013206/build/plasma/shells/common/tests/../../../../../plasma/shells/desktop/mouseplugins.h:33:
error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
kdebase-
workspace-1013206/build/plasma/shells/common/tests/../../../../../plasma/shells/desktop/mouseplugins.h:34:
error: expected ';' before 'public'
kdebase-
workspace-1013206/build/plasma/shells/common/tests/../../../../../plasma/shells/desktop/mouseplugins.h:39:
error: expected primary-expression before 'void'
from /opt/testing/include/kgenericfactory.h:27,
from
/opt/testing/include/KDE/Plasma/../../plasma/applet.h:30,
from /opt/testing/include/KDE/Plasma/Applet:1,
from /usr/src/packages/BUILD/kdebase-
workspace-1013206/plasma/shells/common/plasmaappletitemmodel_p.h:25,
from /usr/src/packages/BUILD/kdebase-
workspace-1013206/plasma/shells/common/plasmaappletitemmodel.cpp:20:
/opt/testing/include/kdebug.h:282:18: warning: anonymous variadic macros were
introduced in C99
/usr/src/packages/BUILD/kdebase-
workspace-1013206/plasma/shells/common/plasmaappletitemmodel.cpp:211:12:
warning: invoking macro kDebug argument 1: empty macro arguments are undefined
in ISO C90 and ISO C++98
/usr/src/packages/BUILD/kdebase-
workspace-1013206/plasma/shells/common/plasmaappletitemmodel.cpp:211:12:
warning: invoking macro kDebug argument 1: empty macro arguments are undefined
in ISO C90 and ISO C++98
Linking CXX executable plasmaappletbrowser
cd /usr/src/packages/BUILD/kdebase-
workspace-1013206/build/plasma/shells/common/tests && /usr/bin/cmake -E
cmake_link_script CMakeFiles/plasmaappletbrowser.dir/link.txt --verbose=1
/usr/local/bin/c++ -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-
tables -Werror=format-security -Wmissing-format-attribute -Werror=return-type
-pedantic -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -
Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -
fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -
fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -
fPIC -Wl,--enable-new-dtags
CMakeFiles/plasmaappletbrowser.dir/plasmaappletbrowser_automoc.o
CMakeFiles/plasmaappletbrowser.dir/appletbrowser.o
CMakeFiles/plasmaappletbrowser.dir/__/appletbrowser.o
CMakeFiles/plasmaappletbrowser.dir/__/customdragtreeview.o
CMakeFiles/plasmaappletbrowser.dir/__/kcategorizeditemsview.o
CMakeFiles/plasmaappletbrowser.dir/__/kcategorizeditemsviewdelegate.o
CMakeFiles/plasmaappletbrowser.dir/__/kcategorizeditemsviewmodels.o
CMakeFiles/plasmaappletbrowser.dir/__/openwidgetassistant.o
CMakeFiles/plasmaappletbrowser.dir/__/plasmaappletitemmodel.o -o
plasmaappletbrowser -rdynamic -L/opt/testing/lib
/opt/testing/lib/libplasma.so.3.0.0 /opt/testing/lib/libkdeui.so.5.4.0
/opt/testing/lib/libkfile.so.4.4.0 /opt/testing/lib/libkdeui.so.5.4.0 -lQtSvg
/opt/testing/lib/libkdecore.so.5.4.0 -lQtDBus -lQtCore -lpthread -lQtGui -Wl,-
rpath,/opt/testing/lib -Wl,-rpath-link,/opt/testing/lib
cd /usr/src/packages/BUILD/kdebase-
workspace-1013206/build/plasma/shells/common/tests && /usr/bin/cmake -
D_filename=/usr/src/packages/BUILD/kdebase-
workspace-1013206/build/plasma/shells/common/tests/plasmaappletbrowser.shell -
D_library_path_variable=LD_LIBRARY_PATH -
D_ld_library_path="/usr/src/packages/BUILD/kdebase-
workspace-1013206/build/lib/./:/opt/testing/lib:/opt/testing/lib:/usr/lib" -
D_executable=/usr/src/packages/BUILD/kdebase-
workspace-1013206/build/plasma/shells/common/tests/plasmaappletbrowser -P
/opt/testing/share/apps/cmake/modules/kde4_exec_via_sh.cmake
make[2]: Leaving directory `/usr/src/packages/BUILD/kdebase-
workspace-1013206/build'
/usr/bin/cmake -E cmake_progress_report /usr/src/packages/BUILD/kdebase-
workspace-1013206/build/CMakeFiles
[ 51%] Built target plasmaappletbrowser
make[1]: Leaving directory `/usr/src/packages/BUILD/kdebase-
workspace-1013206/build'
make: *** [all] Error 2
RPM build errors:
Last revision successfully built: 1012542
Current revision : 1013206
Status overview: http://developer.kde.org/~dirk/dashboard/
_______________________________________________
Kde-dashboard mailing list
Kde-dashboard at kde.org
https://mail.kde.org/mailman/listinfo/kde-dashboard
-------------------------------------------------------
--
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Plasma-devel
mailing list