D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/jag-0.3.8-1.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Yalxuk + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf jag-0.3.8 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/jag-0.3.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jag-0.3.8 + /usr/bin/tar -xof - + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/jag-dist.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/jag-0.3.8-install-dist.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.GRGZNl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jag-0.3.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/jag-0.3.8/.qmake.stash + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/lib64/qt5/bin/uic src/menu.ui -o src/ui_menu.h g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/baseitem.o src/baseitem.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamebackground.o src/gamebackground.cpp src/gamebackground.cpp: In member function 'void BgPrivate::init()': src/gamebackground.cpp:62:26: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 62 | currentBgIdx = qrand() % bgList.count(); | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qpainter.h:43, from /usr/include/qt5/QtGui/QPainter:1, from src/gamebackground.h:29, from src/gamebackground.cpp:27: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamebackground.cpp: In member function 'void BgPrivate::loadTransBg()': src/gamebackground.cpp:76:28: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 76 | transBgIdx = qrand() % bgList.count(); | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qpainter.h:43, from /usr/include/qt5/QtGui/QPainter:1, from src/gamebackground.h:29, from src/gamebackground.cpp:27: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamebackground.cpp: In member function 'void BgPrivate::draw(QPainter&, const QRect&)': src/gamebackground.cpp:110:29: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 110 | int x = qrand() % 64; | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qpainter.h:43, from /usr/include/qt5/QtGui/QPainter:1, from src/gamebackground.h:29, from src/gamebackground.cpp:27: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamebackground.cpp:111:29: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 111 | int y = qrand() % 48; | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qpainter.h:43, from /usr/include/qt5/QtGui/QPainter:1, from src/gamebackground.h:29, from src/gamebackground.cpp:27: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/bombtool.o src/bombtool.cpp In file included from src/bombtool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/bombtool.h:29, from src/bombtool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/displaywrapper.o src/displaywrapper.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/bighammertool.o src/bighammertool.cpp In file included from src/bighammertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/bighammertool.h:29, from src/bighammertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/clocktool.o src/clocktool.cpp In file included from src/clocktool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/clocktool.h:29, from src/clocktool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/consttools.o src/consttools.cpp In file included from src/consttools.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/consttools.h:29, from src/consttools.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gameitem.o src/gameitem.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamebonus.o src/gamebonus.cpp In file included from src/gamescene.h:41, from src/gamebonus.cpp:27: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qpixmap.h:43, from /usr/include/qt5/QtGui/QPixmap:1, from src/gamebonus.h:29, from src/gamebonus.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamecontrol.o src/gamecontrol.cpp In file included from src/gamescene.h:41, from src/gamecontrol.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamecontrol.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from src/gamecontrol.cpp:28: src/gamemenu.h: At global scope: src/gamemenu.h:53:60: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamecontrol.cpp:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ src/gamecontrol.cpp: In member function 'virtual void GameScene::mousePressEvent(QGraphicsSceneMouseEvent*)': src/gamecontrol.cpp:142:51: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 142 | qsrand(QDateTime::currentDateTime().toTime_t()); | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamecontrol.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1278:81: note: declared here 1278 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gameprofile.o src/gameprofile.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamepaint.o src/gamepaint.cpp In file included from src/gamescene.h:41, from src/gamepaint.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamepaint.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from src/gamepaint.cpp:30: src/gamemenu.h: At global scope: src/gamemenu.h:53:60: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamepaint.cpp:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ src/gamepaint.cpp: In member function 'void GameScene::drawHint(QPainter&)': src/gamepaint.cpp:286:27: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 286 | static int idx1 = qrand() % 7, idx2 = qrand() % 7; | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamepaint.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamepaint.cpp:286:47: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 286 | static int idx1 = qrand() % 7, idx2 = qrand() % 7; | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamepaint.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamepaint.cpp:299:22: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 299 | idx1 = qrand() % 7; | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamepaint.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamepaint.cpp:300:22: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 300 | idx2 = qrand() % 7; | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamepaint.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamestock.o src/gamestock.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamesound.o src/gamesound.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamemenu.o src/gamemenu.cpp In file included from src/gamescene.h:41, from src/gamemenu.h:32, from src/gamemenu.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/gamemenu.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from src/gamemenu.cpp:26: src/gamemenu.h: At global scope: src/gamemenu.h:53:60: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/gamemenu.cpp:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamestat.o src/gamestat.cpp In file included from src/gamescene.h:41, from src/gamestat.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamestat.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamestatics.o src/gamestatics.cpp In file included from src/gamestatics.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/QList:1, from src/scene_if.h:29, from src/gamestatics.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp: In member function 'void IScene::removeBlock(PlaceInfo&, int, int)': src/gamestatics.cpp:103:52: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 103 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/QList:1, from src/scene_if.h:29, from src/gamestatics.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp:103:74: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 103 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/QList:1, from src/scene_if.h:29, from src/gamestatics.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp: In member function 'void IScene::removeTarget(PlaceInfo&, int, int)': src/gamestatics.cpp:123:52: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 123 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/QList:1, from src/scene_if.h:29, from src/gamestatics.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp:123:74: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 123 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/QList:1, from src/scene_if.h:29, from src/gamestatics.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamexml.o src/gamexml.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/hammertool.o src/hammertool.cpp In file included from src/hammertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/hammertool.h:29, from src/hammertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gametools.o src/gametools.cpp In file included from src/gametools.cpp:28: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/gametools.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamescene.o src/gamescene.cpp In file included from src/gamescene.h:41, from src/gamescene.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from src/gamescene.cpp:30: src/gamemenu.h: At global scope: src/gamemenu.h:53:60: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ src/gamescene.cpp: In constructor 'GameScene::GameScene(QWidget*)': src/gamescene.cpp:56:32: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 56 | dconfirm = new ConfirmDialog(); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ src/gamescene.cpp: In member function 'bool GameScene::initLevel(int)': src/gamescene.cpp:182:37: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 182 | qsrand(QTime::currentTime().msec()); | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1278:81: note: declared here 1278 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); | ^~~~~~ src/gamescene.cpp: In member function 'GameItem* GameScene::generateGameItem(const QSet&)': src/gamescene.cpp:475:33: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 475 | int id = activeItems.at(qrand() % activeItems.count()); | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamescene.cpp: In member function 'void GameScene::refillItems(int)': src/gamescene.cpp:702:46: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 702 | pi1.item->setId(activeItems.at(qrand() % activeItems.count())); | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamescene.cpp:716:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 716 | pi2.item->setId(activeItems.at(qrand() % activeItems.count())); | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamescene.cpp: In member function 'void GameScene::loadRandomBackground()': src/gamescene.cpp:1452:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 1452 | + entryList.at(qrand() % entryList.count())) | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/gamescene.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamewidget.o src/gamewidget.cpp In file included from src/gamescene.h:41, from src/gamewidget.cpp:28: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qgraphicsview.h:43, from /usr/include/qt5/QtWidgets/QGraphicsView:1, from src/gamewidget.h:29, from src/gamewidget.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from src/gamewidget.cpp:31: src/gamemenu.h: At global scope: src/gamemenu.h:53:60: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qgraphicsview.h:43, from /usr/include/qt5/QtWidgets/QGraphicsView:1, from src/gamewidget.h:29, from src/gamewidget.cpp:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/scaler.o src/scaler.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/main.o src/main.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/mixertool.o src/mixertool.cpp In file included from src/mixertool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/mixertool.h:29, from src/mixertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/mixertool.cpp: In member function 'virtual bool MixerTool::checkToolClick()': src/mixertool.cpp:64:28: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 64 | int i1 = list.at(qrand() % list.count()); | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/mixertool.h:29, from src/mixertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -dM -E -o src/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/rcc -name resources src/resources.qrc -o src/qrc_resources.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/randomkilltool.o src/randomkilltool.cpp In file included from src/randomkilltool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/randomkilltool.h:29, from src/randomkilltool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/randomkilltool.cpp: In member function 'virtual bool RandomKillTool::checkToolClick()': src/randomkilltool.cpp:64:28: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 64 | int i1 = list.at(qrand() % list.count()); | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/randomkilltool.h:29, from src/randomkilltool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/bighammertool.h -o src/moc_bighammertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/clocktool.h -o src/moc_clocktool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/bombtool.h -o src/moc_bombtool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/consttools.h -o src/moc_consttools.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/gamebonus.h -o src/moc_gamebonus.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/gameprofile.h -o src/moc_gameprofile.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/gamemenu.h -o src/moc_gamemenu.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/gamescene.h -o src/moc_gamescene.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/gametools.h -o src/moc_gametools.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/gamewidget.h -o src/moc_gamewidget.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/gamesound.h -o src/moc_gamesound.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/menucontrol.o src/menucontrol.cpp In file included from src/gamescene.h:41, from src/gamemenu.h:32, from src/menucontrol.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/menucontrol.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from src/menucontrol.cpp:26: src/gamemenu.h: At global scope: src/gamemenu.h:53:60: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/menucontrol.cpp:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/smallhammertool.o src/smallhammertool.cpp In file included from src/smallhammertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/smallhammertool.h:29, from src/smallhammertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/hammertool.h -o src/moc_hammertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/thundertool.h -o src/moc_thundertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/twintool.h -o src/moc_twintool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/mixertool.h -o src/moc_mixertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/randomkilltool.h -o src/moc_randomkilltool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/smallhammertool.h -o src/moc_smallhammertool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/thundertool.o src/thundertool.cpp In file included from src/thundertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/thundertool.h:29, from src/thundertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/home/iurt/rpmbuild/BUILD/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include src/unblocktool.h -o src/moc_unblocktool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/twintool.o src/twintool.cpp In file included from src/twintool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/twintool.h:29, from src/twintool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/unblocktool.o src/unblocktool.cpp In file included from src/unblocktool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/unblocktool.h:29, from src/unblocktool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/qrc_resources.o src/qrc_resources.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_bombtool.o src/moc_bombtool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_clocktool.o src/moc_clocktool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamebonus.o src/moc_gamebonus.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_consttools.o src/moc_consttools.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_bighammertool.o src/moc_bighammertool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gameprofile.o src/moc_gameprofile.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_hammertool.o src/moc_hammertool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gametools.o src/moc_gametools.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_mixertool.o src/moc_mixertool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamesound.o src/moc_gamesound.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamewidget.o src/moc_gamewidget.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_randomkilltool.o src/moc_randomkilltool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamescene.o src/moc_gamescene.cpp In file included from src/gamescene.h:41, from src/moc_gamescene.cpp:10: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29, from src/moc_gamescene.cpp:10: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_thundertool.o src/moc_thundertool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_unblocktool.o src/moc_unblocktool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamemenu.o src/moc_gamemenu.cpp In file included from src/gamescene.h:41, from src/gamemenu.h:32, from src/moc_gamemenu.cpp:10: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:61: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/moc_gamemenu.cpp:10: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from src/moc_gamemenu.cpp:10: src/gamemenu.h: At global scope: src/gamemenu.h:53:60: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/moc_gamemenu.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_smallhammertool.o src/moc_smallhammertool.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_twintool.o src/moc_twintool.cpp g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fPIE -pie -Wl,--as-needed -Wl,-z,now -Wl,-O1 -Wl,-rpath-link,/usr/lib64 -o jag src/baseitem.o src/bighammertool.o src/bombtool.o src/clocktool.o src/consttools.o src/displaywrapper.o src/gamebackground.o src/gamebonus.o src/gamecontrol.o src/gameitem.o src/gamemenu.o src/gamepaint.o src/gameprofile.o src/gamescene.o src/gamesound.o src/gamestat.o src/gamestatics.o src/gamestock.o src/gametools.o src/gamewidget.o src/gamexml.o src/hammertool.o src/main.o src/menucontrol.o src/mixertool.o src/randomkilltool.o src/scaler.o src/smallhammertool.o src/thundertool.o src/twintool.o src/unblocktool.o src/qrc_resources.o src/moc_bighammertool.o src/moc_bombtool.o src/moc_clocktool.o src/moc_consttools.o src/moc_gamebonus.o src/moc_gamemenu.o src/moc_gameprofile.o src/moc_gamescene.o src/moc_gamesound.o src/moc_gametools.o src/moc_gamewidget.o src/moc_hammertool.o src/moc_mixertool.o src/moc_randomkilltool.o src/moc_smallhammertool.o src/moc_thundertool.o src/moc_twintool.o src/moc_unblocktool.o -lX11 -lXrandr -lSDL2_mixer -lSDL2 /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5X11Extras.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so -lGL -lpthread + pushd src/editor ~/rpmbuild/BUILD/jag-0.3.8/src/editor ~/rpmbuild/BUILD/jag-0.3.8 + /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= + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/lib64/qt5/bin/uic levelpack.ui -o ui_levelpack.h /usr/lib64/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h /usr/lib64/qt5/bin/rcc -name editor editor.qrc -o qrc_editor.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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 -dM -E -o moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qrc_editor.o qrc_editor.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor -I/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include levelwidget.h -o moc_levelwidget.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor -I/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include levelpack.h -o moc_levelpack.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor -I/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-mageia-linux-gnu -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I/usr/local/include -I/usr/include mainwindow.h -o moc_mainwindow.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o levelwidget.o levelwidget.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_levelwidget.o moc_levelwidget.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_levelpack.o moc_levelpack.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o levelpack.o levelpack.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.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 -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -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_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp mainwindow.cpp: In member function 'void MainWindow::fileCreateLevelPack()': mainwindow.cpp:241:49: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 241 | QString fs = files.takeAt(qrand() % files.count()); | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/QVariant:1, from ui_mainwindow.h:12, from mainwindow.h:29, from mainwindow.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1279:80: note: declared here 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lpthread -fPIE -pie -Wl,--as-needed -Wl,-z,now -Wl,-O1 -Wl,-rpath-link,/usr/lib64 -o jag-editor levelpack.o levelwidget.o main.o mainwindow.o qrc_editor.o moc_levelpack.o moc_levelwidget.o moc_mainwindow.o /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5X11Extras.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so -lGL -lpthread + popd ~/rpmbuild/BUILD/jag-0.3.8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.SJpgjj + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 + cd jag-0.3.8 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 'INSTALL=/usr/bin/install -p' INSTALL_ROOT=/home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 /usr/lib64/qt5/bin/qmake -install qinstall -exe jag /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/games/jag /usr/lib64/qt5/bin/qmake -install qinstall /home/iurt/rpmbuild/BUILD/jag-0.3.8/data /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/games/jag/data /usr/lib64/qt5/bin/qmake -install qinstall /home/iurt/rpmbuild/BUILD/jag-0.3.8/dist/jag.desktop /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/applications/jag.desktop /usr/lib64/qt5/bin/qmake -install qinstall /home/iurt/rpmbuild/BUILD/jag-0.3.8/dist/jag.png /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/icons/hicolor/256x256/apps/jag.png /usr/lib64/qt5/bin/qmake -install qinstall /home/iurt/rpmbuild/BUILD/jag-0.3.8/dist/jag.appdata.xml /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/metainfo/jag.appdata.xml + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 'INSTALL=/usr/bin/install -p' -C src/editor INSTALL_ROOT=/home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 make: Entering directory '/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor' /usr/lib64/qt5/bin/qmake -install qinstall -exe jag-editor /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/games/jag-editor /usr/lib64/qt5/bin/qmake -install qinstall /home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor/images /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/games/jag/editor/images make: Leaving directory '/home/iurt/rpmbuild/BUILD/jag-0.3.8/src/editor' + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 0.3.8-1.mga8 --unique-debug-suffix -0.3.8-1.mga8.x86_64 --unique-debug-src-base jag-0.3.8-1.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/jag-0.3.8 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/games/jag-editor explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/games/jag extracting debug info from /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/games/jag-editor extracting debug info from /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/games/jag original debug info size: 18396kB, size after compression: 8132kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 7966 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jag-0.3.8-1.mga8.x86_64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ekZcbl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jag-0.3.8 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/doc/jag + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/doc/jag + cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64/usr/share/doc/jag + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(jag.desktop) jag = 0.3.8-1.mga8 jag(x86-64) = 0.3.8-1.mga8 metainfo() metainfo(jag.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.15)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5OpenGL.so.5()(64bit) libQt5OpenGL.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libQt5X11Extras.so.5()(64bit) libQt5X11Extras.so.5(Qt_5)(64bit) libSDL2-2.0.so.0()(64bit) libSDL2_mixer-2.0.so.0()(64bit) libX11.so.6()(64bit) libXrandr.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) Processing files: jag-data-0.3.8-1.mga8.noarch Provides: jag-data = 0.3.8-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jag-debugsource-0.3.8-1.mga8.x86_64 Provides: jag-debugsource = 0.3.8-1.mga8 jag-debugsource(x86-64) = 0.3.8-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jag-debuginfo-0.3.8-1.mga8.x86_64 Provides: debuginfo(build-id) = 6b03f68c9dd4493efc4bf9089cbc33e8a6395952 debuginfo(build-id) = a1a9b650b91ac8666295167402bc197547bacb64 jag-debuginfo = 0.3.8-1.mga8 jag-debuginfo(x86-64) = 0.3.8-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jag-debugsource(x86-64) = 0.3.8-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/jag-0.3.8-1.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/noarch/jag-data-0.3.8-1.mga8.noarch.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/jag-debugsource-0.3.8-1.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/jag-debuginfo-0.3.8-1.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.guD5Gk + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jag-0.3.8 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/jag-0.3.8-1.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.WUU9Al + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf jag-0.3.8 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!