Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/BlockOutII.spec'], chrootPath='/var/lib/mock/f40-build-793648-138985/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/BlockOutII.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Wrote: /builddir/build/SRPMS/BlockOutII-2.5-27.fc40.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/BlockOutII.spec'], chrootPath='/var/lib/mock/f40-build-793648-138985/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/BlockOutII.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LJHEgs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf BL_SRC + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bl25-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BL_SRC + rm -rf /builddir/build/BUILD/BL_SRC-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/BL_SRC-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bl25-linux-x86.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (BlockOutII-2.3-syslibs.patch):' Patch #0 (BlockOutII-2.3-syslibs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ImageLib/src/Makefile patching file ImageLib/src/png/hpng.c Patch #1 (BlockOutII-2.3-bl2Home.patch): + echo 'Patch #1 (BlockOutII-2.3-bl2Home.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file BlockOut/Utils.cpp Hunk #1 succeeded at 207 (offset 45 lines). Patch #2 (BlockOutII-2.3-restore-resolution.patch): + echo 'Patch #2 (BlockOutII-2.3-restore-resolution.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file BlockOut/GLApp/GLApp.cpp patching file BlockOut/BlockOut.cpp Patch #3 (BlockOutII-2.3-libpng15.patch): + echo 'Patch #3 (BlockOutII-2.3-libpng15.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ImageLib/src/png/hpng.c + echo 'Patch #4 (BlockOutII-2.3-format-security.patch):' Patch #4 (BlockOutII-2.3-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file BlockOut/GLApp/GLApp.cpp patching file BlockOut/PageHallOfFameOnLine.cpp + echo 'Patch #5 (BlockOutII-c99.patch):' Patch #5 (BlockOutII-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ImageLib/src/png/hpng.c + iconv -f ISO8859-1 -t UTF8 BlockOut/README.txt + sed -i 's/\r//' t + touch -r BlockOut/README.txt t + mv t BlockOut/README.txt + rm -r ImageLib/src/png/png ImageLib/src/png/zlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nf5maA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC ~/build/BUILD/BL_SRC/ImageLib/src ~/build/BUILD/BL_SRC + CXX=g++ + export CXX + cd BL_SRC + pushd ImageLib/src + make -j4 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c' 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c' g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c -c -o gif/gif.o gif/gif.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c -c -o CImage.o CImage.cpp gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c -c -o png/hpng.o png/hpng.c g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c -c -o jpg/H2v2.o jpg/H2v2.cpp png/hpng.c: In function ‘LoadPngImage’: png/hpng.c:105:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 105 | d->data = dst; | ^ In file included from CImage.cpp:10: jpg/jpegdecoder.h:327: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 327 | #pragma warning(push) jpg/jpegdecoder.h:328: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 328 | #pragma warning( disable : 4035 4799 ) jpg/jpegdecoder.h:632: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 632 | #pragma warning(pop) In file included from jpg/H2v2.cpp:26: jpg/jpegdecoder.h:327: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 327 | #pragma warning(push) jpg/jpegdecoder.h:328: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 328 | #pragma warning( disable : 4035 4799 ) jpg/jpegdecoder.h:632: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 632 | #pragma warning(pop) g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c -c -o jpg/idct.o jpg/idct.cpp In file included from jpg/idct.cpp:40: jpg/jpegdecoder.h:327: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 327 | #pragma warning(push) jpg/jpegdecoder.h:328: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 328 | #pragma warning( disable : 4035 4799 ) jpg/jpegdecoder.h:632: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 632 | #pragma warning(pop) g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c -c -o jpg/jpegdecoder.o jpg/jpegdecoder.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -c -c -o jpg/jpegdecodermain.o jpg/jpegdecodermain.cpp jpg/idct.cpp: In function ‘void idct(int16*, uchar*)’: jpg/idct.cpp:70:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 70 | register BLOCK_TYPE *dataptr; | ^~~~~~~ In file included from jpg/jpegdecoder.cpp:25: jpg/jpegdecoder.h:327: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 327 | #pragma warning(push) jpg/jpegdecoder.h:328: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 328 | #pragma warning( disable : 4035 4799 ) jpg/jpegdecoder.h:632: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 632 | #pragma warning(pop) In file included from jpg/jpegdecodermain.cpp:20: jpg/jpegdecoder.h:327: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 327 | #pragma warning(push) jpg/jpegdecoder.h:328: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 328 | #pragma warning( disable : 4035 4799 ) jpg/jpegdecoder.h:632: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 632 | #pragma warning(pop) jpg/jpegdecodermain.cpp: In function ‘int LoadJpegImage(JPEG_IMAGE*)’: jpg/jpegdecodermain.cpp:57:30: warning: too many arguments for format [-Wformat-extra-args] 57 | sprintf(JpegErrorMessage,"Error: Unable to allocate memory for stream object!\n", Psrc_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpg/jpegdecodermain.cpp:72:30: warning: too many arguments for format [-Wformat-extra-args] 72 | sprintf(JpegErrorMessage,"Error: Unable to allocate memory for decoder object!\n", Psrc_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Making library... ar -rv libimagelib.a gif/gif.o CImage.o png/hpng.o jpg/H2v2.o jpg/idct.o jpg/jpegdecoder.o jpg/jpegdecodermain.o ar: creating libimagelib.a a - gif/gif.o a - CImage.o a - png/hpng.o a - jpg/H2v2.o a - jpg/idct.o a - jpg/jpegdecoder.o a - jpg/jpegdecodermain.o + popd ~/build/BUILD/BL_SRC ~/build/BUILD/BL_SRC/BlockOut ~/build/BUILD/BL_SRC + pushd BlockOut ++ sdl-config --cflags + make -j4 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c' 'ADD_LIBS=-L../ImageLib/src -limagelib -lpng -lz' g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o BlockOut.o BlockOut.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageChooseSetup.o PageChooseSetup.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageStartGame.o PageStartGame.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o EditControl.o EditControl.cpp EditControl.cpp: In member function ‘int EditControl::Process(BYTE*, float)’: EditControl.cpp:129:9: warning: unused variable ‘x’ [-Wunused-variable] 129 | int x = 0; | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageControls.o PageControls.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o Pit.o Pit.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o Game.o Game.cpp BlockOut.cpp: In function ‘int main(int, char**)’: BlockOut.cpp:57:11: warning: deleting object of polymorphic class type ‘BlockOut’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 57 | delete glApp; | ^~~~~~~~~~~~ Pit.cpp: In member function ‘void Pit::DrawPitLevelCubes(int, int, int, int, GLMATERIAL*)’: Pit.cpp:1344:9: warning: unused variable ‘white’ [-Wunused-variable] 1344 | DWORD white = 0x909090; | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageCredits.o PageCredits.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PolyCube.o PolyCube.cpp Game.cpp: In member function ‘int Game::Create(int, int)’: Game.cpp:167:5: warning: ‘hr’ may be used uninitialized [-Wmaybe-uninitialized] 167 | if(!hr) return GL_FAIL; | ^~ Game.cpp:153:9: note: ‘hr’ was declared here 153 | int hr; | ^~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o Http.o Http.cpp Http.cpp: In member function ‘char* Http::UploadFile(char*, char*, BYTE*, DWORD, DWORD)’: Http.cpp:341:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘DWORD’ {aka ‘unsigned int’} [-Wsign-compare] 341 | if( w != length ) { | ~~^~~~~~~~~ PolyCube.cpp: In member function ‘BOOL PolyCube::IsEdgeVisible(int, int)’: PolyCube.cpp:752:7: warning: unused variable ‘nb’ [-Wunused-variable] 752 | int nb = 0; | ^~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageHallOfFame.o PageHallOfFame.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o SetupManager.o SetupManager.cpp PolyCube.cpp: In member function ‘int PolyCube::CreateCylinderEdges(float)’: PolyCube.cpp:531:17: warning: ‘nx’ may be used uninitialized [-Wmaybe-uninitialized] 531 | glVertex3f(x2c + x,y2c + y,z2c + z); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ PolyCube.cpp:483:19: note: ‘nx’ was declared here 483 | float x,y,z,nx,ny,nz; | ^~ PolyCube.cpp:531:17: warning: ‘ny’ may be used uninitialized [-Wmaybe-uninitialized] 531 | glVertex3f(x2c + x,y2c + y,z2c + z); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ PolyCube.cpp:483:22: note: ‘ny’ was declared here 483 | float x,y,z,nx,ny,nz; | ^~ PolyCube.cpp:531:17: warning: ‘nz’ may be used uninitialized [-Wmaybe-uninitialized] 531 | glVertex3f(x2c + x,y2c + y,z2c + z); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ PolyCube.cpp:483:25: note: ‘nz’ was declared here 483 | float x,y,z,nx,ny,nz; | ^~ PolyCube.cpp:534:17: warning: ‘nx2’ may be used uninitialized [-Wmaybe-uninitialized] 534 | glVertex3f(x2c + x2,y2c + y2,z2c + z2); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PolyCube.cpp:484:22: note: ‘nx2’ was declared here 484 | float x2,y2,z2,nx2,ny2,nz2; | ^~~ PolyCube.cpp:534:17: warning: ‘ny2’ may be used uninitialized [-Wmaybe-uninitialized] 534 | glVertex3f(x2c + x2,y2c + y2,z2c + z2); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PolyCube.cpp:484:26: note: ‘ny2’ was declared here 484 | float x2,y2,z2,nx2,ny2,nz2; | ^~~ PolyCube.cpp:534:17: warning: ‘nz2’ may be used uninitialized [-Wmaybe-uninitialized] 534 | glVertex3f(x2c + x2,y2c + y2,z2c + z2); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PolyCube.cpp:484:30: note: ‘nz2’ was declared here 484 | float x2,y2,z2,nx2,ny2,nz2; | ^~~ SetupManager.cpp: In member function ‘void SetupManager::ReadScoreItem(FILE*, SCOREREC*)’: SetupManager.cpp:611:9: warning: variable ‘nbRead’ set but not used [-Wunused-but-set-variable] 611 | DWORD nbRead; | ^~~~~~ SetupManager.cpp: In member function ‘BOOL SetupManager::Check(int, int, int, int)’: SetupManager.cpp:843:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 843 | return ( (w == pitWidth) && (h == pitHeight) || | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o InitPolyCube.o InitPolyCube.cpp PolyCube.cpp: In member function ‘BOOL PolyCube::IsEdgeVisible(int, int)’: PolyCube.cpp:802:18: warning: ‘e1’ may be used uninitialized [-Wmaybe-uninitialized] 802 | return !( (!e1 && !e2 && e3) || (e1 && !e2 && !e3) || (e1 && e2 && e3) ); | ~~~~^~~~~~ PolyCube.cpp:753:8: note: ‘e1’ was declared here 753 | BOOL e1,e2,e3; | ^~ PolyCube.cpp:802:18: warning: ‘e2’ may be used uninitialized [-Wmaybe-uninitialized] 802 | return !( (!e1 && !e2 && e3) || (e1 && !e2 && !e3) || (e1 && e2 && e3) ); | ~~~~^~~~~~ PolyCube.cpp:753:11: note: ‘e2’ was declared here 753 | BOOL e1,e2,e3; | ^~ PolyCube.cpp:753:14: warning: ‘e3’ may be used uninitialized [-Wmaybe-uninitialized] 753 | BOOL e1,e2,e3; | ^~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageHallOfFameOnLine.o PageHallOfFameOnLine.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o SoundManager.o SoundManager.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o Menu.o Menu.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageHttp.o PageHttp.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o Sprites.o Sprites.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o MenuGraphics.o MenuGraphics.cpp Sprites.cpp: In member function ‘int Sprites::GetNumberWidth(char)’: Sprites.cpp:135:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] 135 | return numberWidth[number]; | ^~~~~~ Sprites.cpp: In member function ‘void Sprites::RenderNumbers(int, int, char*)’: Sprites.cpp:179:110: warning: array subscript has type ‘char’ [-Wchar-subscripts] 179 | float offset = (1.0f - (float)nwidth/(float)GetNumberWidth(number)) * (numberMap[number+1]-numberMap[number]); | ^~~~~~ Sprites.cpp:180:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] 180 | sX = numberMap[number] + offset; | ^~~~~~ Sprites.cpp:208:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 208 | sX = numberMap[number]; | ^~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageMainMenu.o PageMainMenu.cpp Sprites.cpp: In member function ‘void Sprites::RenderBlockSet(int)’: Sprites.cpp:423:30: warning: ‘sY’ may be used uninitialized [-Wmaybe-uninitialized] 423 | baseSprite.SetSpriteMapping(sX,sY,eX,eY); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Sprites.cpp:393:9: note: ‘sY’ was declared here 393 | float sY; | ^~ Sprites.cpp:423:30: warning: ‘eY’ may be used uninitialized [-Wmaybe-uninitialized] 423 | baseSprite.SetSpriteMapping(sX,sY,eX,eY); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Sprites.cpp:394:9: note: ‘eY’ was declared here 394 | float eY; | ^~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o Utils.o Utils.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o MenuGrid.o MenuGrid.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageOptions.o PageOptions.cpp Utils.cpp: In function ‘char* FormatDate(uint32)’: Utils.cpp:115:42: warning: ‘:’ directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 115 | sprintf(ret,"%02d-%02d-%04d %02d:%02d:%02d",ts->tm_mday,ts->tm_mon+1,ts->tm_year+1900, | ^ In file included from /usr/include/stdio.h:980, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from GLApp/GLApp.h:5, from Types.h:18, from Utils.cpp:18: In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘char* FormatDate(uint32)’ at Utils.cpp:115:12: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 20 and 72 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Utils.cpp: In function ‘char* LID(char*)’: Utils.cpp:242:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 242 | sprintf(ret,"%s/%s",bl2Home,fileName); | ^ In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘char* LID(char*)’ at Utils.cpp:242:10: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Utils.cpp: In function ‘char* LHD(char*)’: Utils.cpp:263:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 263 | sprintf(ret,"%s/%s",usrHome,fileName); | ^ In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘char* LHD(char*)’ at Utils.cpp:263:10: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Utils.cpp: In function ‘int CreateTexture(int, int, char*, GLuint*)’: Utils.cpp:242:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 242 | sprintf(ret,"%s/%s",bl2Home,fileName); | ^ In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘char* LID(char*)’ at Utils.cpp:242:10, inlined from ‘int CreateTexture(int, int, char*, GLuint*)’ at Utils.cpp:280:21: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Utils.cpp: In function ‘int CreateTexture(int, int, char*, GLuint*)’: Utils.cpp:242:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 242 | sprintf(ret,"%s/%s",bl2Home,fileName); | ^ In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘char* LID(char*)’ at Utils.cpp:242:10, inlined from ‘int CreateTexture(int, int, char*, GLuint*)’ at Utils.cpp:300:11: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageChangeSetup.o PageChangeSetup.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageScoreDetails.o PageScoreDetails.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o PageGSOptions.o PageGSOptions.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o BotPlayer.o BotPlayer.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o BotPlayerAI.o BotPlayerAI.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o BotMatrix.o BotMatrix.cpp BotPlayerAI.cpp: In member function ‘float BotPlayer::CheckDeathZone()’: BotPlayerAI.cpp:47:7: warning: unused variable ‘H’ [-Wunused-variable] 47 | int H = height-1; | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o GLApp/GLApp.o GLApp/GLApp.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o GLApp/GLFont.o GLApp/GLFont.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o GLApp/GLMatrix.o GLApp/GLMatrix.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Dlinux -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../ImageLib/src -c -c -o GLApp/GLSprite.o GLApp/GLSprite.cpp Linking... g++ BlockOut.o PageChooseSetup.o PageStartGame.o EditControl.o PageControls.o Pit.o Game.o PageCredits.o PolyCube.o Http.o PageHallOfFame.o SetupManager.o InitPolyCube.o PageHallOfFameOnLine.o SoundManager.o Menu.o PageHttp.o Sprites.o MenuGraphics.o PageMainMenu.o Utils.o MenuGrid.o PageOptions.o PageChangeSetup.o PageScoreDetails.o PageGSOptions.o BotPlayer.o BotPlayerAI.o BotMatrix.o GLApp/GLApp.o GLApp/GLFont.o GLApp/GLMatrix.o GLApp/GLSprite.o -L /usr/lib/i386-linux-gnu -L../ImageLib/src -limagelib -lpng -lz -lSDL_mixer -lSDL -lasound -lGL -lGLU -lpthread -lm -ldl -o blockout Linking OK... + popd ~/build/BUILD/BL_SRC + convert BlockOut/block_icon.ico BlockOutII.png + convert BlockOutII-2.png -resize 64x64 BlockOutII-64x64.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CSsrTC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BL_SRC + mkdir -p /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/BlockOutII/images + mkdir -p /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/BlockOutII/sounds + install -m 755 BlockOut/blockout /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/bin/BlockOutII + ln -s opengl-game-wrapper.sh /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/bin/BlockOutII-wrapper + install -p -m 644 blockout/images/background.png blockout/images/background2.png blockout/images/background3.png blockout/images/font.png blockout/images/gameover.png blockout/images/gameovera.png blockout/images/marble.png blockout/images/marbleg.png blockout/images/menuback.png blockout/images/menucredits.png blockout/images/menufont.png blockout/images/menufont2.png blockout/images/menupit.png blockout/images/online.png blockout/images/onlinea.png blockout/images/spark.png blockout/images/sparka.png blockout/images/sprites.png blockout/images/spritesa.png blockout/images/star_crystal_grid.png /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/BlockOutII/images + install -p -m 644 blockout/sounds/blub.wav blockout/sounds/empty.wav blockout/sounds/empty2.wav blockout/sounds/hit.wav blockout/sounds/level.wav blockout/sounds/level2.wav blockout/sounds/line.wav blockout/sounds/line2.wav blockout/sounds/music.ogg blockout/sounds/tchh.wav blockout/sounds/welldone.wav blockout/sounds/welldone2.wav blockout/sounds/wozz.wav /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/BlockOutII/sounds + mkdir -p /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/applications /builddir/build/SOURCES/BlockOutII.desktop + install -D -p -m 644 BlockOutII-1.png /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/icons/hicolor/16x16/apps/BlockOutII.png + install -D -p -m 644 BlockOutII-0.png /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/icons/hicolor/32x32/apps/BlockOutII.png + install -D -p -m 644 BlockOutII-2.png /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/icons/hicolor/48x48/apps/BlockOutII.png + install -D -p -m 644 BlockOutII-64x64.png /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/icons/hicolor/64x64/apps/BlockOutII.png + mkdir -p /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/appdata + cat + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.5-27.fc40 --unique-debug-suffix -2.5-27.fc40.riscv64 --unique-debug-src-base BlockOutII-2.5-27.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/BL_SRC find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/BlockOutII-2.5-27.fc40.riscv64 1105 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/CImage.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/png/hpng.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/png/hpng.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/CImage.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/gif/gif.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/gif/gif.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/jpg/main.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/jpg/jpegdecoder.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/jpg/H2v2.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/jpg/jpegdecoder.inl is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/jpg/jpegdecodermain.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/jpg/jpegdecoder.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/BlockOutII-2.5-27.fc40.riscv64/ImageLib/src/jpg/idct.cpp is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: BlockOutII-2.5-27.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.D0sVpH + umask 022 + cd /builddir/build/BUILD + cd BL_SRC + DOCDIR=/builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/doc/BlockOutII + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/doc/BlockOutII + cp -pr /builddir/build/BUILD/BL_SRC/BlockOut/README.txt /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64/usr/share/doc/BlockOutII + RPM_EC=0 ++ jobs -p + exit 0 Provides: BlockOutII = 2.5-27.fc40 BlockOutII(riscv-64) = 2.5-27.fc40 application() application(BlockOutII.desktop) metainfo() metainfo(BlockOutII.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libSDL-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libasound.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_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) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: BlockOutII-debugsource-2.5-27.fc40.riscv64 Provides: BlockOutII-debugsource = 2.5-27.fc40 BlockOutII-debugsource(riscv-64) = 2.5-27.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: BlockOutII-debuginfo-2.5-27.fc40.riscv64 Provides: BlockOutII-debuginfo = 2.5-27.fc40 BlockOutII-debuginfo(riscv-64) = 2.5-27.fc40 debuginfo(build-id) = d91e5610ff07a06537bee0566d8b385071e2f4d8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: BlockOutII-debugsource(riscv-64) = 2.5-27.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64 Wrote: /builddir/build/RPMS/BlockOutII-debugsource-2.5-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/BlockOutII-debuginfo-2.5-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/BlockOutII-2.5-27.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s7FyWO + umask 022 + cd /builddir/build/BUILD + cd BL_SRC + /usr/bin/rm -rf /builddir/build/BUILDROOT/BlockOutII-2.5-27.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.kS4pwM + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/BL_SRC-SPECPARTS + rm -rf BL_SRC BL_SRC.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0