+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/blktrace.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iZwjZJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf blktrace-1.1.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/blktrace-1.1.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd blktrace-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VCHfLB + umask 022 + cd /builddir/build/BUILD + cd blktrace-1.1.0 + make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' all gcc -o blkparse.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkparse.c gcc -o blkparse_fmt.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkparse_fmt.c gcc -o rbtree.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 rbtree.c gcc -o act_mask.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 act_mask.c gcc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o blkparse blkparse.o blkparse_fmt.o rbtree.o act_mask.o gcc -o blktrace.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blktrace.c gcc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o blktrace blktrace.o act_mask.o -lpthread gcc -o verify_blkparse.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 verify_blkparse.c gcc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o verify_blkparse verify_blkparse.o gcc -o blkrawverify.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkrawverify.c gcc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o blkrawverify blkrawverify.o gcc -o blkiomon.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkiomon.c In file included from blktrace.h:10:0, from blkiomon.c:39: blkiomon.c: In function 'main': rbtree.h:159:26: warning: 'search.parent' may be used uninitialized in this function [-Wmaybe-uninitialized] node->rb_parent_color = (unsigned long )parent; ^~~~~~~~~~~~~~~~~~~~~~ blkiomon.c:201:19: note: 'search.parent' was declared here struct rb_search search; ^~~~~~ In file included from blktrace.h:10:0, from blkiomon.c:39: rbtree.h:162:11: warning: 'search.node_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] *rb_link = node; ~~~~~~~~~^~~~~~ blkiomon.c:201:19: note: 'search.node_ptr' was declared here struct rb_search search; ^~~~~~ gcc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o blkiomon blkiomon.o rbtree.o -lpthread -lrt make -C btt make[1]: Entering directory '/builddir/build/BUILD/blktrace-1.1.0/btt' gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o args.o args.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o bt_timeline.o bt_timeline.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o devmap.o devmap.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o devs.o devs.c devs.c: In function 'dip_alloc': devs.c:113:18: warning: '_pit.dat' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(str, "%s_pit.dat", dip->dip_name); ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from devs.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o dip_rb.o dip_rb.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o iostat.o iostat.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o latency.o latency.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o misc.o misc.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o output.o output.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o proc.o proc.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o seek.o seek.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace.o trace.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace_complete.o trace_complete.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace_im.o trace_im.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace_issue.o trace_issue.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace_queue.o trace_queue.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace_remap.o trace_remap.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace_requeue.o trace_requeue.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o mmap.o mmap.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o trace_plug.o trace_plug.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o bno_dump.o bno_dump.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o unplug_hist.o unplug_hist.c unplug_hist.c: In function 'unplug_hist_alloc': unplug_hist.c:41:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(hbp->hist, 0, NBKTS * sizeof(int)); ^~~~~~ gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o q2d.o q2d.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o aqd.o aqd.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o plat.o plat.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o rstats.o rstats.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o p_live.o p_live.c gcc -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 -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o btt args.o bt_timeline.o devmap.o devs.o dip_rb.o iostat.o latency.o misc.o output.o proc.o seek.o trace.o trace_complete.o trace_im.o trace_issue.o trace_queue.o trace_remap.o trace_requeue.o ../rbtree.o mmap.o trace_plug.o bno_dump.o unplug_hist.o q2d.o aqd.o plat.o rstats.o p_live.o make[1]: Leaving directory '/builddir/build/BUILD/blktrace-1.1.0/btt' make -C btreplay make[1]: Entering directory '/builddir/build/BUILD/blktrace-1.1.0/btreplay' gcc -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 -I. -I.. -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -UCOUNT_IOS -UDEBUG -DNDEBUG -c -o btrecord.o btrecord.c gcc -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 -I. -I.. -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -UCOUNT_IOS -UDEBUG -DNDEBUG -o btrecord btrecord.o gcc -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 -I. -I.. -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -UCOUNT_IOS -UDEBUG -DNDEBUG -c -o btreplay.o btreplay.c btreplay.c: In function 'read_map_devs': btreplay.c:657:22: warning: format '%a' expects argument of type 'float *', but argument 3 has type 'char **' [-Wformat=] while (fscanf(fp, "%as %as", &from_dev, &to_dev) == 2) { ~^ ~~~~~~~~~ btreplay.c:657:26: warning: format '%a' expects argument of type 'float *', but argument 4 has type 'char **' [-Wformat=] while (fscanf(fp, "%as %as", &from_dev, &to_dev) == 2) { ~^ ~~~~~~~ gcc -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 -I. -I.. -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -UCOUNT_IOS -UDEBUG -DNDEBUG -o btreplay btreplay.o -laio -lrt -lpthread make[1]: Leaving directory '/builddir/build/BUILD/blktrace-1.1.0/btreplay' make -C iowatcher make[1]: Entering directory '/builddir/build/BUILD/blktrace-1.1.0/iowatcher' cc -o blkparse.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkparse.c cc -o plot.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 plot.c plot.c: In function 'write_svg_header': plot.c:278:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, header, strlen(header)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:280:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, spaces, strlen(spaces)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:281:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, spaces, strlen(spaces)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:282:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, spaces, strlen(spaces)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:284:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, defs_start, strlen(defs_start)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:285:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, filter1, strlen(filter1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:286:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, filter2, strlen(filter2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:287:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, filter3, strlen(filter3)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:288:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, defs_close, strlen(defs_close)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'setup_axis': plot.c:354:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c:362:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c:373:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'setup_axis_spindle': plot.c:413:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c:422:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c:432:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'set_plot_title': plot.c:454:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c:463:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c: In function 'set_xticks': plot.c:519:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:536:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:552:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'set_ylabel': plot.c:571:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c: In function 'set_xlabel': plot.c:586:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c: In function 'set_yticks': plot.c:610:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:618:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:624:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'set_plot_label': plot.c:638:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, len); ^~~~~~~~~~~~~~~~~~~~ plot.c: In function 'close_svg': plot.c:645:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, close_line, strlen(close_line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'close_plot_file': plot.c:683:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:686:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'svg_line_graph': plot.c:791:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, start, strlen(start)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:798:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:803:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, start, strlen(start)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:817:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:824:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'svg_write_time_line': plot.c:838:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'svg_io_graph_movie_array_spindle': plot.c:905:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:909:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:933:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c: In function 'svg_write_legend': plot.c:1050:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, line, strlen(line)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plot.c:1052:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plot->fd, plot->legend_lines[i], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strlen(plot->legend_lines[i])); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o 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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 main.c main.c: In function 'convert_movie_files': main.c:1024:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(line); ^~~~~~~~~~~~ main.c: In function 'tencode_movie': main.c:1041:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(line); ^~~~~~~~~~~~ main.c: In function 'mencode_movie': main.c:1033:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(line); ^~~~~~~~~~~~ main.c: In function 'cleanup_movie': main.c:1063:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(line); ^~~~~~~~~~~~ main.c:1066:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(line); ^~~~~~~~~~~~ cc -o tracers.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 tracers.c cc -o mpstat.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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 mpstat.c cc -o 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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 fio.c cc -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 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o iowatcher blkparse.o plot.o main.o tracers.o mpstat.o fio.o -lm make[1]: Leaving directory '/builddir/build/BUILD/blktrace-1.1.0/iowatcher' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eGYAqt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 + cd blktrace-1.1.0 + rm -rf /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 + make dest=/builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 prefix=/builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr mandir=/builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/share/man install install -m 755 -d /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/bin install -m 755 -d /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/share/man/man1 install -m 755 -d /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/share/man/man8 install -m 755 blkparse blktrace verify_blkparse blkrawverify blkiomon btrace btt/btt btreplay/btrecord btreplay/btreplay btt/bno_plot.py iowatcher/iowatcher /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/bin install -m 644 doc/*.1 /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/share/man/man1 install -m 644 doc/*.8 /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/share/man/man8 + install -m 644 iowatcher/iowatcher.1 /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64//usr/share/man/man1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: mangling shebang in ./usr/bin/bno_plot.py from #! /usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually! Processing files: blktrace-1.1.0-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rpvO1I + umask 022 + cd /builddir/build/BUILD + cd blktrace-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/blktrace + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/blktrace + cp -pr README /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/blktrace + cp -pr COPYING /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/blktrace + exit 0 Provides: blktrace = 1.1.0-6.fc28 blktrace(riscv-64) = 1.1.0-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/python2 ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) librt.so.1()(64bit) rtld(GNU_HASH) Processing files: iowatcher-1.1.0-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NhARsU + umask 022 + cd /builddir/build/BUILD + cd blktrace-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/iowatcher + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/iowatcher + cp -pr README /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/iowatcher + cp -pr iowatcher/COPYING /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64/usr/share/doc/iowatcher + exit 0 Provides: iowatcher = 1.1.0-6.fc28 iowatcher(riscv-64) = 1.1.0-6.fc28 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/blktrace-1.1.0-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/blktrace-1.1.0-6.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/iowatcher-1.1.0-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4EV6FU + umask 022 + cd /builddir/build/BUILD + cd blktrace-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/blktrace-1.1.0-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff