D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/sar2-2.5.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8mqpb3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf sar2-2.5.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/sar2-2.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sar2-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VAFBMS + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sar2-2.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/scons -j8 '--optflags=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' '--ldflags= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o build/v3dfio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/v3dfio.c gcc -o build/gctl.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/gctl.c gcc -o build/sarfio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarfio.c gcc -o build/sfm.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sfm.c gcc -o build/explosion.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/explosion.c gcc -o build/cpinsbearing.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cpinsbearing.c gcc -o build/sfmmath.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sfmmath.c gcc -o build/cmdclean.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmdclean.c gcc -o build/simcb.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/simcb.c gcc -o build/sarinstall.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarinstall.c gcc -o build/simcontact.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/simcontact.c gcc -o build/sarsplash.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarsplash.c gcc -o build/cpinshorizon.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cpinshorizon.c gcc -o build/sarkey.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarkey.c gcc -o build/stategl.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/stategl.c gcc -o build/v3dmodel.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/v3dmodel.c gcc -o build/sarmenumanage.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarmenumanage.c gcc -o build/sardrawpm.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawpm.c gcc -o build/menuobjview.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/menuobjview.c gcc -o build/humanio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/humanio.c gcc -o build/gwx.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/gwx.c gcc -o build/sfmsimforce.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sfmsimforce.c gcc -o build/simsurface.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/simsurface.c src/gwx.c: In function 'GWGetCharacterFromKeyCode': src/gwx.c:796:9: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 796 | keysym = XKeycodeToKeysym( | ^~~~~~ In file included from src/gwx.c:25: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ src/gwx.c:810:13: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 810 | keysym = XKeycodeToKeysym( | ^~~~~~ In file included from src/gwx.c:25: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ src/gwx.c:827:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 827 | return((int)(keytable[i + 1])); | ^ src/gwx.c: In function 'GWCreateWindow': src/gwx.c:334:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:1321:17: note: in expansion of macro 'STRISEMPTY' 1321 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:43: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:1321:17: note: in expansion of macro 'STRISEMPTY' 1321 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c: In function 'GWContextNew': src/gwx.c:334:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:3752:25: note: in expansion of macro 'STRISEMPTY' 3752 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:43: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:3752:25: note: in expansion of macro 'STRISEMPTY' 3752 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:3773:25: note: in expansion of macro 'STRISEMPTY' 3773 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:43: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:3773:25: note: in expansion of macro 'STRISEMPTY' 3773 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c: In function 'GWContextDelete': src/gwx.c:3947:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3947 | (u_int32_t)glx_context | ^ gcc -o build/v3dhf.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/v3dhf.c src/menuobjview.c: In function 'SARMenuObjViewLoad': src/menuobjview.c:913:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 913 | list = (GLuint)ov_ptr->obj_list; | ^ src/menuobjview.c:1012:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1012 | ov_ptr->obj_list = (void *)list; | ^ src/menuobjview.c: In function 'SARMenuObjViewRebufferImage': src/menuobjview.c:1117:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1117 | list = (GLuint)ov_ptr->obj_list; | ^ gcc -o build/cpinsaltimeter.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cpinsaltimeter.c gcc -o build/horizon.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/horizon.c gcc -o build/scenesound.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/scenesound.c gcc -o build/sarsimbegin.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarsimbegin.c gcc -o build/playerstatio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/playerstatio.c gcc -o build/sarmusic.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarmusic.c gcc -o build/sarmenuop.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarmenuop.c gcc -o build/weather.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/weather.c gcc -o build/cmdmemory.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmdmemory.c In file included from /usr/include/stdio.h:888, from src/sarsimbegin.c:17: In function 'sprintf', inlined from 'SARSimBeginMission' at src/sarsimbegin.c:243:6: /usr/include/bits/stdio2.h:38:10: warning: '%s' directive argument is null [-Wformat-overflow=] 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o build/messages.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/messages.c gcc -o build/main.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/main.c gcc -o build/simop.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/simop.c gcc -o build/gwx_dialog.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/gwx_dialog.c gcc -o build/sarsimend.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarsimend.c gcc -o build/sartime.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sartime.c gcc -o build/missionio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/missionio.c gcc -o build/sardrawpm_building.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawpm_building.c gcc -o build/human.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/human.c gcc -o build/simutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/simutils.c gcc -o build/texturelistio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/texturelistio.c gcc -o build/x3d.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/x3d.c gcc -o build/sardrawpm_ptt.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawpm_ptt.c src/main.c: In function 'SARInit': src/main.c:2213:64: warning: '%s' directive writing up to 4095 bytes into a region of size 965 [-Wformat-overflow=] 2213 | "Local data files for this program have been\ninstalled in:\n\n%s", | ^~ 2214 | dname.local_data | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from src/main.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 60 and 4155 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/main.c:2195:39: warning: '%s' directive writing up to 4095 bytes into a region of size 988 [-Wformat-overflow=] 2195 | "Cannot install local data files to:\n%s", | ^~ 2196 | dname.local_data | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from src/main.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 37 and 4132 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o build/sardrawmessages.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawmessages.c gcc -o build/v3dgl.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/v3dgl.c gcc -o build/cmdsmoke.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmdsmoke.c gcc -o build/objsound.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/objsound.c gcc -o build/sarmenuoptions.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarmenuoptions.c gcc -o build/sarcamp.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarcamp.c gcc -o build/v3dmh.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/v3dmh.c gcc -o build/cmdtime.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmdtime.c gcc -o build/mission.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/mission.c gcc -o build/menumap.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/menumap.c gcc -o build/v3dmp.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/v3dmp.c gcc -o build/textinput.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/textinput.c gcc -o build/sound.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sound.c src/v3dmp.c: In function 'V3DMPDestroy': src/v3dmp.c:844:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 844 | list = (GLuint)heightfield_load->gl_list; | ^ gcc -o build/sardrawpm_controltower.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawpm_controltower.c gcc -o build/sardrawrunway.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawrunway.c In file included from /usr/include/stdio.h:888, from src/mission.c:17: In function 'sprintf', inlined from 'SARMissionDestroyNotify' at src/mission.c:691:6: /usr/include/bits/stdio2.h:38:10: warning: '%s' directive argument is null [-Wformat-overflow=] 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o build/objutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/objutils.c gcc -o build/weatherio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/weatherio.c gcc -o build/simmanage.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/simmanage.c gcc -o build/menu.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/menu.c src/menu.c: In function 'SARMenuObjectDelete': src/menu.c:2411:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2411 | GLuint list = (GLuint)objview->obj_list; | ^ gcc -o build/matrixmath.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/matrixmath.c gcc -o build/cmdoption.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmdoption.c gcc -o build/optionio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/optionio.c src/objutils.c: In function 'SARVisualModelNewList': src/objutils.c:843:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 843 | list = (GLuint)vmodel->data; | ^ src/objutils.c:860:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 860 | vmodel->data = (void *)list; | ^ src/objutils.c:862:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 862 | return((void *)list); | ^ src/objutils.c: In function 'SARVisualModelCallList': src/objutils.c:960:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 960 | GLuint list = (vmodel != NULL) ? (GLuint)vmodel->data : 0; | ^ src/objutils.c: In function 'SARVisualModelDelete': src/objutils.c:988:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 988 | list = (GLuint)vmodel->data; | ^ src/objutils.c: In function 'SARCloudLayerNew': src/objutils.c:1068:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1068 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ gcc -o build/sardrawpm_tower.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawpm_tower.c gcc -o build/cpins.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cpins.c src/cpins.c: In function 'CPInsNew': 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=] 560 | "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", | ~^ | | | int | %li 561 | name, s, sizeof(CPIns) | ~ | | | size_t {aka long unsigned int} src/cpins.c:560:75: warning: format '%i' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 560 | "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", | ~^ | | | int | %li 561 | name, s, sizeof(CPIns) | ~~~~~~~~~~~~~ | | | long unsigned int gcc -o build/sarmenubuild.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarmenubuild.c gcc -o build/sarmemory.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarmemory.c gcc -o build/sarfioopen.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarfioopen.c gcc -o build/sardrawutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawutils.c gcc -o build/objio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/objio.c gcc -o build/fire.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/fire.c gcc -o build/cmd.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmd.c gcc -o build/sarmenucb.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarmenucb.c src/objio.c: In function 'SARObjLoadX3DDataVisualModel': src/objio.c:749:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 749 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c: In function 'SARObjLoadTextVisualModel': src/objio.c:794:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 794 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c: In function 'SARObjLoadHeightField': src/objio.c:1805:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1805 | (void *)list, /* GL display list */ | ^ src/objio.c: In function 'SARObjLoadProcessVisualModel': src/objio.c:2207:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2207 | GLuint list = (GLuint)vmodel->data; | ^ gcc -o build/sardraw.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardraw.c src/objio.c: In function 'SARObjLoadFromFile': src/objio.c:5415:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5415 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c:5505:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5505 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ gcc -o build/cp.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cp.c gcc -o build/sardrawhuman.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawhuman.c gcc -o build/sarutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarutils.c gcc -o build/text3d.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/text3d.c src/sarmenucb.c: In function 'SARMenuCBPlayerEditCB': src/sarmenucb.c:79:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 79 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/sarmenucb.c:685:13: note: in expansion of macro 'ISSTREMPTY' 685 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ src/sarmenucb.c:79:43: note: did you mean to dereference the pointer? 79 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/sarmenucb.c:685:13: note: in expansion of macro 'ISSTREMPTY' 685 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ gcc -o build/sceneio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sceneio.c gcc -o build/sarscreenshot.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarscreenshot.c gcc -o build/image.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/image.c gcc -o build/sardrawselect.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawselect.c gcc -o build/sfmmodel.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sfmmodel.c src/sceneio.c: In function 'SARSceneLoadFromFile': src/sceneio.c:1163:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1163 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ src/sceneio.c:1210:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1210 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ gcc -o build/cmdset.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmdset.c gcc -o build/smoke.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/smoke.c gcc -o build/sardrawpm_radiotower.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawpm_radiotower.c gcc -o build/musiclistio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/musiclistio.c gcc -o build/v3dtex.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/v3dtex.c src/v3dtex.c: In function 'V3DTextureSelectFrame': src/v3dtex.c:287:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 287 | gl_texture_id = (GLuint)(t->data[frame_num]); | ^ src/v3dtex.c: In function 'V3DTextureLoadFromFile2D': src/v3dtex.c:675:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 675 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c: In function 'V3DTextureLoadFromFile2DPreempt': src/v3dtex.c:999:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 999 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c: In function 'V3DTextureLoadFromData1D': src/v3dtex.c:1055:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1055 | (unsigned int)data | ^ src/v3dtex.c:1091:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1091 | (unsigned int)data | ^ src/v3dtex.c:1169:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1169 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c: In function 'V3DTextureLoadFromData2D': src/v3dtex.c:1226:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1226 | (unsigned int)data | ^ src/v3dtex.c:1231:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1231 | (unsigned int)data | ^ src/v3dtex.c:1335:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1335 | (unsigned int)cur_data_ptr | ^ src/v3dtex.c:1410:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1410 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c: In function 'V3DTexturePriority': src/v3dtex.c:1465:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1465 | tex_id_list[0] = (GLuint)t->data[i]; | ^ src/v3dtex.c: In function 'V3DTextureDestroy': src/v3dtex.c:1494:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1494 | gl_texture_id = (GLuint)(t->data[i]); | ^ gcc -o build/cmdfire.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cmdfire.c gcc -o build/sarfiosave.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sarfiosave.c gcc -o build/sardrawhelipad.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/sardrawhelipad.c src/sarfiosave.c: In function 'SARParmSaveToFileAnyIterate': src/sarfiosave.c:183:24: warning: format '%f' expects a matching 'double' argument [-Wformat=] 183 | "wind %f %f" | ~^ | | | double src/sarfiosave.c:183:27: warning: format '%f' expects a matching 'double' argument [-Wformat=] 183 | "wind %f %f" | ~^ | | | double gcc -o build/objiopremodeled.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/objiopremodeled.c gcc -o build/cpfio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/cpfio.c g++ -o build/tga.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/tga.cpp g++ -o build/string.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/string.cpp g++ -o build/strexp.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/strexp.cpp src/string.cpp: In function 'char* StringGetNetArgument(const char*)': src/string.cpp:1439:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1439 | return(""); | ^ src/string.cpp:1453:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1453 | return(""); | ^ src/string.cpp: In function 'char* StringCurrentTimeFormat(const char*)': src/string.cpp:1476:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1476 | return(""); | ^ src/string.cpp:1478:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1478 | return(""); | ^ src/string.cpp:1484:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1484 | return(""); | ^ g++ -o build/gww.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/gww.cpp g++ -o build/disk.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/disk.cpp g++ -o build/tgadither.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/tgadither.cpp src/disk.cpp: In function 'char* PrefixPaths(const char*, const char*)': src/disk.cpp:1036:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1036 | return("/"); | ^ g++ -o build/fio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables src/fio.cpp g++ -o bin/sar2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags 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 -lSDL2 -lSM -lICE -lX11 -lXext -lXmu -lXpm -lXxf86vm -lGL -lGLU -lpthread -lalut -lvorbisfile -lopenal scons: done building targets. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NTAq6Y + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64 + cd sar2-2.5.0 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/sar2 + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/man/man6 + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/bin + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/icons/hicolor/48x48/ + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/pixmaps/ + cp -ar data/aircrafts data/automobiles data/control_panels data/human.ini data/images data/missions data/music data/music.ini data/objects data/scenery data/sounds data/textures data/textures.ini data/vessels data/weather.ini /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/sar2/ + cp -a man/sar2.6.bz2 /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/man/man6 + cp -a bin/sar2 /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/bin + cp -a extra/sar2.xpm /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/icons/hicolor/48x48/ + cp -a src/icons/SearchAndRescue.xpm /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/pixmaps/sar2.xpm + desktop-file-install --dir=/home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/applications extra/sar2.desktop + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.5.0-1.mga9 --unique-debug-suffix -2.5.0-1.mga9.aarch64 --unique-debug-src-base sar2-2.5.0-1.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/sar2-2.5.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/bin/sar2 dwz: ./usr/bin/sar2-2.5.0-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 3452kB, size after compression: 3452kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 7000 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/applications/sar2.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sar2-2.5.0-1.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Im0dSf + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sar2-2.5.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/doc/sar2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/doc/sar2 + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/doc/sar2 + cp -pr CHANGELOG.md /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/doc/sar2 + cp -pr HACKING /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/doc/sar2 + cp -pr LICENSE /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/doc/sar2 + cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64/usr/share/doc/sar2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(sar2.desktop) sar2 = 2.5.0-1.mga9 sar2(aarch-64) = 2.5.0-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libSDL2-2.0.so.0()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libalut.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libopenal.so.1()(64bit) libvorbisfile.so.3()(64bit) Processing files: sar2-debugsource-2.5.0-1.mga9.aarch64 Provides: sar2-debugsource = 2.5.0-1.mga9 sar2-debugsource(aarch-64) = 2.5.0-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sar2-debuginfo-2.5.0-1.mga9.aarch64 Provides: debuginfo(build-id) = 9fcc5662e92b2bbd3bb1f835d6e859c8e84924eb sar2-debuginfo = 2.5.0-1.mga9 sar2-debuginfo(aarch-64) = 2.5.0-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sar2-debugsource(aarch-64) = 2.5.0-1.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sar2-debuginfo-2.5.0-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sar2-debugsource-2.5.0-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sar2-2.5.0-1.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.aiMt0s + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sar2-2.5.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/sar2-2.5.0-1.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9NPtK2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf sar2-2.5.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!