+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ffsb.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 warning: bogus date in %changelog: Fri Feb 15 2017 Eric Sandeen - 6.0-0.10.rc2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ToTggh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ffsb-6.0-rc2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ffsb-6.0-rc2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ffsb-6.0-rc2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (getu32random.patch):' Patch #0 (getu32random.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ffsb_fs.c patching file ffsb_tg.c patching file filelist.c patching file fileops.c patching file rand.c patching file rand.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fdLNRT + umask 022 + cd /builddir/build/BUILD + cd ffsb-6.0-rc2 + 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 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-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/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for AIX... no checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for main in -lm... yes checking for main in -lpthread... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdint.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/limits.h usability... no checking sys/limits.h presence... no checking for sys/limits.h... no checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for system... yes checking for gettimeofday... yes checking for mkdir... yes checking for strerror... yes checking for open64... yes checking for stat64... yes checking for fseeko64... yes checking for lrand48_r... yes checking for srand48_r... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/ffsb-6.0-rc2' gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c fileops.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c rand.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c main.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c fh.c fh.c: In function 'fhwrite': fh.c:180:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t {aka long int}' [-Wformat=] printf("Wrote %d instead of %d bytes.\n" ~^ %ld fh.c: In function 'fhseek': fh.c:212:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "tried to seek to %lld\n", offset); ~~~^ %ld fh.c:214:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "tried to seek from current " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fh.c:215:21: note: format string is defined here "position to %lld\n", offset); ~~~^ %ld fileops.c: In function 'ffsb_readfile': fileops.c:138:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("Error: read size %llu bytes too big " ~~~^ %lu fileops.c:138:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("Error: read size %llu bytes too big " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileops.c:140:29: note: format string is defined here " for file of size %llu bytes\n" ~~~^ %lu fileops.c:144:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("minimum file size must be at least " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileops.c:145:12: note: format string is defined here " %llu bytes\n", minfilesize); ~~~^ %lu fileops.c: In function 'ffsb_stat': fileops.c:542:2: warning: implicit declaration of function 'fhstat'; did you mean 'fstat'? [-Wimplicit-function-declaration] fhstat(curfile->name, ft, fs); ^~~~~~ fstat gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c filelist.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c metaops.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c rwlock.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c cirlist.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c rbt.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c ffsb_tg.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c ffsb_fs.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c ffsb_thread.c ffsb_tg.c: In function 'tg_print_config_helper': ffsb_tg.c:274:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\t read_size = %llu\t(%s)\n", tg->read_size, ~~~^ ~~~~~~~~~~~~~ %lu ffsb_tg.c:283:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\t write_size = %llu\t(%s)\n", tg->write_size, ~~~^ ~~~~~~~~~~~~~~ %lu ffsb_fs.c: In function 'add_files': ffsb_fs.c:87:6: warning: unused variable 'i' [-Wunused-variable] int i, fd, condition = 0, has_directio = 0; ^ ffsb_fs.c: In function 'verify_file': ffsb_fs.c:217:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("size %llu bytes for file %s is invalid\n", ~~~^ %lu ffsb_fs.c: In function 'fs_print_config': ffsb_fs.c:595:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\t\t %12llu (%6s) -> %u (%.2f\%)\n", ~~~~~^ %12lu fs->size_weights[i].size, ~~~~~~~~~~~~~~~~~~~~~~~~ ffsb_fs.c:595:43: warning: unknown conversion type character ')' in format [-Wformat=] printf("\t\t %12llu (%6s) -> %u (%.2f\%)\n", ^ ffsb_fs.c:603:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\t min file size = %llu\t(%s)\n", fs->minfilesize, ~~~^ ~~~~~~~~~~~~~~~ %lu ffsb_fs.c:605:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("\t max file size = %llu\t(%s)\n", fs->maxfilesize, ~~~^ ~~~~~~~~~~~~~~~ %lu ffsb_fs.c:616:41: warning: unknown conversion type character '\x0a' in format [-Wformat=] printf("\t current utilization = %.2f\%\n", getfsutil(fs->basedir)*100); ^~ ffsb_fs.c:618:42: warning: unknown conversion type character '\x0a' in format [-Wformat=] printf("\t desired utilization = %.2lf%\n", fs->desired_fsutil * 100); ^~ ffsb_fs.c: In function 'fs_needs_stats': ffsb_fs.c:627:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (fs != NULL) ? (int)fs->fsd.config : 0; ^ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c ffsb_op.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c util.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c parser.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c ffsb_fc.c ffsb_op.c: In function 'print_op_results': ffsb_op.c:83:23: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buf, "%s/sec\0", buf); ^~ ffsb_op.c:86:19: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(buf, "NA\0"); ^~ ffsb_op.c: In function 'print_results': ffsb_op.c:112:61: warning: unknown conversion type character 'T' in format [-Wformat=] printf(" Op Name Transactions\t Trans/sec\t% Trans\t % Op Weight\t Throughput\n"); ^ ffsb_op.c:112:74: warning: unknown conversion type character 'O' in format [-Wformat=] printf(" Op Name Transactions\t Trans/sec\t% Trans\t % Op Weight\t Throughput\n"); ^ At top level: ffsb_op.c:49:12: warning: 'exclusive_op' defined but not used [-Wunused-function] static int exclusive_op(ffsb_op_results_t *results, unsigned int op_num) ^~~~~~~~~~~~ parser.c: In function 'get_optsize64': parser.c:270:11: warning: unused variable 'size' [-Wunused-variable] uint64_t size; ^~~~ parser.c: In function 'verify_tg': parser.c:669:11: warning: unused variable 'delete_weight' [-Wunused-variable] uint32_t delete_weight = tg_get_op_weight(tg, "delete"); ^~~~~~~~~~~~~ parser.c:668:11: warning: unused variable 'createdir_weight' [-Wunused-variable] uint32_t createdir_weight = tg_get_op_weight(tg, "createdir"); ^~~~~~~~~~~~~~~~ In file included from parser.h:22:0, from parser.c:25: parser.c: In function 'init_filesys': list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:39:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ parser.c:934:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, &list_head->list, list) ^~~~~~~~~~~~~~~~~~~ list.h:40:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] pos->member.next, &pos->member != (head); \ ^ parser.c:934:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, &list_head->list, list) ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:41:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ parser.c:934:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, &list_head->list, list) ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:39:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ parser.c:941:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, &list_head->list, list) { ^~~~~~~~~~~~~~~~~~~ list.h:40:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] pos->member.next, &pos->member != (head); \ ^ parser.c:941:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, &list_head->list, list) { ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:41:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ parser.c:941:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, &list_head->list, list) { ^~~~~~~~~~~~~~~~~~~ parser.c: In function 'init_tg_stats': list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:39:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ parser.c:971:6: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, ^~~~~~~~~~~~~~~~~~~ list.h:40:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] pos->member.next, &pos->member != (head); \ ^ parser.c:971:6: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:41:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ parser.c:971:6: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:39:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ parser.c:980:6: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, ^~~~~~~~~~~~~~~~~~~ list.h:40:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] pos->member.next, &pos->member != (head); \ ^ parser.c:980:6: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(type, member) ((int) &((type *)0)->member) ^ list.h:33:28: note: in expansion of macro 'offsetof' (type *)((char *)__mptr - offsetof(type, member)); }) ^~~~~~~~ list.h:36:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:41:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ parser.c:980:6: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tmp_list, ^~~~~~~~~~~~~~~~~~~ parser.c: In function 'init_config': parser.c:997:15: warning: unused variable 'tmp_cont' [-Wunused-variable] container_t *tmp_cont; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c ffsb_stats.c util.c: In function 'ffsb_bench_gettimeofday': util.c:333:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("average time for gettimeofday(): %llu nsec\n", average); ~~~^ %lu util.c: In function 'ffsb_bench_getpid': util.c:350:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("average time for getpid(): %llu nsec\n", average); ~~~^ %lu gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -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_REENTRANT -c list.c parser.c: In function 'init_threadgroup': parser.c:532:9: warning: 'tmp_config' may be used uninitialized in this function [-Wmaybe-uninitialized] return get_value(config, name); ^~~~~~~~~~~~~~~~~~~~~~~ parser.c:816:21: note: 'tmp_config' was declared here config_options_t *tmp_config; ^~~~~~~~~~ parser.c: In function 'ffsb_parse_newconfig': parser.c:532:9: warning: 'tmp_config' may be used uninitialized in this function [-Wmaybe-uninitialized] return get_value(config, name); ^~~~~~~~~~~~~~~~~~~~~~~ parser.c:868:21: note: 'tmp_config' was declared here config_options_t *tmp_config; ^~~~~~~~~~ gcc -D_GNU_SOURCE -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_REENTRANT -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ffsb fileops.o rand.o main.o fh.o filelist.o metaops.o rwlock.o cirlist.o rbt.o ffsb_tg.o ffsb_fs.o ffsb_thread.o ffsb_op.o util.o parser.o ffsb_fc.o ffsb_stats.o list.o -lpthread -lm make[1]: Leaving directory '/builddir/build/BUILD/ffsb-6.0-rc2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7TCAd0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64 + cd ffsb-6.0-rc2 + rm -rf /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/ffsb-6.0-rc2' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/bin" /usr/bin/install -c 'ffsb' '/builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/bin/ffsb' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/ffsb-6.0-rc2' + rm -f examples/profile_smallfile_reads~ + /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 Processing files: ffsb-6.0-0.12.rc2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lyxBZ0 + umask 022 + cd /builddir/build/BUILD + cd ffsb-6.0-rc2 + DOCDIR=/builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/share/doc/ffsb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/share/doc/ffsb + cp -pr AUTHORS /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/share/doc/ffsb + cp -pr COPYING /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/share/doc/ffsb + cp -pr README /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/share/doc/ffsb + cp -pr examples /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64/usr/share/doc/ffsb + exit 0 Provides: ffsb = 6.0-0.12.rc2.fc28 ffsb(riscv-64) = 6.0-0.12.rc2.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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.fc28.riscv64 Wrote: /builddir/build/SRPMS/ffsb-6.0-0.12.rc2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ffsb-6.0-0.12.rc2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QIllVa + umask 022 + cd /builddir/build/BUILD + cd ffsb-6.0-rc2 + rm -rf /builddir/build/BUILDROOT/ffsb-6.0-0.12.rc2.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