Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec'], chrootPath='/var/lib/mock/f29-build-5217-1226/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/machineball.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 Wrote: /builddir/build/SRPMS/machineball-1.0-29.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec'], chrootPath='/var/lib/mock/f29-build-5217-1226/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/machineball.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7HIHPB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf machineball-src + /usr/bin/gzip -dc /builddir/build/SOURCES/machineball-src-1.0-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd machineball-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/machineball-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/machineball-config-only-once.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/machineball-1.0-ode.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/machineball-1.0-timer-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qI2AwV + umask 022 + cd /builddir/build/BUILD + cd machineball-src + make mbdata.c dat2c mbdata.dat -o mbdata.c -h mbdata.h -p mb -g Converting mbdata.dat to mbdata.c... I noticed some truecolor images, so you must call fixup_datafile() before using this data! (after setting a video mode). + /usr/bin/make -O -j4 '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' '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' g++ -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 -c -o intro.o intro.cpp BUILDSTDERR: intro.cpp: In function 'void showIntro()': BUILDSTDERR: intro.cpp:79:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(120, 280, "BENNY KRAMEK PRESENTS"); BUILDSTDERR: ^ BUILDSTDERR: intro.cpp:95:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(120, 280, "BENNY KRAMEK PRESENTS"); BUILDSTDERR: ^ BUILDSTDERR: intro.cpp:111:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, (int)(60*(time-8.7)), "THIS IS THE FUTURE."); BUILDSTDERR: ^ BUILDSTDERR: intro.cpp:112:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, (int)(60*(time-8.7))-50, "A FUTURE WHERE PRIMITIVE SPORTS"); BUILDSTDERR: ^ BUILDSTDERR: intro.cpp:113:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, (int)(60*(time-8.7))-100, "NO LONGER EXIST. IN THIS WORLD,"); BUILDSTDERR: ^ BUILDSTDERR: intro.cpp:114:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, (int)(60*(time-8.7))-150, "THERE IS ONLY ONE SPORT."); BUILDSTDERR: ^ BUILDSTDERR: intro.cpp:115:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, (int)(60*(time-8.7))-200, "THERE IS ONLY..."); BUILDSTDERR: ^ g++ -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 -c -o window.o window.cpp BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: }; BUILDSTDERR: ^ BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: }; BUILDSTDERR: ^ BUILDSTDERR: window.cpp:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:83:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: }; BUILDSTDERR: ^ BUILDSTDERR: window.cpp:83:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:83:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp:83:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: window.cpp: In function 'void createWindow(int, int)': BUILDSTDERR: window.cpp:210:14: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: text_mode(-1); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:155:1: note: declared here BUILDSTDERR: AL_FUNC_DEPRECATED(int, text_mode, (int mode)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:210:14: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: text_mode(-1); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:155:1: note: declared here BUILDSTDERR: AL_FUNC_DEPRECATED(int, text_mode, (int mode)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:211:78: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: textout_centre(screen, font, "Benny Kramek", 300, 90, makecol(255, 255, 255)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:211:78: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: textout_centre(screen, font, "Benny Kramek", 300, 90, makecol(255, 255, 255)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:212:93: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: textout_centre(screen, font, "http://benny.kramekweb.com", 300, 110, makecol(255, 255, 255)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:212:93: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: textout_centre(screen, font, "http://benny.kramekweb.com", 300, 110, makecol(255, 255, 255)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ g++ -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 -c -o main.o main.cpp BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from main.cpp:13: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: error: conflicting declaration of C function 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: note: previous declaration 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from main.cpp:13: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from main.cpp:13: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from main.cpp:13: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33:20: error: conflicting declaration of C function 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: note: previous declaration 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: main.cpp: In function 'int main(int, char**)': BUILDSTDERR: main.cpp:139:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(tempdummy, 256, fp); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:141:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &versiontest); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:148:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.resolution); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:149:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.colordepth); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:150:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.zdepth); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:151:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.musicvol); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:152:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.soundvol); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:153:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p1left); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:154:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p1right); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:155:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p1up); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:156:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p1down); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:157:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p1special); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:158:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p1fire); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:159:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p2left); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:160:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p2right); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:161:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p2up); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:162:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p2down); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:163:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p2special); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:164:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.p2fire); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:165:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.logoshow); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:166:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.fpsshow); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:167:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d", &options.camerashake); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [: main.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... g++ -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 -c -o menu.o menu.cpp BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from glode.h:14, BUILDSTDERR: from menu.cpp:23: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: error: conflicting declaration of C function 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from menu.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: note: previous declaration 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from glode.h:14, BUILDSTDERR: from menu.cpp:23: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from menu.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from glode.h:14, BUILDSTDERR: from menu.cpp:23: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from menu.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from glode.h:14, BUILDSTDERR: from menu.cpp:23: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33:20: error: conflicting declaration of C function 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from menu.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: note: previous declaration 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: menu.cpp: In function 'int mainMenu()': BUILDSTDERR: menu.cpp:201:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(40, 0, "BENNY KRAMEK 2002"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:203:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(200, 250, "HUMAN VS HUMAN"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:204:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(200, 200, "HUMAN VS COMP"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:205:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(200, 150, "OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:206:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(200, 100, "QUIT"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'int ballMenu()': BUILDSTDERR: menu.cpp:416:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(230, 450, "SELECT THE BALL"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:418:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(250, 20, "OFFICIAL BALL"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:420:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(320, 20, "BOULDER"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:422:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(280, 20, "BEACH BALL"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:424:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(270, 20, "SOCCER BALL"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:426:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 20, "BIG ORANGE BALL"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:428:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(260, 20, "INFLATED TUX"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:268:13: warning: unused variable 'ballbmp' [-Wunused-variable] BUILDSTDERR: DATAFILE * ballbmp; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: menu.cpp: In function 'int courtMenu()': BUILDSTDERR: menu.cpp:744:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(160, 450, "SELECT THE COURT SIZE"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:746:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(330, 10, "SMALL"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:748:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(320, 10, "NORMAL"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:750:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(330, 10, "LARGE"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:752:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(340, 10, "HUGE"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'void gameoptionsMenu(gameoptions*)': BUILDSTDERR: menu.cpp:1131:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(250, 550, "MATCH OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1133:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 500, "MATCH TYPE: TIME / GOAL LIMIT"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1135:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 450, "# OF MINUTES:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1137:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 450, "# OF GOALS:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1138:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(400, 450, "1 2 5 10 30 60"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1139:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 400, "NUKE STUCK BALL: YES / NO"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1140:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 350, "POWERUPS: ENABLED / DISABLED"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1143:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 300, "FREQUENCY (SECONDS): 1 3 10 30"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1144:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 250, "TURBO:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1145:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 200, "SHIELD:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1146:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 150, "MINE:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1147:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 100, "MISSLE:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1148:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 50, "EMP:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'void humancompmessage()': BUILDSTDERR: menu.cpp:1200:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(200, 440, "SORRY!"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1202:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 400, "ONLY HUMAN VS HUMAN IS AVAILABLE"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1204:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(120, 120, "IF YOU ARE A TALENTED AI"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1205:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(65, 80, "PROGRAMMER AND WOULD LIKE TO"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1206:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(60, 40, "PROGRAM SOME COMPUTER AI FOR"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1207:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(0, 0, "MACHINEBALL THEN PLEASE CONTACT ME."); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'int optionsMenu()': BUILDSTDERR: menu.cpp:1354:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(310, 500, "OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1356:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(300, 350, "CONTROLS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1357:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(330, 300, "AUDIO"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1358:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(330, 250, "VIDEO"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1359:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(200, 200, "BACK TO MAIN MENU"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'void audioMenu()': BUILDSTDERR: menu.cpp:1548:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(240, 500, "AUDIO OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1550:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(190, 350, "MASTER-VOL:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1551:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(190, 300, "MUSIC VOL:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1552:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(190, 250, "BACK TO OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'void videoMenu()': BUILDSTDERR: menu.cpp:1730:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(240, 500, "VIDEO OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1732:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(70, 350, "CAMERA-SHAKE FX: YES NO"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1733:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(70, 300, "SHOW LOGO IN GAME: YES NO"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1734:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(70, 250, "SHOW FRAMES-PER-SECOND: YES NO"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:1735:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(70, 200, "BACK TO OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'void controlsMenu()': BUILDSTDERR: menu.cpp:2281:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(240, 560, "CONTROLS OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2283:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 480, "DETECTED INPUT DEVICES:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2285:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 440, "KEYBOARD"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2287:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 440, ", JOYSTICK1"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2289:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(450, 440, ", JOYSTICK2"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2291:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 400, "JOYSTICK3"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2293:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 400, ", JOYSTICK4"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2296:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(40, 300, "PLAYER 1"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2297:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 240, "FORWARD:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2298:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 200, "REVERSE:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2299:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 160, "LEFT:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2300:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 120, "RIGHT:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2301:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 80, "KICK:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2302:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(20, 40, "FIRE:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2304:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(440, 300, "PLAYER 2"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2305:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(420, 240, "FORWARD:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2306:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(420, 200, "REVERSE:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2307:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(420, 160, "LEFT:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2308:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(420, 120, "RIGHT:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2309:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(420, 80, "KICK:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2310:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(420, 40, "FIRE:"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2312:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(200, 0, "BACK TO OPTIONS"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2333:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 240, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2337:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 200, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2341:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 160, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2345:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 120, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2349:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 80, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2353:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(220, 40, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2357:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(620, 240, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2361:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(620, 200, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2365:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(620, 160, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2369:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(620, 120, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2373:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(620, 80, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2377:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(620, 40, "???"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp: In function 'void creditsMenu()': BUILDSTDERR: menu.cpp:2453:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(240, 340, "BENNY KRAMEK 2002"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2455:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(10, 120, "OPEN-DYNAMICS-ENGINE : Q12.ORG/ODE"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2456:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(10, 80, "ALLEGRO : ALLEG.SF.NET"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2457:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(10, 40, "OPENGL : OPENGL.ORG"); BUILDSTDERR: ^ BUILDSTDERR: menu.cpp:2458:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: text.print(10, 0, "DUMB : DUMB.SF.NET"); BUILDSTDERR: ^ BUILDSTDERR: make: *** [: menu.o] Error 1 g++ -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 -c -o text.o text.cpp g++ -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 -c -o game.o game.cpp BUILDSTDERR: In file included from game.cpp:25: BUILDSTDERR: court.h:27:1: warning: multi-line comment [-Wcomment] BUILDSTDERR: // \ BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from game.cpp:15: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: error: conflicting declaration of C function 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from game.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: note: previous declaration 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from game.cpp:15: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from game.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from game.cpp:15: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from game.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from /usr/include/ode/odeconfig.h:32, BUILDSTDERR: from /usr/include/ode/ode.h:28, BUILDSTDERR: from game.cpp:15: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33:20: error: conflicting declaration of C function 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from game.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: note: previous declaration 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: game.cpp: In function 'void startGame(int, int, int, gameoptions)': BUILDSTDERR: game.cpp:105:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: bodymodel.load("0"); BUILDSTDERR: ^ BUILDSTDERR: game.cpp:106:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: pushermodel.load("1"); BUILDSTDERR: ^ BUILDSTDERR: game.cpp: In function 'void collisiondetection()': BUILDSTDERR: game.cpp:769:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(n=dCollide(ball.geom, explosionsphere, 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:789:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(n=dCollide(machine[i].geom[k], court.wall[j], 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:809:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(n=dCollide(machine[i].geom[k], court.corner[j], 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:851:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(n=dCollide(machine[i].geom[k], court.floor, 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:889:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(n=dCollide(machine[i].geom[k], explosionsphere, 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:909:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if(n=dCollide(machine[0].geom[i], machine[1].geom[k], 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [: game.o] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.qI2AwV (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.qI2AwV (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec