Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/danmaq.spec'], chrootPath='/var/lib/mock/f33-build-171290-43944/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/danmaq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1581206400 Wrote: /builddir/build/SRPMS/danmaq-0.2.3.1-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/danmaq.spec'], chrootPath='/var/lib/mock/f33-build-171290-43944/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/danmaq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1581206400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hZp2Ao + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf danmaQ-0.2.3.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/danmaQ-v0.2.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd danmaQ-0.2.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kBrbup + umask 022 + cd /builddir/build/BUILD + cd danmaQ-0.2.3.1 + mkdir build + cd build + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -- The C compiler identification is GNU 10.0.1 -- The CXX compiler identification is GNU 10.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/danmaQ-0.2.3.1/build + make /usr/bin/cmake -S/builddir/build/BUILD/danmaQ-0.2.3.1 -B/builddir/build/BUILD/danmaQ-0.2.3.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/danmaQ-0.2.3.1/build/CMakeFiles /builddir/build/BUILD/danmaQ-0.2.3.1/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' make -f src/translations/CMakeFiles/translations.dir/build.make src/translations/CMakeFiles/translations.dir/depend make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' cd /builddir/build/BUILD/danmaQ-0.2.3.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/danmaQ-0.2.3.1 /builddir/build/BUILD/danmaQ-0.2.3.1/src/translations /builddir/build/BUILD/danmaQ-0.2.3.1/build /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/translations /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/translations/CMakeFiles/translations.dir/DependInfo.cmake --color= Scanning dependencies of target translations make[2]: Leaving directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' make -f src/translations/CMakeFiles/translations.dir/build.make src/translations/CMakeFiles/translations.dir/build make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' [ 6%] Generating ../../../src/translations/zh_CN.qm cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/translations && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/danmaQ-0.2.3.1/src/translations/zh_CN.ts Updating '/builddir/build/BUILD/danmaQ-0.2.3.1/src/translations/zh_CN.qm'... Generated 16 translation(s) (16 finished and 0 unfinished) [ 12%] Generating ../../../src/translations/zh_TW.qm cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/translations && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/danmaQ-0.2.3.1/src/translations/zh_TW.ts Updating '/builddir/build/BUILD/danmaQ-0.2.3.1/src/translations/zh_TW.qm'... Generated 16 translation(s) (16 finished and 0 unfinished) [ 18%] Generating ../../../src/translations/ja_JP.qm cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/translations && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/danmaQ-0.2.3.1/src/translations/ja_JP.ts Updating '/builddir/build/BUILD/danmaQ-0.2.3.1/src/translations/ja_JP.qm'... Generated 16 translation(s) (16 finished and 0 unfinished) make[2]: Leaving directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' [ 18%] Built target translations make -f src/CMakeFiles/resources.dir/build.make src/CMakeFiles/resources.dir/depend make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' cd /builddir/build/BUILD/danmaQ-0.2.3.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/danmaQ-0.2.3.1 /builddir/build/BUILD/danmaQ-0.2.3.1/src /builddir/build/BUILD/danmaQ-0.2.3.1/build /builddir/build/BUILD/danmaQ-0.2.3.1/build/src /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/CMakeFiles/resources.dir/DependInfo.cmake --color= Scanning dependencies of target resources make[2]: Leaving directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' make -f src/CMakeFiles/resources.dir/build.make src/CMakeFiles/resources.dir/build make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' make[2]: Nothing to be done for 'src/CMakeFiles/resources.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' [ 18%] Built target resources make -f src/CMakeFiles/danmaQ_autogen.dir/build.make src/CMakeFiles/danmaQ_autogen.dir/depend make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' cd /builddir/build/BUILD/danmaQ-0.2.3.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/danmaQ-0.2.3.1 /builddir/build/BUILD/danmaQ-0.2.3.1/src /builddir/build/BUILD/danmaQ-0.2.3.1/build /builddir/build/BUILD/danmaQ-0.2.3.1/build/src /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/CMakeFiles/danmaQ_autogen.dir/DependInfo.cmake --color= Scanning dependencies of target danmaQ_autogen make[2]: Leaving directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' make -f src/CMakeFiles/danmaQ_autogen.dir/build.make src/CMakeFiles/danmaQ_autogen.dir/build make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' [ 25%] Automatic MOC for target danmaQ cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/CMakeFiles/danmaQ_autogen.dir/AutogenInfo.json "" make[2]: Leaving directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' [ 25%] Built target danmaQ_autogen make -f src/CMakeFiles/danmaQ.dir/build.make src/CMakeFiles/danmaQ.dir/depend make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' [ 31%] Generating qrc_i18n.cpp cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/lib64/qt5/bin/rcc --name i18n --output /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/qrc_i18n.cpp /builddir/build/BUILD/danmaQ-0.2.3.1/src/i18n.qrc [ 37%] Generating qrc_icons.cpp cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/lib64/qt5/bin/rcc --name icons --output /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/qrc_icons.cpp /builddir/build/BUILD/danmaQ-0.2.3.1/src/icons.qrc cd /builddir/build/BUILD/danmaQ-0.2.3.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/danmaQ-0.2.3.1 /builddir/build/BUILD/danmaQ-0.2.3.1/src /builddir/build/BUILD/danmaQ-0.2.3.1/build /builddir/build/BUILD/danmaQ-0.2.3.1/build/src /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/CMakeFiles/danmaQ.dir/DependInfo.cmake --color= Scanning dependencies of target danmaQ make[2]: Leaving directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' make -f src/CMakeFiles/danmaQ.dir/build.make src/CMakeFiles/danmaQ.dir/build make[2]: Entering directory '/builddir/build/BUILD/danmaQ-0.2.3.1/build' [ 43%] Building CXX object src/CMakeFiles/danmaQ.dir/danmaQ_autogen/mocs_compilation.cpp.o cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -I/builddir/build/BUILD/danmaQ-0.2.3.1/build/src/danmaQ_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtX11Extras -Wall --std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/danmaQ.dir/danmaQ_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/danmaQ-0.2.3.1/build/src/danmaQ_autogen/mocs_compilation.cpp [ 50%] Building CXX object src/CMakeFiles/danmaQ.dir/main.cpp.o cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -I/builddir/build/BUILD/danmaQ-0.2.3.1/build/src/danmaQ_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtX11Extras -Wall --std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/danmaQ.dir/main.cpp.o -c /builddir/build/BUILD/danmaQ-0.2.3.1/src/main.cpp /builddir/build/BUILD/danmaQ-0.2.3.1/src/main.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/danmaQ-0.2.3.1/src/main.cpp:68:29: warning: 'void QDesktopWidget::workAreaResized(int)' is deprecated: Use QScreen::availableGeometryChanged() [-Wdeprecated-declarations] 68 | desktop, &QDesktopWidget::workAreaResized, | ^~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /builddir/build/BUILD/danmaQ-0.2.3.1/src/main.cpp:22: /usr/include/qt5/QtWidgets/qdesktopwidget.h:99:69: note: declared here 99 | QT_DEPRECATED_X("Use QScreen::availableGeometryChanged()") void workAreaResized(int); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/danmaQ-0.2.3.1/src/main.cpp:72:29: warning: 'void QDesktopWidget::screenCountChanged(int)' is deprecated: Use QGuiApplication::screenAdded/Removed() [-Wdeprecated-declarations] 72 | desktop, &QDesktopWidget::screenCountChanged, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /builddir/build/BUILD/danmaQ-0.2.3.1/src/main.cpp:22: /usr/include/qt5/QtWidgets/qdesktopwidget.h:100:72: note: declared here 100 | QT_DEPRECATED_X("Use QGuiApplication::screenAdded/Removed()") void screenCountChanged(int); | ^~~~~~~~~~~~~~~~~~ [ 56%] Building CXX object src/CMakeFiles/danmaQ.dir/Danmaku.cpp.o cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -I/builddir/build/BUILD/danmaQ-0.2.3.1/build/src/danmaQ_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtX11Extras -Wall --std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/danmaQ.dir/Danmaku.cpp.o -c /builddir/build/BUILD/danmaQ-0.2.3.1/src/Danmaku.cpp [ 62%] Building CXX object src/CMakeFiles/danmaQ.dir/DMCanvas.cpp.o cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -I/builddir/build/BUILD/danmaQ-0.2.3.1/build/src/danmaQ_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtX11Extras -Wall --std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/danmaQ.dir/DMCanvas.cpp.o -c /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMCanvas.cpp /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMCanvas.cpp: In constructor 'DMCanvas::DMCanvas(int, DMMainWindow*)': /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMCanvas.cpp:44:49: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 44 | QRect geo = desktop.screenGeometry(screenNumber); | ^ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMCanvas.cpp:21: /usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here 79 | QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const; | ^~~~~~~~~~~~~~ [ 68%] Building CXX object src/CMakeFiles/danmaQ.dir/DMMainWindow.cpp.o cd /builddir/build/BUILD/danmaQ-0.2.3.1/build/src && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -I/builddir/build/BUILD/danmaQ-0.2.3.1/build/src/danmaQ_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtX11Extras -Wall --std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/danmaQ.dir/DMMainWindow.cpp.o -c /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp: In constructor 'DMMainWindow::DMMainWindow(QApplication*)': /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp:99:61: warning: 'int QDesktopWidget::primaryScreen() const' is deprecated: Use QGuiApplication::primaryScreen() [-Wdeprecated-declarations] 99 | auto center = desktop.screenGeometry(desktop.primaryScreen()).center(); | ^ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp:19: /usr/include/qt5/QtWidgets/qdesktopwidget.h:73:65: note: declared here 73 | QT_DEPRECATED_X("Use QGuiApplication::primaryScreen()") int primaryScreen() const; | ^~~~~~~~~~~~~ /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp:99:62: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 99 | auto center = desktop.screenGeometry(desktop.primaryScreen()).center(); | ^ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp:19: /usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here 79 | QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp: In member function 'void DMMainWindow::init_canvases()': /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp:141:42: warning: 'int QDesktopWidget::screenCount() const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 141 | this->screenCount = desktop.screenCount(); | ^ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp:19: /usr/include/qt5/QtWidgets/qdesktopwidget.h:118:12: note: declared here 118 | inline int QDesktopWidget::screenCount() const | ^~~~~~~~~~~~~~ /builddir/build/BUILD/danmaQ-0.2.3.1/src/DMMainWindow.cpp:142:38: warning: 'int QDesktopWidget::screenCount() const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 142 | for (int i=0; i