D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/iurt/rpmbuild/SRPMS/@2382586:fceux-2.7.0-1.mga11.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Q1Cacq Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6SvBUY + umask 022 + cd /home/iurt/rpmbuild/BUILD/fceux-2.7.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/fceux-2.7.0-build + rm -rf fceux-fceux-2.7.0 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/fceux-2.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fceux-fceux-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/fceux-2.6.4-mga-desktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf src/lua + rm -rf src/utils/unzip.cpp src/utils/unzip.h + find . -name '*.dll' -delete + find . -name '*.exe' -delete + sed -i 's/\r//' changelog.txt NewPPUtests.txt documentation/Videolog.txt fceux-server/AUTHORS fceux-server/ChangeLog fceux-server/README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZJb0fu + umask 022 + cd /home/iurt/rpmbuild/BUILD/fceux-2.7.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fceux-fceux-2.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j24 V=1 VERBOSE=1 -C fceux-server make: Entering directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o throttle.o throttle.cpp make: Leaving directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' make: Entering directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o md5.o md5.cpp make: Leaving directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' make: Entering directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o server.o server.cpp server.cpp: In function 'int LoadConfigFile(const char*)': server.cpp:130:50: warning: format '%a' expects argument of type 'float*', but argument 3 has type 'char**' [-Wformat=] 130 | sscanf(buf,"%*s %as",&pass); | ~^ ~~~~~ | | | | | char** | float* server.cpp: In function 'int CheckNBTCPReceive(ClientEntry*)': server.cpp:404:77: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 404 | printf("Client %d assigned to game %d as player %s <%s>\n",client->id,(GameEntry*)client->game - Games,mps, client->nickname); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld server.cpp:239:17: warning: 'throw' will always call 'terminate' [-Wterminate] 239 | throw(1); /* Should not happen. */ | ^~~~~~~~ server.cpp:249:25: warning: 'throw' will always call 'terminate' [-Wterminate] 249 | throw(1); /* Die now. NOW. */ | ^~~~~~~~ server.cpp:288:49: warning: 'throw' will always call 'terminate' [-Wterminate] 288 | throw(1); | ^~~~~~~~ server.cpp:311:46: warning: 'throw' will always call 'terminate' [-Wterminate] 311 | else throw(1); | ^~~~~~~~ server.cpp:344:33: warning: 'throw' will always call 'terminate' [-Wterminate] 344 | throw(1); | ^~~~~~~~ server.cpp:367:49: warning: 'throw' will always call 'terminate' [-Wterminate] 367 | throw(1); | ^~~~~~~~ server.cpp:380:49: warning: 'throw' will always call 'terminate' [-Wterminate] 380 | throw(1); | ^~~~~~~~ server.cpp: In function 'int MakeSendTCP(ClientEntry*, uint8*, uint32)': server.cpp:475:17: warning: 'throw' will always call 'terminate' [-Wterminate] 475 | throw(1); | ^~~~~~~~ server.cpp: In function 'void KillClient(ClientEntry*)': server.cpp:565:61: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 565 | printf("Player <%s> disconnected from game %d on %s",client->nickname,game-Games,ctime(&curtime)); | ~^ ~~~~~~~~~~ | | | | int long int | %ld server.cpp:571:39: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 571 | printf("Game %d destroyed.\n",game-Games); | ~^ ~~~~~~~~~~ | | | | int long int | %ld server.cpp: In function 'void AddClientToGame(ClientEntry*, uint8*, uint8*)': server.cpp:626:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 626 | printf("Game %d added\n",game-Games); | ~^ ~~~~~~~~~~ | | | | int long int | %ld server.cpp:680:17: warning: 'throw' will always call 'terminate' [-Wterminate] 680 | throw(1); | ^~~~~~~~ server.cpp: In function 'int CheckNBTCPReceive(ClientEntry*)': server.cpp:326:57: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | asprintf(&ma2, "<%s> %s",client->nickname,ma); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.cpp:402:57: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 402 | asprintf(&client->nickname,"*Player %s",mps); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.cpp: In function 'void TextToClient(ClientEntry*, const char*, ...)': server.cpp:515:18: warning: ignoring return value of 'int vasprintf(char**, const char*, __va_list_tag*)' declared with attribute 'warn_unused_result' [-Wunused-result] 515 | vasprintf(&moo, fmt, ap); | ~~~~~~~~~^~~~~~~~~~~~~~~ server.cpp: In function 'void KillClient(ClientEntry*)': server.cpp:566:25: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 566 | asprintf(&bmsg, "* Player %s <%s> left.",MakeMPS(client),client->nickname); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.cpp: In function 'void BroadcastText(GameEntry*, const char*, ...)': server.cpp:537:18: warning: ignoring return value of 'int vasprintf(char**, const char*, __va_list_tag*)' declared with attribute 'warn_unused_result' [-Wunused-result] 537 | vasprintf(&moo, fmt, ap); | ~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:580, from server.cpp:23: In function 'void* memset(void*, int, size_t)', inlined from 'void AddClientToGame(ClientEntry*, uint8*, uint8*)' at server.cpp:627:9, inlined from 'int CheckNBTCPReceive(ClientEntry*)' at server.cpp:385:21: /usr/include/bits/string_fortified.h:59:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' writing 128 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'int CheckNBTCPReceive(ClientEntry*)': cc1plus: note: destination object is likely at address zero make: Leaving directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' make: Entering directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o fceux-net-server server.o md5.o throttle.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make: Leaving directory '/home/iurt/rpmbuild/BUILD/fceux-2.7.0-build/fceux-fceux-2.7.0/fceux-server' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-author -S . -B build -G Ninja -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DQT6=ON -- The C compiler identification is GNU 16.2.0 -- The CXX compiler identification is GNU 16.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- GUI Frontend: Qt6 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib64/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found WrapVulkanHeaders: /usr/include -- Could NOT find Qt6Network (missing: Qt6Network_DIR) CMake Error at src/CMakeLists.txt:51 (find_package): Found package configuration file: /usr/lib64/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "Network". Expected Config file at "/usr/lib64/cmake/Qt6Network/Qt6NetworkConfig.cmake" does NOT exist Configuring with --debug-find-pkg=Qt6Network might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package. -- Configuring incomplete, errors occurred! error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ZJb0fu (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ZJb0fu (%build) I: [iurt_root_command] ERROR: chroot