D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/iozone3-490-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zN02NB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf iozone3_490 + /usr/lib/rpm/rpmuncompress -x -v /home/pterjan/rpmbuild/SOURCES/iozone3_490.tar /usr/bin/tar -xvvof '/home/pterjan/rpmbuild/SOURCES/iozone3_490.tar' drwxrwxr-x capps/capps 0 2020-07-13 17:26 iozone3_490/ -rwxr--r-- capps/capps 6592 2020-07-13 17:17 iozone3_490/index.html drwxrwxr-x capps/capps 0 2020-07-13 17:17 iozone3_490/gifs/ drwxrwxr-x capps/capps 0 2020-07-13 17:17 iozone3_490/docs/ -rwxr--r-- capps/capps 9973 2020-07-13 17:17 iozone3_490/docs/write_latency.gif -rw-r--r-- capps/capps 4572 2020-07-13 17:17 iozone3_490/docs/Template -rw-r--r-- capps/capps 26624 2020-07-13 17:17 iozone3_490/docs/Run_rules.doc -rwxr--r-- capps/capps 16641 2020-07-13 17:17 iozone3_490/docs/rewrite_latency.gif -rwxr--r-- capps/capps 20718 2020-07-13 17:17 iozone3_490/docs/rewrite.gif -rw-r--r-- capps/capps 28377 2020-07-13 17:17 iozone3_490/docs/reread_latency.jpg -rwxr--r-- capps/capps 18783 2020-07-13 17:17 iozone3_490/docs/reread_latency.gif -rwxr--r-- capps/capps 34032 2020-07-13 17:17 iozone3_490/docs/reread.gif -rw-r--r-- capps/capps 36293 2020-07-13 17:17 iozone3_490/docs/read_scaling.jpg -rwxr--r-- capps/capps 16159 2020-07-13 17:17 iozone3_490/docs/read_scaling.gif -rw-r--r-- capps/capps 95 2020-07-13 17:17 iozone3_490/docs/README -rw-r--r-- capps/capps 24342 2020-07-13 17:17 iozone3_490/docs/read_latency.jpg -rwxr--r-- capps/capps 16277 2020-07-13 17:17 iozone3_490/docs/read_latency.gif -rw-r--r-- capps/capps 53357 2020-07-13 17:17 iozone3_490/docs/read.jpg -rwxr--r-- capps/capps 36957 2020-07-13 17:17 iozone3_490/docs/read.gif -rw-r--r-- capps/capps 262680 2020-07-13 17:17 iozone3_490/docs/Iozone_ps.gz -rw-r--r-- capps/capps 283865 2020-07-13 17:17 iozone3_490/docs/IOzone_msword_98.pdf -rwxr--r-- capps/capps 212992 2020-07-13 17:17 iozone3_490/docs/IOzone_msword_98.doc -rwxr--r-- capps/capps 32358 2020-07-13 17:17 iozone3_490/docs/badread.gif -r--r--r-- capps/capps 17466 2020-07-13 17:17 iozone3_490/docs/iozone.1 drwxrwxr-x capps/capps 0 2020-07-13 17:17 iozone3_490/src/ drwxrwxr-x capps/capps 0 2020-07-13 17:17 iozone3_490/src/current/ -rw-rw-r-- capps/capps 1873920 2020-07-13 17:17 iozone3_490/src/current/iozone3_490.tar lrwxrwxrwx capps/capps 0 2020-07-13 17:17 iozone3_490/src/current/iozone.tar -> iozone3_490.tar -r--r--r-- capps/capps 1685 2020-07-13 17:17 iozone3_490/src/current/gnuplotps.dem -r--r--r-- capps/capps 595 2020-07-13 17:17 iozone3_490/src/current/write_telemetry -r--r--r-- capps/capps 594 2020-07-13 17:17 iozone3_490/src/current/read_telemetry -r--r--r-- capps/capps 1307 2020-07-13 17:17 iozone3_490/src/current/client_list -r-xr-x--x capps/capps 2762 2020-07-13 17:17 iozone3_490/src/current/gnu3d.dem -r-xr-x--x capps/capps 2707 2020-07-13 17:17 iozone3_490/src/current/gengnuplot.sh -r-xr-x--x capps/capps 748 2020-07-13 17:17 iozone3_490/src/current/Gnuplot.txt -r-xr--r-- capps/capps 8679 2020-07-13 17:17 iozone3_490/src/current/iozone_visualizer.pl -r-xr-x--x capps/capps 767 2020-07-13 17:17 iozone3_490/src/current/Generate_Graphs -r--r--r-- capps/capps 1628 2020-07-13 17:17 iozone3_490/src/current/gnuplot.dem -r--r--r-- capps/capps 34459 2020-07-13 17:17 iozone3_490/src/current/libasync.c -r-xr--r-- capps/capps 2824 2020-07-13 17:17 iozone3_490/src/current/Android_Readme.md -r-xr--r-- capps/capps 138 2020-07-13 17:17 iozone3_490/src/current/Application.mk -r--r--r-- capps/capps 298 2020-07-13 17:17 iozone3_490/src/current/Android.mk -r--r--r-- capps/capps 57969 2020-07-13 17:17 iozone3_490/src/current/makefile -r--r--r-- capps/capps 126228 2020-07-13 17:17 iozone3_490/src/current/Changes.txt -r--r--r-- capps/capps 10762 2020-07-13 17:17 iozone3_490/src/current/libbif.c -r--r--r-- capps/capps 2933 2020-07-13 17:17 iozone3_490/src/current/spec.in -r--r--r-- capps/capps 33001 2020-07-13 17:17 iozone3_490/src/current/pit_server.c -r--r--r-- capps/capps 47798 2020-07-13 17:17 iozone3_490/src/current/fileop.c -r-xr--r-- capps/capps 4268 2020-07-13 17:17 iozone3_490/src/current/report.pl -r--r--r-- capps/capps 703299 2020-07-13 17:17 iozone3_490/src/current/iozone.c -r--r--r-- capps/capps 17466 2020-07-13 17:17 iozone3_490/src/current/iozone.1 + STATUS=0 + '[' 0 -ne 0 ']' + cd iozone3_490 + rm -rf /home/pterjan/rpmbuild/BUILD/iozone3_490-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/iozone3_490-SPECPARTS + /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/pterjan/rpmbuild/tmp/rpm-tmp.XWH9uY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd iozone3_490 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd src/current ~/rpmbuild/BUILD/iozone3_490/src/current ~/rpmbuild/BUILD/iozone3_490 + /usr/bin/make -O -j8 V=1 VERBOSE=1 linux 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' which: no ndk-build in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin) cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libbif.o libbif.c libbif.c:205:1: error: return type defaults to 'int' [-Wimplicit-int] 205 | create_xls(name) | ^~~~~~~~~~ make: *** [: libbif.o] Error 1 make: *** Waiting for unfinished jobs.... cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libasync.o libasync.c libasync.c: In function 'end_async': libasync.c:299:9: error: implicit declaration of function 'del_cache' [-Wimplicit-function-declaration] 299 | del_cache(gc); | ^~~~~~~~~ libasync.c: In function 'async_read': libasync.c:427:17: error: implicit declaration of function 'takeoff_cache'; did you mean 'alloc_cache'? [-Wimplicit-function-declaration] 427 | takeoff_cache(gc,ce); | ^~~~~~~~~~~~~ | alloc_cache libasync.c: At top level: libasync.c:603:1: warning: conflicting types for 'takeoff_cache'; have 'void(struct cache *, struct cache_ent *)' 603 | takeoff_cache(struct cache *gc, struct cache_ent *ce) | ^~~~~~~~~~~~~ libasync.c:427:17: note: previous implicit declaration of 'takeoff_cache' with type 'void(struct cache *, struct cache_ent *)' 427 | takeoff_cache(gc,ce); | ^~~~~~~~~~~~~ libasync.c:677:1: warning: conflicting types for 'del_cache'; have 'void()' 677 | del_cache(gc) | ^~~~~~~~~ libasync.c:299:9: note: previous implicit declaration of 'del_cache' with type 'void()' 299 | del_cache(gc); | ^~~~~~~~~ libasync.c: In function 'async_read_no_copy': libasync.c:765:17: error: implicit declaration of function 'putoninuse' [-Wimplicit-function-declaration] 765 | putoninuse(gc,ce); | ^~~~~~~~~~ libasync.c: In function 'async_release': libasync.c:870:9: error: implicit declaration of function 'takeoffinuse' [-Wimplicit-function-declaration] 870 | takeoffinuse(gc); | ^~~~~~~~~~~~ libasync.c: At top level: libasync.c:884:1: warning: conflicting types for 'putoninuse'; have 'void()' 884 | putoninuse(gc,entry) | ^~~~~~~~~~ libasync.c:765:17: note: previous implicit declaration of 'putoninuse' with type 'void()' 765 | putoninuse(gc,ce); | ^~~~~~~~~~ libasync.c:905:1: warning: conflicting types for 'takeoffinuse'; have 'void()' 905 | takeoffinuse(gc) | ^~~~~~~~~~~~ libasync.c:870:9: note: previous implicit declaration of 'takeoffinuse' with type 'void()' 870 | takeoffinuse(gc); | ^~~~~~~~~~~~ make: *** [: libasync.o] Error 1 Building the pit_server cc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full pit_server.c -o pit_server.o Building fileop for Linux cc -Wall -c -O3 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full fileop.c -o fileop_linux.o Building iozone for Linux cc -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \ -DSHARED_MEM -Dlinux -D_LARGEFILE64_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full iozone.c \ -DNAME='"linux"' -o iozone_linux.o iozone.c: In function 'main': iozone.c:1861:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 1861 | int anwser,bind_cpu; | ^~~~~~ iozone.c: In function 'throughput_test': iozone.c:3946:14: warning: variable 'getout' set but not used [-Wunused-but-set-variable] 3946 | char getout; | ^~~~~~ iozone.c: In function 'time_so_far': iozone.c:7314:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7314 | if (pit_gettimeofday(&tp, (struct timezone *) NULL, pit_hostname, pit_service) == -1) | ^~ iozone.c:7316:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7316 | return ((double) (tp.tv_sec)) + (((double) tp.tv_usec) * 0.000001 ); | ^~~~~~ iozone.c:7320:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7320 | if (gettimeofday(&tp, (struct timezone *) NULL) == -1) | ^~ iozone.c:7322:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7322 | return ((double) (tp.tv_sec)) + (((double) tp.tv_usec) * 0.000001 ); | ^~~~~~ iozone.c: In function 'fetchit': iozone.c:7346:28: warning: variable 'x' set but not used [-Wunused-but-set-variable] 7346 | volatile long long x[4]; | ^ iozone.c: In function 'verify_buffer': iozone.c:7435:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7435 | if(!silent) | ^~ iozone.c:7442:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7442 | printf("Found %.lx Expecting %.lx \n",de_ibuf[i], de_obuf[i]); | ^~~~~~ iozone.c:7394:23: warning: variable 'x' set but not used [-Wunused-but-set-variable] 7394 | unsigned long x; | ^ iozone.c:7385:37: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 7385 | volatile unsigned long long dummy; | ^~~~~ iozone.c: In function 'fill_buffer': iozone.c:7562:23: warning: variable 'x' set but not used [-Wunused-but-set-variable] 7562 | unsigned long x; | ^ iozone.c: In function 'purgeit': iozone.c:7646:28: warning: variable 'x' set but not used [-Wunused-but-set-variable] 7646 | VOLATILE long long x[200]; | ^ iozone.c: In function 'write_perf_test': iozone.c:7732:13: warning: variable 'test_foo' set but not used [-Wunused-but-set-variable] 7732 | int test_foo; | ^~~~~~~~ iozone.c: In function 'read_perf_test': iozone.c:8781:13: warning: variable 'test_foo' set but not used [-Wunused-but-set-variable] 8781 | int test_foo,ltest; | ^~~~~~~~ iozone.c: In function 'alloc_mem': iozone.c:12547:19: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 12547 | long long tmp; | ^~~ iozone.c:12546:13: warning: variable 'tfd' set but not used [-Wunused-but-set-variable] 12546 | int tfd; | ^~~ iozone.c:12542:21: warning: variable 'dumb' set but not used [-Wunused-but-set-variable] 12542 | char *addr,*dumb; | ^~~~ iozone.c: In function 'purge_buffer_cache': iozone.c:12815:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 12815 | if (ret == 0) | ^~ iozone.c:12817:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 12817 | sleep(i); /* seconds */ | ^~~~~ iozone.c: In function 'thread_write_test': iozone.c:12860:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 12860 | int anwser,bind_cpu,wval; | ^~~~~~ iozone.c: In function 'thread_pwrite_test': iozone.c:13574:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 13574 | int anwser,bind_cpu,wval; | ^~~~~~ iozone.c: In function 'thread_rwrite_test': iozone.c:14214:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 14214 | int anwser,bind_cpu,wval; | ^~~~~~ iozone.c:14208:17: warning: variable 'written_so_far' set but not used [-Wunused-but-set-variable] 14208 | off64_t written_so_far, read_so_far, re_written_so_far,re_read_so_far=0; | ^~~~~~~~~~~~~~ iozone.c:14206:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 14206 | long long recs_per_buffer,traj_size; | ^~~~~~~~~~~~~~~ iozone.c: In function 'thread_read_test': iozone.c:14816:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 14816 | int anwser,bind_cpu; | ^~~~~~ iozone.c:14807:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 14807 | long long recs_per_buffer,traj_size; | ^~~~~~~~~~~~~~~ iozone.c:14806:17: warning: variable 'written_so_far' set but not used [-Wunused-but-set-variable] 14806 | off64_t written_so_far, read_so_far, re_written_so_far,re_read_so_far; | ^~~~~~~~~~~~~~ iozone.c: In function 'thread_pread_test': iozone.c:15404:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 15404 | int anwser,bind_cpu; | ^~~~~~ iozone.c:15395:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 15395 | long long recs_per_buffer,traj_size; | ^~~~~~~~~~~~~~~ iozone.c:15394:17: warning: variable 'written_so_far' set but not used [-Wunused-but-set-variable] 15394 | off64_t written_so_far, read_so_far, re_written_so_far,re_read_so_far; | ^~~~~~~~~~~~~~ iozone.c: In function 'thread_rread_test': iozone.c:15930:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 15930 | int anwser,bind_cpu; | ^~~~~~ iozone.c:15923:17: warning: variable 'written_so_far' set but not used [-Wunused-but-set-variable] 15923 | off64_t written_so_far, read_so_far, re_written_so_far, | ^~~~~~~~~~~~~~ iozone.c:15921:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 15921 | long long recs_per_buffer,traj_size; | ^~~~~~~~~~~~~~~ iozone.c: In function 'thread_reverse_read_test': iozone.c:16507:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 16507 | int anwser,bind_cpu; | ^~~~~~ iozone.c:16501:17: warning: variable 'written_so_far' set but not used [-Wunused-but-set-variable] 16501 | off64_t written_so_far, reverse_read, re_read_so_far,read_so_far; | ^~~~~~~~~~~~~~ iozone.c:16497:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 16497 | long long recs_per_buffer; | ^~~~~~~~~~~~~~~ iozone.c: In function 'thread_stride_read_test': iozone.c:17042:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 17042 | int anwser,bind_cpu; | ^~~~~~ iozone.c:17035:17: warning: variable 'written_so_far' set but not used [-Wunused-but-set-variable] 17035 | off64_t written_so_far, stride_read,re_read_so_far,read_so_far; | ^~~~~~~~~~~~~~ iozone.c:17031:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 17031 | long long recs_per_buffer; | ^~~~~~~~~~~~~~~ iozone.c: In function 'thread_ranread_test': iozone.c:17655:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 17655 | int anwser,bind_cpu; | ^~~~~~ iozone.c:17647:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 17647 | long long recs_per_buffer; | ^~~~~~~~~~~~~~~ iozone.c:17646:17: warning: variable 'written_so_far' set but not used [-Wunused-but-set-variable] 17646 | off64_t written_so_far, ranread_so_far, re_written_so_far,re_read_so_far; | ^~~~~~~~~~~~~~ iozone.c: In function 'thread_ranwrite_test': iozone.c:18282:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 18282 | int anwser,bind_cpu,wval; | ^~~~~~ iozone.c: In function 'dump_throughput_cpu': iozone.c:19220:15: warning: variable 'label' set but not used [-Wunused-but-set-variable] 19220 | char *label; | ^~~~~ iozone.c: In function 'dump_throughput': iozone.c:19287:19: warning: variable 'x' set but not used [-Wunused-but-set-variable] 19287 | long long x,y,i,j; | ^ iozone.c: In function 'r_traj_size': iozone.c:20334:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 20334 | int ret; | ^~~ iozone.c: In function 'w_traj_size': iozone.c:20433:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 20433 | int ret; | ^~~ iozone.c: In function 'start_child_listen': iozone.c:21387:13: warning: variable 'xx' set but not used [-Wunused-but-set-variable] 21387 | int xx; | ^~ iozone.c:21384:13: warning: variable 'tsize' set but not used [-Wunused-but-set-variable] 21384 | int tsize; | ^~~~~ iozone.c: In function 'start_child_listen_async': iozone.c:21571:13: warning: variable 'xx' set but not used [-Wunused-but-set-variable] 21571 | int xx; | ^~ iozone.c:21568:13: warning: variable 'tsize' set but not used [-Wunused-but-set-variable] 21568 | int tsize; | ^~~~~ iozone.c: In function 'start_child_listen_loop': iozone.c:22934:29: warning: variable 'child_stat' set but not used [-Wunused-but-set-variable] 22934 | struct child_stats *child_stat; | ^~~~~~~~~~ iozone.c: In function 'sp_start_child_listen': iozone.c:23751:13: warning: variable 'xx' set but not used [-Wunused-but-set-variable] 23751 | int xx; | ^~ iozone.c:23747:13: warning: variable 'tsize' set but not used [-Wunused-but-set-variable] 23747 | int tsize; | ^~~~~ iozone.c: In function 'sp_start_master_listen': iozone.c:23996:13: warning: variable 'xx' set but not used [-Wunused-but-set-variable] 23996 | int xx; | ^~ iozone.c:23992:13: warning: variable 'tsize' set but not used [-Wunused-but-set-variable] 23992 | int tsize; | ^~~~~ iozone.c: In function 'get_pattern': iozone.c:24251:22: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 24251 | unsigned int temp; | ^~~~ iozone.c: In function 'thread_fwrite_test': iozone.c:25211:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 25211 | int anwser,bind_cpu,wval; | ^~~~~~ iozone.c:25202:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 25202 | long long recs_per_buffer; | ^~~~~~~~~~~~~~~ iozone.c:25195:15: warning: variable 'delay' set but not used [-Wunused-but-set-variable] 25195 | float delay = (float)0; | ^~~~~ iozone.c: In function 'thread_fread_test': iozone.c:25683:13: warning: variable 'anwser' set but not used [-Wunused-but-set-variable] 25683 | int anwser,bind_cpu; | ^~~~~~ iozone.c:25674:19: warning: variable 'recs_per_buffer' set but not used [-Wunused-but-set-variable] 25674 | long long recs_per_buffer; | ^~~~~~~~~~~~~~~ iozone.c:25667:15: warning: variable 'delay' set but not used [-Wunused-but-set-variable] 25667 | float delay = (float)0; | ^~~~~ iozone.c: In function 'start_monitor.part.0': iozone.c:24348:47: warning: '&' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 24348 | sprintf(command_line,"%s %s&",imon_start,test); | ^ In file included from /usr/include/stdio.h:980, from iozone.c:296: In function 'sprintf', inlined from 'start_monitor.part.0' at iozone.c:24348:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iozone.c: In function 'start_monitor.part.0': iozone.c:24346:47: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 24346 | sprintf(command_line,"%s %s",imon_start,test); | ^ In function 'sprintf', inlined from 'start_monitor.part.0' at iozone.c:24346:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iozone.c: In function 'stop_monitor.part.0': iozone.c:24366:47: warning: ' &' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 24366 | sprintf(command_line,"%s %s &",imon_stop,test); | ^~ In function 'sprintf', inlined from 'stop_monitor.part.0' at iozone.c:24366:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iozone.c: In function 'stop_monitor.part.0': iozone.c:24364:47: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 24364 | sprintf(command_line,"%s %s",imon_stop,test); | ^ In function 'sprintf', inlined from 'stop_monitor.part.0' at iozone.c:24364:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iozone.c: In function 'dump_throughput': iozone.c:19335:47: warning: '%15s' directive writing between 15 and 399 bytes into a region of size 300 [-Wformat-overflow=] 19335 | sprintf(print_str,"%15s ",toutput[i]); | ^~~~ In function 'sprintf', inlined from 'dump_throughput' at iozone.c:19335:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 17 and 401 bytes into a destination of size 300 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iozone.c: In function 'child_send': iozone.c:21141:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 21141 | sprintf(outbuf.m_stop_flag,"%d",send_buffer->m_stop_flag); | ^ In function 'sprintf', inlined from 'child_send' at iozone.c:21141:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ iozone.c: In function 'thread_fread_test': iozone.c:26050:17: warning: argument 1 null where non-null expected [-Wnonnull] 26050 | fclose(w_traj_fd); | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:184:12: note: in a call to function 'fclose' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ iozone.c: In function 'thread_fwrite_test': iozone.c:25600:17: warning: argument 1 null where non-null expected [-Wnonnull] 25600 | fclose(w_traj_fd); | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:184:12: note: in a call to function 'fclose' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ cc -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -D_LARGEFILE64_SOURCE \ -DSHARED_MEM -Dlinux -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full libbif.c -o libbif.o cc -Wmissing-prototypes -Wall -c -O3 -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \ -D_LARGEFILE64_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full libasync.c -o libasync.o libasync.c: In function 'async_read_no_copy': libasync.c:742:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 742 | if(ret) | ^~ libasync.c:744:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 744 | printf("It changed in flight\n"); | ^~~~~~ libasync.c: At top level: libasync.c:164:19: warning: 'version' defined but not used [-Wunused-const-variable=] 164 | static const char version[] = "Libasync Version $Revision: 3.34 $"; | ^~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XWH9uY (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XWH9uY (%build) I: [iurt_root_command] ERROR: chroot