D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/akarixb-0.8-6.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xOJ4lR + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf akarixb-v0.8 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/akarixb-v0.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd akarixb-v0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.q9FHV7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd akarixb-v0.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_LFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' QMAKE_STRIP= Info: creating stash file /home/iurt/rpmbuild/BUILD/akarixb-v0.8/.qmake.stash Project MESSAGE: Generating Makefile for AkariXB... Using /home/iurt/rpmbuild/BUILD/akarixb-v0.8/AkariXB.pro Project MESSAGE: Building with Qt v5.15.2 /home/iurt/rpmbuild/BUILD/akarixb-v0.8/AkariXB.pro:48: Cannot find feature qxmpp Project WARNING: QXMPP feature file not available; enabling workaround: Project WARNING: - Assuming includes at /usr/include/qxmpp Project WARNING: - Linking with -lqxmpp Project MESSAGE: Makefile done! If you're building the binary, you can run 'make' now. Project MESSAGE: Please ignore possible RCC errors about missing .qm files. They will be built later, by make. + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/lib64/qt5/bin/lrelease translations/akarixb_en.ts -qm translations/akarixb_en.qm Updating 'translations/akarixb_en.qm'... Generated 11 translation(s) (11 finished and 0 unfinished) Ignored 335 untranslated source text(s) /usr/lib64/qt5/bin/lrelease translations/akarixb_gl.ts -qm translations/akarixb_gl.qm Updating 'translations/akarixb_gl.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 346 untranslated source text(s) /usr/lib64/qt5/bin/lrelease translations/akarixb_es.ts -qm translations/akarixb_es.qm Updating 'translations/akarixb_es.qm'... Generated 346 translation(s) (339 finished and 7 unfinished) /usr/lib64/qt5/bin/lrelease translations/akarixb_ca.ts -qm translations/akarixb_ca.qm Updating 'translations/akarixb_ca.qm'... Generated 346 translation(s) (337 finished and 9 unfinished) /usr/lib64/qt5/bin/lrelease translations/akarixb_eu.ts -qm translations/akarixb_eu.qm Updating 'translations/akarixb_eu.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 346 untranslated source text(s) /usr/lib64/qt5/bin/lrelease translations/akarixb_it.ts -qm translations/akarixb_it.qm Updating 'translations/akarixb_it.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 346 untranslated source text(s) /usr/lib64/qt5/bin/lrelease translations/akarixb_fr.ts -qm translations/akarixb_fr.qm Updating 'translations/akarixb_fr.qm'... Generated 346 translation(s) (344 finished and 2 unfinished) /usr/lib64/qt5/bin/lrelease translations/akarixb_de.ts -qm translations/akarixb_de.qm Updating 'translations/akarixb_de.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 346 untranslated source text(s) /usr/lib64/qt5/bin/lrelease translations/akarixb_ru.ts -qm translations/akarixb_ru.qm Updating 'translations/akarixb_ru.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 346 untranslated source text(s) /usr/lib64/qt5/bin/lrelease translations/akarixb_pt.ts -qm translations/akarixb_pt.qm Updating 'translations/akarixb_pt.qm'... Generated 148 translation(s) (139 finished and 9 unfinished) Ignored 198 untranslated source text(s) /usr/lib64/qt5/bin/lrelease translations/akarixb_EMPTY.ts -qm translations/akarixb_EMPTY.qm Updating 'translations/akarixb_EMPTY.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 346 untranslated source text(s) g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qxmpp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o messagehandler.o src/messagehandler.cpp In file included from src/messagehandler.h:31, from src/messagehandler.cpp:21: /usr/include/qxmpp/QXmppMessage.h:250:10: error: 'optional' in namespace 'std' does not name a template type 250 | std::optional mixInvitation() const; | ^~~~~~~~ /usr/include/qxmpp/QXmppMessage.h:250:5: note: 'std::optional' is only available from C++17 onwards 250 | std::optional mixInvitation() const; | ^~~ /usr/include/qxmpp/QXmppMessage.h:251:38: error: 'optional' in namespace 'std' does not name a template type 251 | void setMixInvitation(const std::optional &mixInvitation); | ^~~~~~~~ /usr/include/qxmpp/QXmppMessage.h:251:33: note: 'std::optional' is only available from C++17 onwards 251 | void setMixInvitation(const std::optional &mixInvitation); | ^~~ /usr/include/qxmpp/QXmppMessage.h:251:46: error: expected ',' or '...' before '<' token 251 | void setMixInvitation(const std::optional &mixInvitation); | ^ make: *** [Makefile:909: messagehandler.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qxmpp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o connectiondialog.o src/connectiondialog.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qxmpp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o src/main.cpp In file included from src/mainwindow.h:48, from src/main.cpp:27: /usr/include/qxmpp/QXmppMessage.h:250:10: error: 'optional' in namespace 'std' does not name a template type 250 | std::optional mixInvitation() const; | ^~~~~~~~ /usr/include/qxmpp/QXmppMessage.h:250:5: note: 'std::optional' is only available from C++17 onwards 250 | std::optional mixInvitation() const; | ^~~ /usr/include/qxmpp/QXmppMessage.h:251:38: error: 'optional' in namespace 'std' does not name a template type 251 | void setMixInvitation(const std::optional &mixInvitation); | ^~~~~~~~ /usr/include/qxmpp/QXmppMessage.h:251:33: note: 'std::optional' is only available from C++17 onwards 251 | void setMixInvitation(const std::optional &mixInvitation); | ^~~ /usr/include/qxmpp/QXmppMessage.h:251:46: error: expected ',' or '...' before '<' token 251 | void setMixInvitation(const std::optional &mixInvitation); | ^ make: *** [Makefile:870: main.o] Error 1 g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qxmpp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o mainwindow.o src/mainwindow.cpp In file included from src/mainwindow.h:48, from src/mainwindow.cpp:21: /usr/include/qxmpp/QXmppMessage.h:250:10: error: 'optional' in namespace 'std' does not name a template type 250 | std::optional mixInvitation() const; | ^~~~~~~~ /usr/include/qxmpp/QXmppMessage.h:250:5: note: 'std::optional' is only available from C++17 onwards 250 | std::optional mixInvitation() const; | ^~~ /usr/include/qxmpp/QXmppMessage.h:251:38: error: 'optional' in namespace 'std' does not name a template type 251 | void setMixInvitation(const std::optional &mixInvitation); | ^~~~~~~~ /usr/include/qxmpp/QXmppMessage.h:251:33: note: 'std::optional' is only available from C++17 onwards 251 | void setMixInvitation(const std::optional &mixInvitation); | ^~~ /usr/include/qxmpp/QXmppMessage.h:251:46: error: expected ',' or '...' before '<' token 251 | void setMixInvitation(const std::optional &mixInvitation); | ^ src/mainwindow.cpp: In member function 'void MainWindow::setupXmppClient()': src/mainwindow.cpp:509:34: warning: 'QXmppVersionManager& QXmppClient::versionManager()' is deprecated: Use QXmppClient::findExtension() instead [-Wdeprecated-declarations] 509 | m_xmppClient->versionManager().setClientName(QStringLiteral("AkariXB")); | ^ In file included from src/mainwindow.h:47, from src/mainwindow.cpp:21: /usr/include/qxmpp/QXmppClient.h:225:26: note: declared here 225 | QXmppVersionManager &versionManager(); | ^~~~~~~~~~~~~~ src/mainwindow.cpp:510:34: warning: 'QXmppVersionManager& QXmppClient::versionManager()' is deprecated: Use QXmppClient::findExtension() instead [-Wdeprecated-declarations] 510 | m_xmppClient->versionManager().setClientOs("Akari-GNU-OS"); // tmp FIXME xD | ^ In file included from src/mainwindow.h:47, from src/mainwindow.cpp:21: /usr/include/qxmpp/QXmppClient.h:225:26: note: declared here 225 | QXmppVersionManager &versionManager(); | ^~~~~~~~~~~~~~ src/mainwindow.cpp:528:43: warning: 'QXmppVersionManager& QXmppClient::versionManager()' is deprecated: Use QXmppClient::findExtension() instead [-Wdeprecated-declarations] 528 | connect(&m_xmppClient->versionManager(), &QXmppVersionManager::versionReceived, | ^ In file included from src/mainwindow.h:47, from src/mainwindow.cpp:21: /usr/include/qxmpp/QXmppClient.h:225:26: note: declared here 225 | QXmppVersionManager &versionManager(); | ^~~~~~~~~~~~~~ src/mainwindow.cpp: In member function 'void MainWindow::onConnected()': src/mainwindow.cpp:739:38: warning: 'QXmppVersionManager& QXmppClient::versionManager()' is deprecated: Use QXmppClient::findExtension() instead [-Wdeprecated-declarations] 739 | m_xmppClient->versionManager().requestVersion(m_userServer); | ^ In file included from src/mainwindow.h:47, from src/mainwindow.cpp:21: /usr/include/qxmpp/QXmppClient.h:225:26: note: declared here 225 | QXmppVersionManager &versionManager(); | ^~~~~~~~~~~~~~ make: *** [Makefile:898: mainwindow.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.q9FHV7 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.q9FHV7 (%build) I: [iurt_root_command] ERROR: chroot