D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/albert-0.12.0-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eWqbUt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf albert-0.12.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/albert-0.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd albert-0.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch (albert-0.12.0-fix-linking.patch):' Patch (albert-0.12.0-fix-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixbuild --fuzz=0 patching file src/application/CMakeLists.txt patching file src/lib/globalshortcut/CMakeLists.txt + echo 'Patch #1 (albert-0.12.0-fix-kde-actions-system-plugin.patch):' Patch #1 (albert-0.12.0-fix-kde-actions-system-plugin.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixkdeactions --fuzz=0 patching file src/plugins/system/src/main.cpp + echo 'Patch #2 (albert-0.12.0-add-screensavers.patch):' Patch #2 (albert-0.12.0-add-screensavers.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .addscreensavers --fuzz=0 patching file src/plugins/system/src/main.cpp + echo 'Patch #3 (albert-0.12.0-fix-systemplugin-gnome.patch):' Patch #3 (albert-0.12.0-fix-systemplugin-gnome.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixgnome --fuzz=0 patching file src/plugins/system/src/main.cpp + perl -pi -e 's|lib/albert|lib64|g' src/application/CMakeLists.txt src/lib/CMakeLists.txt src/lib/albert/CMakeLists.txt src/lib/globalshortcut/CMakeLists.txt src/lib/xdg/CMakeLists.txt src/plugins/CMakeLists.txt + perl -pi -e 's|lib/albert|lib64/albert|g' src/application/CMakeLists.txt src/plugins/CMakeLists.txt ++ find . -name CMakeLists.txt + perl -pi -e 's|lib/(albert/plugins)|lib64/$1|g' ./src/plugins/CMakeLists.txt ./src/plugins/websearch/CMakeLists.txt ./src/plugins/virtualbox/CMakeLists.txt ./src/plugins/terminal/CMakeLists.txt ./src/plugins/templateExtension/CMakeLists.txt ./src/plugins/system/CMakeLists.txt ./src/plugins/ssh/CMakeLists.txt ./src/plugins/mpris/CMakeLists.txt ./src/plugins/firefoxbookmarks/CMakeLists.txt ./src/plugins/files/CMakeLists.txt ./src/plugins/externalextensions/CMakeLists.txt ./src/plugins/debug/CMakeLists.txt ./src/plugins/chromebookmarks/CMakeLists.txt ./src/plugins/calculator/CMakeLists.txt ./src/plugins/applications/CMakeLists.txt ./src/lib/CMakeLists.txt ./src/lib/xdg/CMakeLists.txt ./src/lib/globalshortcut/CMakeLists.txt ./src/lib/albert/CMakeLists.txt ./src/application/CMakeLists.txt ./CMakeLists.txt + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S9mUik + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd albert-0.12.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + QTDIR=/usr/lib64/qt5 + export QTDIR + PATH=/usr/lib64/qt5/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/lib64/qt5/bin:/home/pterjan/.local/bin:/home/pterjan/bin + export PATH + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + mkdir -p build + cd build + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DDBUS_SERVICES_DIR=/usr/share/dbus-1/services -DDBUS_INTERFACES_DIR=/usr/share/dbus-1/interfaces -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_SYSCONFDIR DBUS_INTERFACES_DIR DBUS_SERVICES_DIR INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/albert-0.12.0/build + /usr/bin/make -O -j4 Scanning dependencies of target xdg_autogen [ 1%] Automatic MOC for target xdg [ 1%] Built target xdg_autogen Scanning dependencies of target xdg [ 3%] Building CXX object src/lib/xdg/CMakeFiles/xdg.dir/xdg_autogen/mocs_compilation.cpp.o [ 2%] Building CXX object src/lib/xdg/CMakeFiles/xdg.dir/src/themefileparser.cpp.o [ 2%] Building CXX object src/lib/xdg/CMakeFiles/xdg.dir/src/xdgiconlookup.cpp.o [ 4%] Linking CXX shared library ../../../lib/libxdg.so [ 4%] Built target xdg Scanning dependencies of target globalshortcut_autogen [ 4%] Automatic MOC for target globalshortcut [ 4%] Built target globalshortcut_autogen Scanning dependencies of target globalshortcut [ 6%] Building CXX object src/lib/globalshortcut/CMakeFiles/globalshortcut.dir/globalshortcut_autogen/mocs_compilation.cpp.o [ 5%] Building CXX object src/lib/globalshortcut/CMakeFiles/globalshortcut.dir/src/hotkeymanager.cpp.o [ 5%] Building CXX object src/lib/globalshortcut/CMakeFiles/globalshortcut.dir/src/hotkeymanager_x11.cpp.o [ 7%] Linking CXX shared library ../../../lib/libglobalshortcut.so [ 7%] Built target globalshortcut Scanning dependencies of target albertcore_autogen [ 7%] Automatic MOC for target albertcore [ 7%] Built target albertcore_autogen [ 8%] Generating qrc_resources.cpp [ 9%] Generating ui_mainwindow.h [ 9%] Generating ui_settingswidget.h Scanning dependencies of target albertcore [ 12%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/mainwindow/actionlist.cpp.o [ 11%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/extensionspec.cpp.o [ 12%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/mainwindow/history.cpp.o [ 10%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/extensionmanager.cpp.o [ 13%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/mainwindow/mainwindow.cpp.o /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp: In constructor 'MainWindow::MainWindow(QWidget*)': /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:104:62: error: invalid use of incomplete type 'class QAction' QAction *action = new QAction("Settings", settingsButton_); ^ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:105:11: error: invalid use of incomplete type 'class QAction' action->setShortcuts({QKeySequence("Ctrl+,"), QKeySequence("Alt+,")}); ^~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:105:13: error: invalid use of incomplete type 'class QAction' action->setShortcuts({QKeySequence("Ctrl+,"), QKeySequence("Alt+,")}); ^~~~~~~~~~~~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:106:31: error: incomplete type 'QAction' used in nested name specifier connect(action, &QAction::triggered, this, &MainWindow::hide); ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:107:31: error: incomplete type 'QAction' used in nested name specifier connect(action, &QAction::triggered, this, &MainWindow::settingsWidgetRequested); ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:108:71: error: incomplete type 'QAction' used in nested name specifier connect(settingsButton_, &QPushButton::clicked, action, &QAction::trigger); ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:111:49: error: invalid use of incomplete type 'class QAction' action = new QAction("Hide", settingsButton_); ^ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:112:11: error: invalid use of incomplete type 'class QAction' action->setShortcut(QKeySequence("Esc")); ^~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:112:13: error: invalid use of incomplete type 'class QAction' action->setShortcut(QKeySequence("Esc")); ^~~~~~~~~~~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:113:31: error: incomplete type 'QAction' used in nested name specifier connect(action, &QAction::triggered, this, &MainWindow::hide); ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:116:54: error: invalid use of incomplete type 'class QAction' action = new QAction("Separator", settingsButton_); ^ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:117:11: error: invalid use of incomplete type 'class QAction' action->setSeparator(true); ^~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:117:13: error: invalid use of incomplete type 'class QAction' action->setSeparator(true); ^~~~~~~~~~~~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:120:49: error: invalid use of incomplete type 'class QAction' action = new QAction("Quit", settingsButton_); ^ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:121:11: error: invalid use of incomplete type 'class QAction' action->setShortcut(QKeySequence("Alt+F4")); ^~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:121:13: error: invalid use of incomplete type 'class QAction' action->setShortcut(QKeySequence("Alt+F4")); ^~~~~~~~~~~ In file included from /usr/lib64/qt5/include/QtWidgets/QApplication:1:0, from /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:19: /usr/lib64/qt5/include/QtWidgets/qapplication.h:225:18: note: forward declaration of 'class QAction' friend class QAction; ^~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:122:31: error: incomplete type 'QAction' used in nested name specifier connect(action, &QAction::triggered, qApp, &QApplication::quit); ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp: In member function 'virtual bool MainWindow::eventFilter(QObject*, QEvent*)': /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:555:13: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /home/pterjan/rpmbuild/BUILD/albert-0.12.0/src/lib/albert/src/albert/mainwindow/mainwindow.cpp:559:9: note: here case Qt::Key_Down:{ ^~~~ make[2]: *** [src/lib/albert/CMakeFiles/albertcore.dir/build.make:146: src/lib/albert/CMakeFiles/albertcore.dir/src/albert/mainwindow/mainwindow.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 10%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/albert.cpp.o [ 14%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/mainwindow/resizinglist.cpp.o [ 14%] Building CXX object src/lib/albert/CMakeFiles/albertcore.dir/src/albert/mainwindow/proposallist.cpp.o make[1]: *** [CMakeFiles/Makefile2:170: src/lib/albert/CMakeFiles/albertcore.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S9mUik (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S9mUik (%build) I: [iurt_root_command] ERROR: chroot