BUILD FAILURE
Build URL https://build.kde.org/job/Plasma/job/kscreenlocker/job/kf5-qt5%20SUSEQt5.15/80/
Project: kf5-qt5 SUSEQt5.15
Date of build: Thu, 13 May 2021 09:48:59 +0000
Build duration: 51 sec and counting


CONSOLE OUTPUT
[...truncated 747 lines...]
[2021-05-13T09:49:48.573Z] In file included from /home/jenkins/install-prefix/include/KF5/KCoreAddons/KRandom:1,
[2021-05-13T09:49:48.573Z] from /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/interface.cpp:29:
[2021-05-13T09:49:48.573Z] /home/jenkins/install-prefix/include/KF5/KCoreAddons/krandom.h:44:5: note: declared here
[2021-05-13T09:49:48.573Z] 44 | int random();
[2021-05-13T09:49:48.573Z] | ^~~~~~
[2021-05-13T09:49:48.573Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/interface.cpp:62:37: warning: ���int KRandom::random()��� is deprecated: Since 5.72. Use QRandomGenerator::global(). The 1:1 port is bounded(RAND_MAX) but check see all the methods that QRandomGenerator provides. [-Wdeprecated-declarations]
[2021-05-13T09:49:48.573Z] 62 | m_next_cookie = KRandom::random() % 20000;
[2021-05-13T09:49:48.573Z] | ^
[2021-05-13T09:49:48.573Z] In file included from /home/jenkins/install-prefix/include/KF5/KCoreAddons/KRandom:1,
[2021-05-13T09:49:48.573Z] from /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/interface.cpp:29:
[2021-05-13T09:49:48.573Z] /home/jenkins/install-prefix/include/KF5/KCoreAddons/krandom.h:44:5: note: declared here
[2021-05-13T09:49:48.573Z] 44 | int random();
[2021-05-13T09:49:48.573Z] | ^~~~~~
[2021-05-13T09:49:48.573Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/x11locker.cpp: In member function ���void ScreenLocker::X11Locker::initialize()���:
[2021-05-13T09:49:48.573Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/x11locker.cpp:88:55: warning: ���void QDesktopWidget::resized(int)��� is deprecated: Use QScreen::geometryChanged() [-Wdeprecated-declarations]
[2021-05-13T09:49:48.573Z] 88 | connect(QApplication::desktop(), &QDesktopWidget::resized, this, &X11Locker::updateGeo);
[2021-05-13T09:49:48.573Z] | ^~~~~~~
[2021-05-13T09:49:48.573Z] In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1,
[2021-05-13T09:49:48.573Z] from /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/x11locker.cpp:29:
[2021-05-13T09:49:48.573Z] /usr/include/qt5/QtWidgets/qdesktopwidget.h:98:60: note: declared here
[2021-05-13T09:49:48.573Z] 98 | QT_DEPRECATED_X("Use QScreen::geometryChanged()") void resized(int);
[2021-05-13T09:49:48.573Z] | ^~~~~~~
[2021-05-13T09:49:48.573Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/x11locker.cpp:89:55: warning: ���void QDesktopWidget::screenCountChanged(int)��� is deprecated: Use QGuiApplication::screenAdded/Removed() [-Wdeprecated-declarations]
[2021-05-13T09:49:48.573Z] 89 | connect(QApplication::desktop(), &QDesktopWidget::screenCountChanged, this, &X11Locker::updateGeo);
[2021-05-13T09:49:48.573Z] | ^~~~~~~~~~~~~~~~~~
[2021-05-13T09:49:48.573Z] In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1,
[2021-05-13T09:49:48.573Z] from /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/x11locker.cpp:29:
[2021-05-13T09:49:48.573Z] /usr/include/qt5/QtWidgets/qdesktopwidget.h:100:72: note: declared here
[2021-05-13T09:49:48.573Z] 100 | QT_DEPRECATED_X("Use QGuiApplication::screenAdded/Removed()") void screenCountChanged(int);
[2021-05-13T09:49:48.573Z] | ^~~~~~~~~~~~~~~~~~
[2021-05-13T09:49:48.829Z] [ 83%] Building CXX object CMakeFiles/KScreenLocker.dir/powermanagement.cpp.o
[2021-05-13T09:49:48.829Z] [ 83%] Building CXX object CMakeFiles/KScreenLocker.dir/powermanagement_inhibition.cpp.o
[2021-05-13T09:49:48.829Z] [ 84%] Building CXX object CMakeFiles/KScreenLocker.dir/kscreenlocker_logging.cpp.o
[2021-05-13T09:49:48.829Z] [ 85%] Building CXX object CMakeFiles/KScreenLocker.dir/screensaveradaptor.cpp.o
[2021-05-13T09:49:49.085Z] [ 86%] Building CXX object CMakeFiles/KScreenLocker.dir/kscreensaveradaptor.cpp.o
[2021-05-13T09:49:49.085Z] [ 87%] Linking CXX executable ../bin/kscreenlocker_greet
[2021-05-13T09:49:49.085Z] [ 88%] Building CXX object CMakeFiles/KScreenLocker.dir/powerdevilpolicyagent.cpp.o
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp: In member function ���void ScreenLocker::WaylandServer::osdProgress(const QString&, int, const QString&)���:
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:172:16: error: expected primary-_expression_ before ���auto���
[2021-05-13T09:49:49.340Z] 172 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:172:5: error: ���Q_FOREACH��� was not declared in this scope; did you mean ���Q_FOREVER���?
[2021-05-13T09:49:49.340Z] 172 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~~~~~~
[2021-05-13T09:49:49.340Z] | Q_FOREVER
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:167:48: warning: unused parameter ���icon��� [-Wunused-parameter]
[2021-05-13T09:49:49.340Z] 167 | void WaylandServer::osdProgress(const QString &icon, int percent, const QString &additionalText)
[2021-05-13T09:49:49.340Z] | ~~~~~~~~~~~~~~~^~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:167:58: warning: unused parameter ���percent��� [-Wunused-parameter]
[2021-05-13T09:49:49.340Z] 167 | void WaylandServer::osdProgress(const QString &icon, int percent, const QString &additionalText)
[2021-05-13T09:49:49.340Z] | ~~~~^~~~~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:167:82: warning: unused parameter ���additionalText��� [-Wunused-parameter]
[2021-05-13T09:49:49.340Z] 167 | void WaylandServer::osdProgress(const QString &icon, int percent, const QString &additionalText)
[2021-05-13T09:49:49.340Z] | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp: In member function ���void ScreenLocker::WaylandServer::osdText(const QString&, const QString&)���:
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:186:16: error: expected primary-_expression_ before ���auto���
[2021-05-13T09:49:49.340Z] 186 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:186:5: error: ���Q_FOREACH��� was not declared in this scope; did you mean ���Q_FOREVER���?
[2021-05-13T09:49:49.340Z] 186 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~~~~~~
[2021-05-13T09:49:49.340Z] | Q_FOREVER
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:181:44: warning: unused parameter ���icon��� [-Wunused-parameter]
[2021-05-13T09:49:49.340Z] 181 | void WaylandServer::osdText(const QString &icon, const QString &additionalText)
[2021-05-13T09:49:49.340Z] | ~~~~~~~~~~~~~~~^~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:181:65: warning: unused parameter ���additionalText��� [-Wunused-parameter]
[2021-05-13T09:49:49.340Z] 181 | void WaylandServer::osdText(const QString &icon, const QString &additionalText)
[2021-05-13T09:49:49.340Z] | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp: In member function ���void ScreenLocker::WaylandServer::sendCanSuspend()���:
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:200:16: error: expected primary-_expression_ before ���auto���
[2021-05-13T09:49:49.340Z] 200 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:200:5: error: ���Q_FOREACH��� was not declared in this scope; did you mean ���Q_FOREVER���?
[2021-05-13T09:49:49.340Z] 200 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~~~~~~
[2021-05-13T09:49:49.340Z] | Q_FOREVER
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp: In member function ���void ScreenLocker::WaylandServer::sendCanHibernate()���:
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:214:16: error: expected primary-_expression_ before ���auto���
[2021-05-13T09:49:49.340Z] 214 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~
[2021-05-13T09:49:49.340Z] /home/jenkins/workspace/Plasma/kscreenlocker/kf5-qt5 SUSEQt5.15/waylandserver.cpp:214:5: error: ���Q_FOREACH��� was not declared in this scope; did you mean ���Q_FOREVER���?
[2021-05-13T09:49:49.340Z] 214 | Q_FOREACH (auto r, m_resources) {
[2021-05-13T09:49:49.340Z] | ^~~~~~~~~
[2021-05-13T09:49:49.340Z] | Q_FOREVER
[2021-05-13T09:49:49.340Z] [ 88%] Building C object CMakeFiles/KScreenLocker.dir/wayland-ksld-protocol.c.o
[2021-05-13T09:49:49.340Z] make[2]: *** [CMakeFiles/KScreenLocker.dir/build.make:234: CMakeFiles/KScreenLocker.dir/waylandserver.cpp.o] Error 1
[2021-05-13T09:49:49.340Z] make[2]: *** Waiting for unfinished jobs....
[2021-05-13T09:49:49.901Z] [ 88%] Built target kscreenlocker_greet
[2021-05-13T09:49:50.157Z] [ 89%] Linking CXX shared module ../bin/kcm_screenlocker.so
[2021-05-13T09:49:50.717Z] [ 89%] Built target kcm_screenlocker
[2021-05-13T09:49:50.972Z] make[1]: *** [CMakeFiles/Makefile2:248: CMakeFiles/KScreenLocker.dir/all] Error 2
[2021-05-13T09:49:50.972Z] make: *** [Makefile:146: all] Error 2
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[2021-05-13T09:49:50.984Z] ERROR: script returned exit code 1
[Pipeline] // catchError
[Pipeline] emailextrecipients
[Pipeline] emailext


Reply via email to