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/sar2.spec'], chrootPath='/var/lib/mock/f29-build-24952-13012/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/sar2.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/sar2-2.3.3-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sar2.spec'], chrootPath='/var/lib/mock/f29-build-24952-13012/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/sar2.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.jnRkwk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sar2-2.3.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.3.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sar2-2.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FcnViu + umask 022 + cd /builddir/build/BUILD + cd sar2-2.3.3 + scons '--optflags=-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 -DHAVE_LIBXPM' scons: Reading SConscript files ... BUILDSTDERR: scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. BUILDSTDERR: File "/builddir/build/BUILD/sar2-2.3.3/SConstruct", line 1, in scons: done reading SConscript files. scons: Building targets ... gcc -o build/v3dfio.o -c -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 -DHAVE_LIBXPM src/v3dfio.c BUILDSTDERR: src/v3dfio.c: In function 'V3DLoadModel': BUILDSTDERR: src/v3dfio.c:505:25: warning: variable 'mp_texture_off' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_texture_off_struct *mp_texture_off = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/v3dfio.c:489:22: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_unrotate_struct *mp_unrotate = NULL; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/v3dfio.c:487:25: warning: variable 'mp_untranslate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_untranslate_struct *mp_untranslate = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/v3dfio.c: In function 'V3DSaveModel': BUILDSTDERR: src/v3dfio.c:3170:25: warning: variable 'mp_texture_off' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_texture_off_struct *mp_texture_off = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/v3dfio.c:3154:22: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_unrotate_struct *mp_unrotate = NULL; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/v3dfio.c:3152:25: warning: variable 'mp_untranslate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_untranslate_struct *mp_untranslate = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~ gcc -o build/gctl.o -c -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 -DHAVE_LIBXPM src/gctl.c BUILDSTDERR: src/gctl.c: In function 'GCtlNew': BUILDSTDERR: src/gctl.c:116:21: warning: variable 'device' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *device; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/gctl.c: In function 'GCtlUpdate': BUILDSTDERR: src/gctl.c:327:13: warning: variable 'btn_kb_last' set but not used [-Wunused-but-set-variable] BUILDSTDERR: time_t *btn_kb_last; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/gctl.c:314:32: warning: variable 'dms' set but not used [-Wunused-but-set-variable] BUILDSTDERR: time_t gc_last_updated_ms, dms; BUILDSTDERR: ^~~ BUILDSTDERR: src/gctl.c:313:18: warning: variable 'options' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gctl_options options; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/gctl.c: In function 'GCtlDelete': BUILDSTDERR: src/gctl.c:1092:21: warning: variable 'joystick' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gctl_js_struct *joystick; BUILDSTDERR: ^~~~~~~~ gcc -o build/sarfio.o -c -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 -DHAVE_LIBXPM src/sarfio.c BUILDSTDERR: src/sarfio.c: In function 'SARParmDelete': BUILDSTDERR: src/sarfio.c:344:50: warning: variable 'p_runway_approach_lighting_south' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_runway_approach_lighting_south_struct *p_runway_approach_lighting_south; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sarfio.c:343:50: warning: variable 'p_runway_approach_lighting_north' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_runway_approach_lighting_north_struct *p_runway_approach_lighting_north; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sarfio.c:337:29: warning: variable 'p_new_smoke' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_new_smoke_struct *p_new_smoke; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/sarfio.c:336:28: warning: variable 'p_new_fire' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_new_fire_struct *p_new_fire; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/sarfio.c:326:40: warning: variable 'p_mission_begin_at_pos' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_mission_begin_at_pos_struct *p_mission_begin_at_pos; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sarfio.c:324:41: warning: variable 'p_mission_new_objective' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_mission_new_objective_struct *p_mission_new_objective; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/sfm.o -c -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 -DHAVE_LIBXPM src/sfm.c gcc -o build/explosion.o -c -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 -DHAVE_LIBXPM src/explosion.c gcc -o build/cpinsbearing.o -c -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 -DHAVE_LIBXPM src/cpinsbearing.c BUILDSTDERR: src/cpinsbearing.c: In function 'CPInsBearingValuesChanged': BUILDSTDERR: src/cpinsbearing.c:132:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int cstate; BUILDSTDERR: ^~~~~~ gcc -o build/sfmmath.o -c -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 -DHAVE_LIBXPM src/sfmmath.c gcc -o build/cmdclean.o -c -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 -DHAVE_LIBXPM src/cmdclean.c gcc -o build/simcb.o -c -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 -DHAVE_LIBXPM src/simcb.c BUILDSTDERR: src/simcb.c: In function 'SARSimTouchDownCB': BUILDSTDERR: src/simcb.c:823:32: warning: variable 'explosion_obj_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_struct *explosion_obj_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/simcb.c:229:21: warning: variable 'crash_flags' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_obj_flags_t crash_flags = 0; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/simcb.c:227:11: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float distance_to_camera, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/simcb.c: In function 'SARSimObjectCollisionCB': BUILDSTDERR: src/simcb.c:1162:14: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float r, distance_to_camera; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ gcc -o build/sarinstall.o -c -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 -DHAVE_LIBXPM src/sarinstall.c gcc -o build/simcontact.o -c -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 -DHAVE_LIBXPM src/simcontact.c gcc -o build/sarsplash.o -c -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 -DHAVE_LIBXPM src/sarsplash.c gcc -o build/cpinshorizon.o -c -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 -DHAVE_LIBXPM src/cpinshorizon.c BUILDSTDERR: src/cpinshorizon.c: In function 'CPInsHorizonValuesChanged': BUILDSTDERR: src/cpinshorizon.c:347:26: warning: variable 'tex_bg' set but not used [-Wunused-but-set-variable] BUILDSTDERR: v3d_texture_ref_struct *tex_bg, *tex_fg; BUILDSTDERR: ^~~~~~ gcc -o build/sarkey.o -c -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 -DHAVE_LIBXPM src/sarkey.c gcc -o build/stategl.o -c -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 -DHAVE_LIBXPM src/stategl.c gcc -o build/v3dmodel.o -c -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 -DHAVE_LIBXPM src/v3dmodel.c gcc -o build/sarmenumanage.o -c -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 -DHAVE_LIBXPM src/sarmenumanage.c gcc -o build/sardrawpm.o -c -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 -DHAVE_LIBXPM src/sardrawpm.c gcc -o build/menuobjview.o -c -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 -DHAVE_LIBXPM src/menuobjview.c BUILDSTDERR: src/menuobjview.c: In function 'SARMenuObjViewLoad': BUILDSTDERR: src/menuobjview.c:913:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)ov_ptr->obj_list; BUILDSTDERR: ^ BUILDSTDERR: src/menuobjview.c:1012:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: ov_ptr->obj_list = (void *)list; BUILDSTDERR: ^ BUILDSTDERR: src/menuobjview.c: In function 'SARMenuObjViewRebufferImage': BUILDSTDERR: src/menuobjview.c:1117:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)ov_ptr->obj_list; BUILDSTDERR: ^ gcc -o build/humanio.o -c -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 -DHAVE_LIBXPM src/humanio.c gcc -o build/gwx.o -c -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 -DHAVE_LIBXPM src/gwx.c BUILDSTDERR: src/gwx.c: In function 'GWGetCharacterFromKeyCode': BUILDSTDERR: src/gwx.c:796:2: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: keysym = XKeycodeToKeysym( BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from src/gwx.c:25: BUILDSTDERR: /usr/include/X11/Xlib.h:1687:15: note: declared here BUILDSTDERR: extern KeySym XKeycodeToKeysym( BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/gwx.c:810:6: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: keysym = XKeycodeToKeysym( BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from src/gwx.c:25: BUILDSTDERR: /usr/include/X11/Xlib.h:1687:15: note: declared here BUILDSTDERR: extern KeySym XKeycodeToKeysym( BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/gwx.c:827:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: return((int)(keytable[i + 1])); BUILDSTDERR: ^ BUILDSTDERR: src/gwx.c: In function 'GWSetWindowIconFile': BUILDSTDERR: src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^~ BUILDSTDERR: src/gwx.c:1000:22: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if((dpy == NULL) || STRISEMPTY(icon_path)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c:334:41: note: did you mean to dereference the pointer? BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^ BUILDSTDERR: src/gwx.c:1000:22: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if((dpy == NULL) || STRISEMPTY(icon_path)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c: In function 'GWCreateWindow': BUILDSTDERR: src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^~ BUILDSTDERR: src/gwx.c:1321:10: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if(!STRISEMPTY(title)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c:334:41: note: did you mean to dereference the pointer? BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^ BUILDSTDERR: src/gwx.c:1321:10: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if(!STRISEMPTY(title)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c: In function 'GWInit': BUILDSTDERR: src/gwx.c:1390:14: warning: variable 'pointer_color' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *pointer_color = NULL; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/gwx.c:1384:14: warning: variable 'foreground_color' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *foreground_color = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/gwx.c:1383:14: warning: variable 'background_color' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *background_color = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/gwx.c: In function 'GWContextNew': BUILDSTDERR: src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^~ BUILDSTDERR: src/gwx.c:3752:11: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if(!STRISEMPTY(title)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c:334:41: note: did you mean to dereference the pointer? BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^ BUILDSTDERR: src/gwx.c:3752:11: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if(!STRISEMPTY(title)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^~ BUILDSTDERR: src/gwx.c:3773:11: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if(!STRISEMPTY(title)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c:334:41: note: did you mean to dereference the pointer? BUILDSTDERR: #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^ BUILDSTDERR: src/gwx.c:3773:11: note: in expansion of macro 'STRISEMPTY' BUILDSTDERR: if(!STRISEMPTY(title)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx.c: In function 'GWContextDelete': BUILDSTDERR: src/gwx.c:3947:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (u_int32_t)glx_context BUILDSTDERR: ^ BUILDSTDERR: src/gwx.c: In function 'GWDrawCharacter': BUILDSTDERR: src/gwx.c:5605:21: warning: variable 'line_spacing' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int width_spacing, line_spacing; /* In pixels */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: src/gwx.c:914:13: warning: 'GWGrabPointer' defined but not used [-Wunused-function] BUILDSTDERR: static void GWGrabPointer( BUILDSTDERR: ^~~~~~~~~~~~~ gcc -o build/sfmsimforce.o -c -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 -DHAVE_LIBXPM src/sfmsimforce.c BUILDSTDERR: src/sfmsimforce.c: In function 'SFMForceApplyNatural': BUILDSTDERR: src/sfmsimforce.c:664:10: warning: variable 'prev_angle' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double prev_angle; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/sfmsimforce.c: In function 'SFMForceApplyArtificial': BUILDSTDERR: src/sfmsimforce.c:1116:42: warning: variable 'cos_bank' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double sin_pitch, cos_pitch, sin_bank, cos_bank; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/sfmsimforce.c:990:20: warning: variable 'djc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double dic = 0.0, djc = 0.0, dkc = 0.0; BUILDSTDERR: ^~~ BUILDSTDERR: src/sfmsimforce.c:990:9: warning: variable 'dic' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double dic = 0.0, djc = 0.0, dkc = 0.0; BUILDSTDERR: ^~~ gcc -o build/simsurface.o -c -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 -DHAVE_LIBXPM src/simsurface.c gcc -o build/v3dhf.o -c -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 -DHAVE_LIBXPM src/v3dhf.c gcc -o build/cpinsaltimeter.o -c -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 -DHAVE_LIBXPM src/cpinsaltimeter.c BUILDSTDERR: src/cpinsaltimeter.c: In function 'CPInsAltimeterNew': BUILDSTDERR: src/cpinsaltimeter.c:91:18: warning: variable 'insv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: CPInsAltimeter *insv; BUILDSTDERR: ^~~~ BUILDSTDERR: src/cpinsaltimeter.c: In function 'CPInsAltimeterValuesChanged': BUILDSTDERR: src/cpinsaltimeter.c:128:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int cstate; BUILDSTDERR: ^~~~~~ gcc -o build/horizon.o -c -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 -DHAVE_LIBXPM src/horizon.c gcc -o build/scenesound.o -c -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 -DHAVE_LIBXPM src/scenesound.c gcc -o build/sarsimbegin.o -c -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 -DHAVE_LIBXPM src/sarsimbegin.c BUILDSTDERR: src/sarsimbegin.c: In function 'SARSimBeginMission': BUILDSTDERR: src/sarsimbegin.c:245:4: warning: '%s' directive argument is null [-Wformat-overflow=] BUILDSTDERR: "%s took off at %s", BUILDSTDERR: ^~ gcc -o build/playerstatio.o -c -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 -DHAVE_LIBXPM src/playerstatio.c gcc -o build/sarmusic.o -c -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 -DHAVE_LIBXPM src/sarmusic.c gcc -o build/sarmenuop.o -c -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 -DHAVE_LIBXPM src/sarmenuop.c gcc -o build/weather.o -c -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 -DHAVE_LIBXPM src/weather.c gcc -o build/cmdmemory.o -c -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 -DHAVE_LIBXPM src/cmdmemory.c gcc -o build/messages.o -c -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 -DHAVE_LIBXPM src/messages.c gcc -o build/main.o -c -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 -DHAVE_LIBXPM src/main.c BUILDSTDERR: src/main.c: In function 'SARKeyBoardCB': BUILDSTDERR: src/main.c:790:41: warning: variable 'shift_key_state' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Boolean alt_key_state, ctrl_key_state, shift_key_state; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c:790:10: warning: variable 'alt_key_state' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Boolean alt_key_state, ctrl_key_state, shift_key_state; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/main.c: In function 'SARResetTimmersCB': BUILDSTDERR: src/main.c:1109:27: warning: variable 'obj_human_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_human_struct *obj_human_ptr; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/main.c:1108:28: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_ground_struct *obj_ground_ptr; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/main.c: In function 'SARInit': BUILDSTDERR: src/main.c:2280:64: warning: '%s' directive writing up to 4095 bytes into a region of size 965 [-Wformat-overflow=] BUILDSTDERR: "Local data files for this program have been\ninstalled in:\n\n%s", BUILDSTDERR: ^~ BUILDSTDERR: dname.local_data BUILDSTDERR: ~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from src/main.c:17: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 60 and 4155 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c:2262:39: warning: '%s' directive writing up to 4095 bytes into a region of size 988 [-Wformat-overflow=] BUILDSTDERR: "Cannot install local data files to:\n%s", BUILDSTDERR: ^~ BUILDSTDERR: dname.local_data BUILDSTDERR: ~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from src/main.c:17: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 4132 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/simop.o -c -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 -DHAVE_LIBXPM src/simop.c BUILDSTDERR: src/simop.c: In function 'SARSimApplyArtificialForce': BUILDSTDERR: src/simop.c:1964:29: warning: variable 'vel' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_position_struct *pos, *vel; BUILDSTDERR: ^~~ BUILDSTDERR: src/simop.c:1962:23: warning: variable 'is_player' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char ear_in_cockpit, is_player; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/simop.c:1959:9: warning: variable 'air_worthy_state' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, air_worthy_state; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/simop.c: In function 'SARSimApplyGCTL': BUILDSTDERR: src/simop.c:2938:3: warning: variable 'throttle_output' set but not used [-Wunused-but-set-variable] BUILDSTDERR: throttle_output = 0.0f, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: src/simop.c:2926:35: warning: variable 'cb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const sar_contact_bounds_struct *cb; BUILDSTDERR: ^~ gcc -o build/gwx_dialog.o -c -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 -DHAVE_LIBXPM src/gwx_dialog.c BUILDSTDERR: src/gwx_dialog.c: In function 'GWXDialogCreate': BUILDSTDERR: src/gwx_dialog.c:1004:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int len; BUILDSTDERR: ^~~ BUILDSTDERR: src/gwx_dialog.c: In function 'GWXDialogLoadIcon': BUILDSTDERR: src/gwx_dialog.c:1208:15: warning: variable 'btn_height' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int btn_height = 0; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/gwx_dialog.c: In function 'GWXDialogDraw': BUILDSTDERR: src/gwx_dialog.c:1522:30: warning: variable 'margin' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int width, height, margin; BUILDSTDERR: ^~~~~~ gcc -o build/sarsimend.o -c -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 -DHAVE_LIBXPM src/sarsimend.c BUILDSTDERR: src/sarsimend.c: In function 'SARSimEndMissionTabulate': BUILDSTDERR: src/sarsimend.c:68:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int player_obj_num; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/sarsimend.c:64:14: warning: variable 'name' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *name; BUILDSTDERR: ^~~~ gcc -o build/sartime.o -c -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 -DHAVE_LIBXPM src/sartime.c gcc -o build/missionio.o -c -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 -DHAVE_LIBXPM src/missionio.c BUILDSTDERR: src/missionio.c: In function 'SARMissionGetInterceptNameFromScene': BUILDSTDERR: src/missionio.c:131:26: warning: variable 'p_rotate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_rotate_struct *p_rotate; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/missionio.c: In function 'SARMissionLoadSceneMapToMenuMapMarkings': BUILDSTDERR: src/missionio.c:412:31: warning: variable 'p_object_name' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_object_name_struct *p_object_name; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:411:26: warning: variable 'p_rotate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_rotate_struct *p_rotate; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/missionio.c:409:34: warning: variable 'p_new_premodeled' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_new_premodeled_struct *p_new_premodeled; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:408:29: warning: variable 'p_new_human' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_new_human_struct *p_new_human; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/missionio.c:407:30: warning: variable 'p_new_runway' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_new_runway_struct *p_new_runway; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:406:31: warning: variable 'p_new_helipad' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_new_helipad_struct *p_new_helipad; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:405:30: warning: variable 'p_new_object' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_new_object_struct *p_new_object; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/missionio.c: In function 'SARMissionLoadSceneToMenuMap': BUILDSTDERR: src/missionio.c:739:6: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int map_num = -1; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/missionio.c: In function 'SARMissionLoadMissionLogToMenuMap': BUILDSTDERR: src/missionio.c:1151:6: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int map_num = -1; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/missionio.c: In function 'SARMissionLoadFromFile': BUILDSTDERR: src/missionio.c:1497:26: warning: variable 'obj_fire_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_fire_struct *obj_fire_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:1496:27: warning: variable 'obj_smoke_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_smoke_struct *obj_smoke_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:1493:29: warning: variable 'obj_helipad_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_helipad_struct *obj_helipad_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:1492:28: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_ground_struct *obj_ground_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:1471:33: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_no_depth_test_struct *p_no_depth_test; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: src/missionio.c:1448:42: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_texture_base_directory_struct *p_texture_base_directory; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/sardrawpm_building.o -c -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 -DHAVE_LIBXPM src/sardrawpm_building.c gcc -o build/human.o -c -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 -DHAVE_LIBXPM src/human.c gcc -o build/simutils.o -c -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 -DHAVE_LIBXPM src/simutils.c BUILDSTDERR: src/simutils.c: In function 'SARSimUpdatePart': BUILDSTDERR: src/simutils.c:603:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_grad_anim_t prev_pos; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/simutils.c:623:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_grad_anim_t prev_pos; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/simutils.c:682:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_grad_anim_t prev_pos; BUILDSTDERR: ^~~~~~~~ gcc -o build/texturelistio.o -c -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 -DHAVE_LIBXPM src/texturelistio.c gcc -o build/x3d.o -c -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 -DHAVE_LIBXPM src/x3d.c BUILDSTDERR: src/x3d.c: In function 'X3DOpenDataGLOutput': BUILDSTDERR: src/x3d.c:283:12: warning: variable 'texture_on' set but not used [-Wunused-but-set-variable] BUILDSTDERR: GLboolean texture_on = GL_FALSE; BUILDSTDERR: ^~~~~~~~~~ gcc -o build/sardrawpm_ptt.o -c -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 -DHAVE_LIBXPM src/sardrawpm_ptt.c gcc -o build/sardrawmessages.o -c -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 -DHAVE_LIBXPM src/sardrawmessages.c BUILDSTDERR: src/sardrawmessages.c: In function 'SARDrawHelp': BUILDSTDERR: src/sardrawmessages.c:69:32: warning: variable 'xmax' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int line_num, xc, yc, x0, y0, xmax, ymax, fw, fh; BUILDSTDERR: ^~~~ gcc -o build/v3dgl.o -c -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 -DHAVE_LIBXPM src/v3dgl.c BUILDSTDERR: src/v3dgl.c: In function 'V3DGLResourceNewFromModelData': BUILDSTDERR: src/v3dgl.c:202:14: warning: variable 'texture_base_dir' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *texture_base_dir; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/v3dgl.c: In function 'V3DGLProcessModelStandard': BUILDSTDERR: src/v3dgl.c:1338:11: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int status, widthp, heightp; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/v3dgl.c:753:25: warning: variable 'p_texture_off' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_texture_off_struct *p_texture_off; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/v3dgl.c:752:31: warning: variable 'p_texture_orient_xz' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_texture_orient_xz_struct *p_texture_orient_xz; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/v3dgl.c:751:31: warning: variable 'p_texture_orient_yz' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_texture_orient_yz_struct *p_texture_orient_yz; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/v3dgl.c:750:31: warning: variable 'p_texture_orient_xy' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_texture_orient_xy_struct *p_texture_orient_xy; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/v3dgl.c:737:22: warning: variable 'p_unrotate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_unrotate_struct *p_unrotate; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/v3dgl.c:735:25: warning: variable 'p_untranslate' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mp_untranslate_struct *p_untranslate; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/v3dgl.c:729:14: warning: variable 'texture_base_dir' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *texture_base_dir = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/v3dgl.c:720:6: warning: variable 'unitlize_normals' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int unitlize_normals = TRUE; BUILDSTDERR: ^~~~~~~~~~~~~~~~ gcc -o build/cmdsmoke.o -c -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 -DHAVE_LIBXPM src/cmdsmoke.c gcc -o build/objsound.o -c -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 -DHAVE_LIBXPM src/objsound.c gcc -o build/sarmenuoptions.o -c -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 -DHAVE_LIBXPM src/sarmenuoptions.c BUILDSTDERR: src/sarmenuoptions.c: In function 'SARMenuOptionsSoundInfoRefresh': BUILDSTDERR: src/sarmenuoptions.c:1460:30: warning: variable 'opt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const sar_option_struct *opt; BUILDSTDERR: ^~~ BUILDSTDERR: src/sarmenuoptions.c: In function 'SARMenuOptionsSwitchCB': BUILDSTDERR: src/sarmenuoptions.c:2207:24: warning: variable 'display' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gw_display_struct *display; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/sarmenuoptions.c: In function 'SARMenuOptionsSliderCB': BUILDSTDERR: src/sarmenuoptions.c:2916:24: warning: variable 'display' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gw_display_struct *display; BUILDSTDERR: ^~~~~~~ gcc -o build/sarcamp.o -c -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 -DHAVE_LIBXPM src/sarcamp.c BUILDSTDERR: src/sarcamp.c: In function 'Get_Location_Name': BUILDSTDERR: src/sarcamp.c:349:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (! my_string) BUILDSTDERR: ^~ BUILDSTDERR: src/sarcamp.c:352:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: switch (location) BUILDSTDERR: ^~~~~~ gcc -o build/v3dmh.o -c -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 -DHAVE_LIBXPM src/v3dmh.c gcc -o build/cmdtime.o -c -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 -DHAVE_LIBXPM src/cmdtime.c gcc -o build/mission.o -c -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 -DHAVE_LIBXPM src/mission.c BUILDSTDERR: src/mission.c: In function 'SARMissionDoObjectiveSuccess': BUILDSTDERR: src/mission.c:470:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int player_obj_num; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/mission.c: In function 'SARMissionDestroyNotify': BUILDSTDERR: src/mission.c:644:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int player_obj_num; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/mission.c: In function 'SARMissionObjectiveManage': BUILDSTDERR: src/mission.c:1138:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int player_obj_num; BUILDSTDERR: ^~~~~~~~~~~~~~ gcc -o build/menumap.o -c -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 -DHAVE_LIBXPM src/menumap.c BUILDSTDERR: src/menumap.c: In function 'SARMenuMapMatchMarkingPosition': BUILDSTDERR: src/menumap.c:144:15: warning: variable 'map_yp_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: map_xp_max, map_yp_max; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/menumap.c:144:3: warning: variable 'map_xp_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: map_xp_max, map_yp_max; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/menumap.c: In function 'SARMenuMapManagePointer': BUILDSTDERR: src/menumap.c:896:52: warning: variable 'scroll_y_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/menumap.c:896:38: warning: variable 'scroll_x_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/menumap.c:896:24: warning: variable 'scroll_y_min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/menumap.c:896:10: warning: variable 'scroll_x_min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; BUILDSTDERR: ^~~~~~~~~~~~ gcc -o build/v3dmp.o -c -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 -DHAVE_LIBXPM src/v3dmp.c BUILDSTDERR: src/v3dmp.c: In function 'V3DMPDestroy': BUILDSTDERR: src/v3dmp.c:844:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)heightfield_load->gl_list; BUILDSTDERR: ^ gcc -o build/textinput.o -c -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 -DHAVE_LIBXPM src/textinput.c BUILDSTDERR: src/textinput.c: In function 'SARTextInputHandleKey': BUILDSTDERR: src/textinput.c:294:10: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Boolean ctrl, shift; BUILDSTDERR: ^~~~ gcc -o build/sound.o -c -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 -DHAVE_LIBXPM src/sound.c BUILDSTDERR: src/sound.c: In function 'SoundInit': BUILDSTDERR: src/sound.c:121:30: warning: variable 'opt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const sar_option_struct *opt; BUILDSTDERR: ^~~ gcc -o build/sardrawpm_controltower.o -c -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 -DHAVE_LIBXPM src/sardrawpm_controltower.c gcc -o build/sardrawrunway.o -c -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 -DHAVE_LIBXPM src/sardrawrunway.c gcc -o build/objutils.o -c -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 -DHAVE_LIBXPM src/objutils.c BUILDSTDERR: src/objutils.c: In function 'SARVisualModelNewList': BUILDSTDERR: src/objutils.c:843:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)vmodel->data; BUILDSTDERR: ^ BUILDSTDERR: src/objutils.c:860:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: vmodel->data = (void *)list; BUILDSTDERR: ^ BUILDSTDERR: src/objutils.c:862:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: return((void *)list); BUILDSTDERR: ^ BUILDSTDERR: src/objutils.c: In function 'SARVisualModelCallList': BUILDSTDERR: src/objutils.c:960:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: GLuint list = (vmodel != NULL) ? (GLuint)vmodel->data : 0; BUILDSTDERR: ^ BUILDSTDERR: src/objutils.c: In function 'SARVisualModelDelete': BUILDSTDERR: src/objutils.c:988:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)vmodel->data; BUILDSTDERR: ^ BUILDSTDERR: src/objutils.c: In function 'SARCloudLayerNew': BUILDSTDERR: src/objutils.c:1068:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)SARVisualModelNewList(*vmodel); BUILDSTDERR: ^ gcc -o build/weatherio.o -c -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 -DHAVE_LIBXPM src/weatherio.c gcc -o build/simmanage.o -c -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 -DHAVE_LIBXPM src/simmanage.c BUILDSTDERR: src/simmanage.c: In function 'SARSimUpdateScene': BUILDSTDERR: src/simmanage.c:158:6: warning: variable 'prev_tod_code' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int prev_tod_code, new_tod_code; BUILDSTDERR: ^~~~~~~~~~~~~ gcc -o build/menu.o -c -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 -DHAVE_LIBXPM src/menu.c BUILDSTDERR: src/menu.c: In function 'SARMenuObjectDelete': BUILDSTDERR: src/menu.c:2411:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: GLuint list = (GLuint)objview->obj_list; BUILDSTDERR: ^ BUILDSTDERR: src/menu.c: In function 'SARMenuDoDrawObject': BUILDSTDERR: src/menu.c:3258:28: warning: variable 'y_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int x_min, x_max, y_min, y_max; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/menu.c:3258:14: warning: variable 'x_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int x_min, x_max, y_min, y_max; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/menu.c:3410:36: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] BUILDSTDERR: lines_visable, columns_visable, scroll_width; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/menu.c: In function 'SARMenuManagePointer': BUILDSTDERR: src/menu.c:4659:17: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] BUILDSTDERR: total_lines, scroll_width; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/menu.c: In function 'SARMenuManageKey': BUILDSTDERR: src/menu.c:5735:19: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] BUILDSTDERR: lines_visable, scroll_width; BUILDSTDERR: ^~~~~~~~~~~~ gcc -o build/matrixmath.o -c -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 -DHAVE_LIBXPM src/matrixmath.c gcc -o build/cmdoption.o -c -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 -DHAVE_LIBXPM src/cmdoption.c gcc -o build/optionio.o -c -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 -DHAVE_LIBXPM src/optionio.c gcc -o build/sardrawpm_tower.o -c -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 -DHAVE_LIBXPM src/sardrawpm_tower.c gcc -o build/cpins.o -c -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 -DHAVE_LIBXPM src/cpins.c BUILDSTDERR: src/cpins.c: In function 'CPInsNew': BUILDSTDERR: src/cpins.c:560:45: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", BUILDSTDERR: ~^ BUILDSTDERR: %li BUILDSTDERR: name, s, sizeof(CPIns) BUILDSTDERR: ~ BUILDSTDERR: src/cpins.c:560:75: warning: format '%i' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", BUILDSTDERR: ~^ BUILDSTDERR: %li BUILDSTDERR: name, s, sizeof(CPIns) BUILDSTDERR: ~~~~~~~~~~~~~ gcc -o build/sarmenubuild.o -c -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 -DHAVE_LIBXPM src/sarmenubuild.c BUILDSTDERR: src/sarmenubuild.c: In function 'SARBuildMenus': BUILDSTDERR: src/sarmenubuild.c:763:15: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: slider_num, map_num; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/sarmenubuild.c:762:36: warning: variable 'switch_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int label_num, btn_num, list_num, switch_num, spin_num, BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/sarmenubuild.c:762:17: warning: variable 'btn_num' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int label_num, btn_num, list_num, switch_num, spin_num, BUILDSTDERR: ^~~~~~~ gcc -o build/sarmemory.o -c -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 -DHAVE_LIBXPM src/sarmemory.c gcc -o build/sarfioopen.o -c -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 -DHAVE_LIBXPM src/sarfioopen.c gcc -o build/sardrawutils.o -c -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 -DHAVE_LIBXPM src/sardrawutils.c gcc -o build/objio.o -c -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 -DHAVE_LIBXPM src/objio.c BUILDSTDERR: src/objio.c: In function 'SARObjLoadPostLoadCheck': BUILDSTDERR: src/objio.c:621:28: warning: variable 'ground' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_ground_struct *ground; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/objio.c: In function 'SARObjLoadX3DDataVisualModel': BUILDSTDERR: src/objio.c:749:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: GLuint list = (GLuint)SARVisualModelNewList(vmodel); BUILDSTDERR: ^ BUILDSTDERR: src/objio.c: In function 'SARObjLoadTextVisualModel': BUILDSTDERR: src/objio.c:794:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: GLuint list = (GLuint)SARVisualModelNewList(vmodel); BUILDSTDERR: ^ BUILDSTDERR: src/objio.c: In function 'SARObjLoadHeightField': BUILDSTDERR: src/objio.c:1805:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: (void *)list, /* GL display list */ BUILDSTDERR: ^ BUILDSTDERR: src/objio.c: In function 'SARObjLoadProcessVisualModel': BUILDSTDERR: src/objio.c:2207:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: GLuint list = (GLuint)vmodel->data; BUILDSTDERR: ^ BUILDSTDERR: src/objio.c:2265:37: warning: variable 'mp_heightfield_load' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const mp_heightfield_load_struct *mp_heightfield_load; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/objio.c:2259:35: warning: variable 'mp_comment' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const mp_comment_struct *mp_comment; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/objio.c: In function 'SARObjLoadFromFile': BUILDSTDERR: src/objio.c:4885:40: warning: variable 'mh_color_spec' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const mh_color_specification_struct *mh_color_spec; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/objio.c:4883:43: warning: variable 'mh_tbd' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const mh_texture_base_directory_struct *mh_tbd; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/objio.c:4882:28: warning: variable 'mh_comment' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const mh_comment_struct *mh_comment; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/objio.c:5387:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: GLuint list = (GLuint)SARVisualModelNewList(vmodel); BUILDSTDERR: ^ BUILDSTDERR: src/objio.c:5434:38: warning: variable 'mp_heightfield_load' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const mp_heightfield_load_struct *mp_heightfield_load; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/objio.c:5477:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: GLuint list = (GLuint)SARVisualModelNewList(vmodel); BUILDSTDERR: ^ BUILDSTDERR: src/objio.c:4706:23: warning: variable 'pos' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_position_struct *pos; BUILDSTDERR: ^~~ BUILDSTDERR: src/objio.c:4705:24: warning: variable 'dir' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_direction_struct *dir; BUILDSTDERR: ^~~ gcc -o build/fire.o -c -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 -DHAVE_LIBXPM src/fire.c gcc -o build/cmd.o -c -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 -DHAVE_LIBXPM src/cmd.c gcc -o build/sarmenucb.o -c -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 -DHAVE_LIBXPM src/sarmenucb.c BUILDSTDERR: src/sarmenucb.c: In function 'SARMenuCBBeginFreeFlight': BUILDSTDERR: src/sarmenucb.c:250:24: warning: variable 'spin_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_menu_spin_struct *spin_ptr; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/sarmenucb.c: In function 'SARMenuCBMapOp': BUILDSTDERR: src/sarmenucb.c:421:17: warning: variable 'scroll_y_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: scroll_y_min, scroll_y_max; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/sarmenucb.c:421:3: warning: variable 'scroll_y_min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: scroll_y_min, scroll_y_max; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/sarmenucb.c:420:17: warning: variable 'scroll_x_max' set but not used [-Wunused-but-set-variable] BUILDSTDERR: scroll_x_min, scroll_x_max, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/sarmenucb.c:420:3: warning: variable 'scroll_x_min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: scroll_x_min, scroll_x_max, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/sarmenucb.c: In function 'SARMenuCBPlayerEditCB': BUILDSTDERR: src/sarmenucb.c:79:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^~ BUILDSTDERR: src/sarmenucb.c:685:6: note: in expansion of macro 'ISSTREMPTY' BUILDSTDERR: if(!ISSTREMPTY(v)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/sarmenucb.c:79:41: note: did you mean to dereference the pointer? BUILDSTDERR: #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) BUILDSTDERR: ^ BUILDSTDERR: src/sarmenucb.c:685:6: note: in expansion of macro 'ISSTREMPTY' BUILDSTDERR: if(!ISSTREMPTY(v)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/sarmenucb.c: In function 'SARMenuListActivateCB': BUILDSTDERR: src/sarmenucb.c:1283:21: warning: variable 'opt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_option_struct *opt; BUILDSTDERR: ^~~ BUILDSTDERR: src/sarmenucb.c:1278:21: warning: variable 'display' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gw_display_struct *display; BUILDSTDERR: ^~~~~~~ gcc -o build/sardraw.o -c -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 -DHAVE_LIBXPM src/sardraw.c BUILDSTDERR: src/sardraw.c: In function 'SARDrawSceneFoundations': BUILDSTDERR: src/sardraw.c:4715:8: warning: variable 'fovx' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float fovx, fovz; /* Field of view x and z, in radians */ BUILDSTDERR: ^~~~ BUILDSTDERR: src/sardraw.c: In function 'SARDrawSceneHorizon': BUILDSTDERR: src/sardraw.c:5205:12: warning: variable 'n_theta' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float n_theta; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/sardraw.c: In function 'SARDraw': BUILDSTDERR: src/sardraw.c:5740:23: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_struct ***ptr, *obj_ptr; BUILDSTDERR: ^~~ BUILDSTDERR: src/sardraw.c:5733:13: warning: variable 'total' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, n, *total; BUILDSTDERR: ^~~~~ gcc -o build/cp.o -c -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 -DHAVE_LIBXPM src/cp.c gcc -o build/sardrawhuman.o -c -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 -DHAVE_LIBXPM src/sardrawhuman.c gcc -o build/sarutils.o -c -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 -DHAVE_LIBXPM src/sarutils.c gcc -o build/text3d.o -c -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 -DHAVE_LIBXPM src/text3d.c gcc -o build/sceneio.o -c -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 -DHAVE_LIBXPM src/sceneio.c BUILDSTDERR: src/sceneio.c: In function 'SARSceneLoadFromFile': BUILDSTDERR: src/sceneio.c:1160:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)SARVisualModelNewList(*vmodel); BUILDSTDERR: ^ BUILDSTDERR: src/sceneio.c:1207:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: list = (GLuint)SARVisualModelNewList(*vmodel); BUILDSTDERR: ^ BUILDSTDERR: src/sceneio.c:505:30: warning: variable 'p_passengers' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_passengers_struct *p_passengers; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:501:42: warning: variable 'p_object_map_description' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_object_map_description_struct *p_object_map_description; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:494:33: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_no_depth_test_struct *p_no_depth_test; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:492:36: warning: variable 'p_translate_random' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_translate_random_struct *p_translate_random; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:479:42: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_texture_base_directory_struct *p_texture_base_directory; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:474:29: warning: variable 'p_scene_map' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_scene_map_struct *p_scene_map; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:472:37: warning: variable 'p_register_location' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_register_location_struct *p_register_location; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:471:27: warning: variable 'p_weather' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_weather_struct *p_weather; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/sceneio.c:470:37: warning: variable 'p_player_model_file' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_player_model_file_struct *p_player_model_file; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:469:31: warning: variable 'p_description' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_description_struct *p_description; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:468:24: warning: variable 'p_name' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_parm_name_struct *p_name; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/sceneio.c:463:26: warning: variable 'obj_fire_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_fire_struct *obj_fire_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:462:27: warning: variable 'obj_smoke_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_smoke_struct *obj_smoke_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/sceneio.c:459:29: warning: variable 'obj_helipad_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sar_object_helipad_struct *obj_helipad_ptr = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~ gcc -o build/sarscreenshot.o -c -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 -DHAVE_LIBXPM src/sarscreenshot.c BUILDSTDERR: src/sarscreenshot.c: In function 'SARScreenShotRect': BUILDSTDERR: src/sarscreenshot.c:276:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int status; BUILDSTDERR: ^~~~~~ gcc -o build/image.o -c -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 -DHAVE_LIBXPM src/image.c gcc -o build/sardrawselect.o -c -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 -DHAVE_LIBXPM src/sardrawselect.c gcc -o build/sfmmodel.o -c -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 -DHAVE_LIBXPM src/sfmmodel.c gcc -o build/cmdset.o -c -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 -DHAVE_LIBXPM src/cmdset.c gcc -o build/smoke.o -c -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 -DHAVE_LIBXPM src/smoke.c gcc -o build/sardrawpm_radiotower.o -c -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 -DHAVE_LIBXPM src/sardrawpm_radiotower.c gcc -o build/musiclistio.o -c -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 -DHAVE_LIBXPM src/musiclistio.c gcc -o build/v3dtex.o -c -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 -DHAVE_LIBXPM src/v3dtex.c BUILDSTDERR: src/v3dtex.c: In function 'V3DTextureSelectFrame': BUILDSTDERR: src/v3dtex.c:287:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: gl_texture_id = (GLuint)(t->data[frame_num]); BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c: In function 'V3DTextureLoadFromFile2D': BUILDSTDERR: src/v3dtex.c:675:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: t->data[i] = (void *)gl_texture_id; BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c:357:19: warning: variable 'ptrend8' set but not used [-Wunused-but-set-variable] BUILDSTDERR: u_int8_t *ptr8, *ptrend8; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/v3dtex.c: In function 'V3DTextureLoadFromFile2DPreempt': BUILDSTDERR: src/v3dtex.c:999:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: t->data[i] = (void *)gl_texture_id; BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c:721:19: warning: variable 'ptrend8' set but not used [-Wunused-but-set-variable] BUILDSTDERR: u_int8_t *ptr8, *ptrend8; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/v3dtex.c: In function 'V3DTextureLoadFromData1D': BUILDSTDERR: src/v3dtex.c:1055:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int)data BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c:1091:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int)data BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c:1169:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: t->data[i] = (void *)gl_texture_id; BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c: In function 'V3DTextureLoadFromData2D': BUILDSTDERR: src/v3dtex.c:1226:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int)data BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c:1231:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int)data BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c:1335:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int)cur_data_ptr BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c:1410:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: t->data[i] = (void *)gl_texture_id; BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c: In function 'V3DTexturePriority': BUILDSTDERR: src/v3dtex.c:1465:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: tex_id_list[0] = (GLuint)t->data[i]; BUILDSTDERR: ^ BUILDSTDERR: src/v3dtex.c: In function 'V3DTextureDestroy': BUILDSTDERR: src/v3dtex.c:1494:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: gl_texture_id = (GLuint)(t->data[i]); BUILDSTDERR: ^ gcc -o build/cmdfire.o -c -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 -DHAVE_LIBXPM src/cmdfire.c gcc -o build/sarfiosave.o -c -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 -DHAVE_LIBXPM src/sarfiosave.c gcc -o build/sardrawhelipad.o -c -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 -DHAVE_LIBXPM src/sardrawhelipad.c gcc -o build/objiopremodeled.o -c -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 -DHAVE_LIBXPM src/objiopremodeled.c gcc -o build/cpfio.o -c -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 -DHAVE_LIBXPM src/cpfio.c g++ -o build/tga.o -c -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 -DHAVE_LIBXPM src/tga.cpp BUILDSTDERR: src/tga.cpp: In function 'int TgaReadHeaderFromData(const u_int8_t*, tga_data_struct*)': BUILDSTDERR: src/tga.cpp:494:48: warning: variable 'data_colormap' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const u_int8_t *data_header, *data_id_field, *data_colormap, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/tga.cpp: In function 'int TgaReadFromFile(const char*, tga_data_struct*, unsigned int)': BUILDSTDERR: src/tga.cpp:730:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int pix_total, colum_count, row_count; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/tga.cpp: In function 'int TgaReadFromData(const u_int8_t*, tga_data_struct*, unsigned int)': BUILDSTDERR: src/tga.cpp:1330:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int pix_total, colum_count, row_count; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/tga.cpp: In function 'int TgaReadPartialFromFile(tga_data_struct*, unsigned int, unsigned int)': BUILDSTDERR: src/tga.cpp:2029:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int pix_total; BUILDSTDERR: ^~~~~~~~~ g++ -o build/string.o -c -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 -DHAVE_LIBXPM src/string.cpp BUILDSTDERR: src/string.cpp: In function 'void straddflag(char*, const char*, char, int)': BUILDSTDERR: src/string.cpp:714:13: warning: variable 'flag_len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int s_len, flag_len; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/string.cpp: In function 'char* StringGetNetArgument(const char*)': BUILDSTDERR: src/string.cpp:1439:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: return(""); BUILDSTDERR: ^ BUILDSTDERR: src/string.cpp:1453:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: return(""); BUILDSTDERR: ^ BUILDSTDERR: src/string.cpp: In function 'char* StringCurrentTimeFormat(const char*)': BUILDSTDERR: src/string.cpp:1476:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: return(""); BUILDSTDERR: ^ BUILDSTDERR: src/string.cpp:1478:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: return(""); BUILDSTDERR: ^ BUILDSTDERR: src/string.cpp:1484:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: return(""); BUILDSTDERR: ^ g++ -o build/strexp.o -c -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 -DHAVE_LIBXPM src/strexp.cpp g++ -o build/gww.o -c -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 -DHAVE_LIBXPM src/gww.cpp g++ -o build/disk.o -c -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 -DHAVE_LIBXPM src/disk.cpp BUILDSTDERR: src/disk.cpp: In function 'char* PrefixPaths(const char*, const char*)': BUILDSTDERR: src/disk.cpp:1036:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: return("/"); BUILDSTDERR: ^ g++ -o build/tgadither.o -c -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 -DHAVE_LIBXPM src/tgadither.cpp g++ -o build/fio.o -c -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 -DHAVE_LIBXPM src/fio.cpp g++ -o bin/sar2 build/v3dfio.o build/gctl.o build/sarfio.o build/sfm.o build/explosion.o build/cpinsbearing.o build/sfmmath.o build/cmdclean.o build/simcb.o build/sarinstall.o build/simcontact.o build/sarsplash.o build/cpinshorizon.o build/sarkey.o build/stategl.o build/v3dmodel.o build/sarmenumanage.o build/sardrawpm.o build/menuobjview.o build/humanio.o build/gwx.o build/sfmsimforce.o build/simsurface.o build/v3dhf.o build/cpinsaltimeter.o build/horizon.o build/scenesound.o build/sarsimbegin.o build/playerstatio.o build/sarmusic.o build/sarmenuop.o build/weather.o build/cmdmemory.o build/messages.o build/main.o build/simop.o build/gwx_dialog.o build/sarsimend.o build/sartime.o build/missionio.o build/sardrawpm_building.o build/human.o build/simutils.o build/texturelistio.o build/x3d.o build/sardrawpm_ptt.o build/sardrawmessages.o build/v3dgl.o build/cmdsmoke.o build/objsound.o build/sarmenuoptions.o build/sarcamp.o build/v3dmh.o build/cmdtime.o build/mission.o build/menumap.o build/v3dmp.o build/textinput.o build/sound.o build/sardrawpm_controltower.o build/sardrawrunway.o build/objutils.o build/weatherio.o build/simmanage.o build/menu.o build/matrixmath.o build/cmdoption.o build/optionio.o build/sardrawpm_tower.o build/cpins.o build/sarmenubuild.o build/sarmemory.o build/sarfioopen.o build/sardrawutils.o build/objio.o build/fire.o build/cmd.o build/sarmenucb.o build/sardraw.o build/cp.o build/sardrawhuman.o build/sarutils.o build/text3d.o build/sceneio.o build/sarscreenshot.o build/image.o build/sardrawselect.o build/sfmmodel.o build/cmdset.o build/smoke.o build/sardrawpm_radiotower.o build/musiclistio.o build/v3dtex.o build/cmdfire.o build/sarfiosave.o build/sardrawhelipad.o build/objiopremodeled.o build/cpfio.o build/tga.o build/string.o build/strexp.o build/gww.o build/disk.o build/tgadither.o build/fio.o -lm -lSDL -lSM -lICE -lX11 -lXext -lXmu -lXpm -lGL -lGLU -lpthread -lalut -lvorbisfile -lopenal scons: done building targets. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cJIr48 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64 + cd sar2-2.3.3 + mkdir -p /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/sar2 + mkdir -p /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/icons/hicolor/48x48/ + mkdir -p /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/pixmaps/ + cp -ar data/aircrafts data/automobiles data/control_panels data/human.ini data/images data/mission.log data/missions data/music data/music.ini data/objects data/scenery data/sounds data/textures data/textures.ini data/vessels data/weather.ini /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/sar2/ + cp -a man/sar2.6.bz2 /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/man/man6 + cp -a bin/sar2 /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/bin + cp -a extra/sar2.xpm /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/icons/hicolor/48x48/ + cp -a src/icons/SearchAndRescue.xpm /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/pixmaps/ + desktop-file-install --dir=/builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/applications extra/sar2.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.3-6.fc29 --unique-debug-suffix -2.3.3-6.fc29.riscv64 --unique-debug-src-base sar2-2.3.3-6.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sar2-2.3.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/bin/sar2 extracting debug info from /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/bin/sar2 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 7058 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sar2-2.3.3-6.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6O92R7 + umask 022 + cd /builddir/build/BUILD + cd sar2-2.3.3 + DOCDIR=/builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/doc/sar2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/doc/sar2 + cp -pr AUTHORS /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/doc/sar2 + cp -pr CHANGELOG /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/doc/sar2 + cp -pr HACKING /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/doc/sar2 + cp -pr LICENSE /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/doc/sar2 + cp -pr README /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64/usr/share/doc/sar2 + exit 0 Provides: application() application(sar2.desktop) sar2 = 2.3.3-6.fc29 sar2(riscv-64) = 2.3.3-6.fc29 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) libICE.so.6()(64bit) libSDL-1.2.so.0()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libalut.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libopenal.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: sar2-debugsource-2.3.3-6.fc29.riscv64 Provides: sar2-debugsource = 2.3.3-6.fc29 sar2-debugsource(riscv-64) = 2.3.3-6.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sar2-debuginfo-2.3.3-6.fc29.riscv64 Provides: debuginfo(build-id) = 73e288d303c36aa4bc732aa4ba3c84a4d750503b sar2-debuginfo = 2.3.3-6.fc29 sar2-debuginfo(riscv-64) = 2.3.3-6.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sar2-debugsource(riscv-64) = 2.3.3-6.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64 Wrote: /builddir/build/RPMS/sar2-2.3.3-6.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sar2-debugsource-2.3.3-6.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sar2-debuginfo-2.3.3-6.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.V53qiT + umask 022 + cd /builddir/build/BUILD + cd sar2-2.3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sar2-2.3.3-6.fc29.riscv64 + exit 0 Child return code was: 0