Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ffsb.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667627118.763235/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3dfw5cth:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3dfw5cth:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5957b670a8c840639ad086205cea032a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667627118.763235/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3dfw5cth:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ffsb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ffsb-6.0-0.23.rc2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ffsb.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667627118.763235/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3dfw5cth:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3dfw5cth:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0dce734f09b042b381c01dfcd256cd95', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667627118.763235/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3dfw5cth:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ffsb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RDreCU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ffsb-6.0-rc2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ffsb-6.0-rc2.tar.bz2 + 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 -f -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tztGEv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ffsb-6.0-rc2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-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 x86_64-redhat-linux-gnu-gcc... (cached) 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 -j2 make all-am make[1]: Entering directory '/builddir/build/BUILD/ffsb-6.0-rc2' gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c fileops.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c rand.c fileops.c: In function 'ffsb_readfile': fileops.c:138:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 138 | printf("Error: read size %llu bytes too big " | ~~~^ | | | long long unsigned int | %lu ...... 141 | " aborting\n\n", read_size, | ~~~~~~~~~ | | | uint64_t {aka long unsigned int} fileops.c:138:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 138 | printf("Error: read size %llu bytes too big " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 143 | filesize); | ~~~~~~~~ | | | uint64_t {aka long unsigned int} fileops.c:140:64: note: format string is defined here 140 | " for file of size %llu bytes\n" | ~~~^ | | | long long unsigned int | %lu fileops.c:144:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 144 | printf("minimum file size must be at least " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | " %llu bytes\n", minfilesize); | ~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} fileops.c:145:47: note: format string is defined here 145 | " %llu bytes\n", minfilesize); | ~~~^ | | | long long unsigned int | %lu fileops.c: In function 'ffsb_stat': fileops.c:542:9: warning: implicit declaration of function 'fhstat'; did you mean 'fstat'? [-Wimplicit-function-declaration] 542 | fhstat(curfile->name, ft, fs); | ^~~~~~ | fstat gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c main.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c fh.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c filelist.c fh.c: In function 'fhwrite': fh.c:180:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 180 | printf("Wrote %d instead of %d bytes.\n" | ~^ | | | int | %ld 181 | "Probably out of disk space\n", realsize, size); | ~~~~~~~~ | | | ssize_t {aka long int} fh.c: In function 'fhseek': fh.c:212:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 212 | fprintf(stderr, "tried to seek to %lld\n", offset); | ~~~^ ~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld fh.c:214:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 214 | fprintf(stderr, "tried to seek from current " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | "position to %lld\n", offset); | ~~~~~~ | | | uint64_t {aka long unsigned int} fh.c:215:49: note: format string is defined here 215 | "position to %lld\n", offset); | ~~~^ | | | long long int | %ld gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c metaops.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c rwlock.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c cirlist.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c rbt.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c ffsb_tg.c ffsb_tg.c: In function 'tg_print_config_helper': ffsb_tg.c:274:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 274 | printf("\t read_size = %llu\t(%s)\n", tg->read_size, | ~~~^ ~~~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ffsb_tg.c:283:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 283 | printf("\t write_size = %llu\t(%s)\n", tg->write_size, | ~~~^ ~~~~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c ffsb_fs.c ffsb_fs.c: In function 'add_files': ffsb_fs.c:87:13: warning: unused variable 'i' [-Wunused-variable] 87 | int i, fd, condition = 0, has_directio = 0; | ^ ffsb_fs.c: In function 'verify_file': ffsb_fs.c:217:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 217 | printf("size %llu bytes for file %s is invalid\n", | ~~~^ | | | long long unsigned int | %lu 218 | filesize, fname); | ~~~~~~~~ | | | uint64_t {aka long unsigned int} ffsb_fs.c: In function 'fs_print_config': ffsb_fs.c:595:43: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 595 | printf("\t\t %12llu (%6s) -> %u (%.2f\%)\n", | ~~~~~^ | | | long long unsigned int | %12lu 596 | fs->size_weights[i].size, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} ffsb_fs.c:595:64: warning: unknown conversion type character ')' in format [-Wformat=] 595 | printf("\t\t %12llu (%6s) -> %u (%.2f\%)\n", | ^ ffsb_fs.c:603:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 603 | printf("\t min file size = %llu\t(%s)\n", fs->minfilesize, | ~~~^ ~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ffsb_fs.c:605:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 605 | printf("\t max file size = %llu\t(%s)\n", fs->maxfilesize, | ~~~^ ~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ffsb_fs.c:616:48: warning: unknown conversion type character '\x0a' in format [-Wformat=] 616 | printf("\t current utilization = %.2f\%\n", getfsutil(fs->basedir)*100); | ^~ ffsb_fs.c:618:56: warning: unknown conversion type character '\x0a' in format [-Wformat=] 618 | printf("\t desired utilization = %.2lf%\n", fs->desired_fsutil * 100); | ^~ ffsb_fs.c: In function 'fs_needs_stats': ffsb_fs.c:627:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 627 | return (fs != NULL) ? (int)fs->fsd.config : 0; | ^ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c ffsb_thread.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c ffsb_op.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c util.c ffsb_op.c: In function 'print_op_results': ffsb_op.c:83:37: warning: embedded '\0' in format [-Wformat-contains-nul] 83 | sprintf(buf, "%s/sec\0", buf); | ^~ ffsb_op.c:86:33: warning: embedded '\0' in format [-Wformat-contains-nul] 86 | sprintf(buf, "NA\0"); | ^~ ffsb_op.c: In function 'print_results': ffsb_op.c:112:68: warning: unknown conversion type character 'T' in format [-Wformat=] 112 | printf(" Op Name Transactions\t Trans/sec\t% Trans\t % Op Weight\t Throughput\n"); | ^ ffsb_op.c:112:81: warning: unknown conversion type character 'O' in format [-Wformat=] 112 | printf(" Op Name Transactions\t Trans/sec\t% Trans\t % Op Weight\t Throughput\n"); | ^ ffsb_op.c: At top level: ffsb_op.c:49:12: warning: 'exclusive_op' defined but not used [-Wunused-function] 49 | static int exclusive_op(ffsb_op_results_t *results, unsigned int op_num) | ^~~~~~~~~~~~ ffsb_op.c: In function 'print_results': ffsb_op.c:83:33: warning: '/sec' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 83 | sprintf(buf, "%s/sec\0", buf); | ^~~~ In file included from /usr/include/stdio.h:906, from ffsb_op.c:20: In function 'sprintf', inlined from 'print_op_results' at ffsb_op.c:83:3, inlined from 'print_results' at ffsb_op.c:116:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 260 bytes 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 ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 5 overlaps destination object 'buf' [-Wrestrict] ffsb_op.c: In function 'print_results': ffsb_op.c:75:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 75 | char buf[256]; | ^~~ util.c: In function 'ffsb_bench_gettimeofday': util.c:333:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 333 | printf("average time for gettimeofday(): %llu nsec\n", average); | ~~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu util.c: In function 'ffsb_bench_getpid': util.c:350:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 350 | printf("average time for getpid(): %llu nsec\n", average); | ~~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c parser.c util.c: In function 'ffsb_strdup': util.c:89:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 89 | strncpy(dup, str, len+1); | ^ util.c:86:19: note: length computed here 86 | int len = strlen(str); | ^~~~~~~~~~~ parser.c: In function 'get_optsize64': parser.c:270:18: warning: unused variable 'size' [-Wunused-variable] 270 | uint64_t size; | ^~~~ parser.c: In function 'verify_tg': parser.c:669:18: warning: unused variable 'delete_weight' [-Wunused-variable] 669 | uint32_t delete_weight = tg_get_op_weight(tg, "delete"); | ^~~~~~~~~~~~~ parser.c:668:18: warning: unused variable 'createdir_weight' [-Wunused-variable] 668 | uint32_t createdir_weight = tg_get_op_weight(tg, "createdir"); | ^~~~~~~~~~~~~~~~ In file included from parser.h:22, 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] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:39:20: note: in expansion of macro 'list_entry' 39 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ parser.c:934:17: note: in expansion of macro 'list_for_each_entry' 934 | list_for_each_entry(tmp_list, &list_head->list, list) | ^~~~~~~~~~~~~~~~~~~ list.h:40:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] 40 | pos->member.next, &pos->member != (head); \ | ^ parser.c:934:17: note: in expansion of macro 'list_for_each_entry' 934 | 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] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:41:20: note: in expansion of macro 'list_entry' 41 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ parser.c:934:17: note: in expansion of macro 'list_for_each_entry' 934 | 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] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:39:20: note: in expansion of macro 'list_entry' 39 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ parser.c:941:17: note: in expansion of macro 'list_for_each_entry' 941 | list_for_each_entry(tmp_list, &list_head->list, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:40:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] 40 | pos->member.next, &pos->member != (head); \ | ^ parser.c:941:17: note: in expansion of macro 'list_for_each_entry' 941 | 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] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:41:20: note: in expansion of macro 'list_entry' 41 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ parser.c:941:17: note: in expansion of macro 'list_for_each_entry' 941 | 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] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:39:20: note: in expansion of macro 'list_entry' 39 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ parser.c:971:41: note: in expansion of macro 'list_for_each_entry' 971 | list_for_each_entry(tmp_list, | ^~~~~~~~~~~~~~~~~~~ list.h:40:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] 40 | pos->member.next, &pos->member != (head); \ | ^ parser.c:971:41: note: in expansion of macro 'list_for_each_entry' 971 | list_for_each_entry(tmp_list, | ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:41:20: note: in expansion of macro 'list_entry' 41 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ parser.c:971:41: note: in expansion of macro 'list_for_each_entry' 971 | list_for_each_entry(tmp_list, | ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:39:20: note: in expansion of macro 'list_entry' 39 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ parser.c:980:41: note: in expansion of macro 'list_for_each_entry' 980 | list_for_each_entry(tmp_list, | ^~~~~~~~~~~~~~~~~~~ list.h:40:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] 40 | pos->member.next, &pos->member != (head); \ | ^ parser.c:980:41: note: in expansion of macro 'list_for_each_entry' 980 | list_for_each_entry(tmp_list, | ^~~~~~~~~~~~~~~~~~~ list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 29 | #define offsetof(type, member) ((int) &((type *)0)->member) | ^ list.h:33:35: note: in expansion of macro 'offsetof' 33 | (type *)((char *)__mptr - offsetof(type, member)); }) | ^~~~~~~~ list.h:36:9: note: in expansion of macro 'container_of' 36 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:41:20: note: in expansion of macro 'list_entry' 41 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ parser.c:980:41: note: in expansion of macro 'list_for_each_entry' 980 | list_for_each_entry(tmp_list, | ^~~~~~~~~~~~~~~~~~~ parser.c: In function 'init_config': parser.c:997:22: warning: unused variable 'tmp_cont' [-Wunused-variable] 997 | container_t *tmp_cont; | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c ffsb_fc.c parser.c: In function 'get_optstr': parser.c:206:23: warning: 'strnlen' specified bound 4096 exceeds source size 1024 [-Wstringop-overread] 206 | len = strnlen(temp, 4096); | ^~~~~~~~~~~~~~~~~~~ parser.c:200:14: note: source object allocated here 200 | char temp[BUFSIZE]; | ^~~~ In file included from /usr/include/string.h:535, from parser.c:19: In function 'memcpy', inlined from 'size64_convert' at parser.c:119:2: /usr/include/bits/string_fortified.h:29:10: warning: 'memcpy' forming offset 2 is out of the bounds [0, 2] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c ffsb_stats.c parser.c: In function 'set_weight': parser.c:623:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 623 | strncpy (op, tmp_config->name, len - 7); | ^ parser.c:620:31: note: length computed here 620 | len = strlen(tmp_config->name); | ^~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'get_weight_total': parser.c:645:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 645 | strncpy (op, tmp_config->name, len - 7); | ^ parser.c:642:31: note: length computed here 642 | len = strlen(tmp_config->name); | ^~~~~~~~~~~~~~~~~~~~~~~~ In function 'get_value', inlined from 'get_config_str' at parser.c:532:9, inlined from 'init_threadgroup' at parser.c:824:7: parser.c:518:22: warning: 'tmp_config' may be used uninitialized [-Wmaybe-uninitialized] 518 | while (config->name) { | ~~~~~~^~~~~~ parser.c: In function 'init_threadgroup': parser.c:816:35: note: 'tmp_config' was declared here 816 | config_options_t *tmp_config; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -c list.c In function 'get_value', inlined from 'get_config_str' at parser.c:532:9, inlined from 'init_filesys' at parser.c:876:7, inlined from 'init_config' at parser.c:1009:3, inlined from 'ffsb_parse_newconfig' at parser.c:1033:2: parser.c:518:22: warning: 'tmp_config' may be used uninitialized [-Wmaybe-uninitialized] 518 | while (config->name) { | ~~~~~~^~~~~~ parser.c: In function 'ffsb_parse_newconfig': parser.c:868:35: note: 'tmp_config' was declared here 868 | config_options_t *tmp_config; | ^~~~~~~~~~ gcc -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_REENTRANT -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 parser.c: In function 'get_optstr': parser.c:206:23: warning: 'strnlen' specified bound 4096 exceeds source size 1024 [-Wstringop-overread] 206 | len = strnlen(temp, 4096); | ^ parser.c:200:14: note: source object allocated here 200 | char temp[BUFSIZE]; | ^ In function 'memcpy', inlined from 'size64_convert' at parser.c:119:2: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 3 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ make[1]: Leaving directory '/builddir/build/BUILD/ffsb-6.0-rc2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0ao8Sj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ffsb-6.0-rc2 + rm -rf /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 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.23.rc2.fc38.x86_64/usr/bin" /usr/bin/install -c 'ffsb' '/builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/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/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 6.0-0.23.rc2.fc38 --unique-debug-suffix -6.0-0.23.rc2.fc38.x86_64 --unique-debug-src-base ffsb-6.0-0.23.rc2.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ffsb-6.0-rc2 extracting debug info from /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/usr/bin/ffsb original debug info size: 360kB, size after compression: 304kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 411 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ffsb-6.0-0.23.rc2.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SmzTyP + umask 022 + cd /builddir/build/BUILD + cd ffsb-6.0-rc2 + DOCDIR=/builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/usr/share/doc/ffsb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/usr/share/doc/ffsb + cp -pr AUTHORS /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/usr/share/doc/ffsb + cp -pr COPYING /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/usr/share/doc/ffsb + cp -pr README /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/usr/share/doc/ffsb + cp -pr examples /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64/usr/share/doc/ffsb + RPM_EC=0 ++ jobs -p + exit 0 Provides: ffsb = 6.0-0.23.rc2.fc38 ffsb(x86-64) = 6.0-0.23.rc2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: ffsb-debugsource-6.0-0.23.rc2.fc38.x86_64 Provides: ffsb-debugsource = 6.0-0.23.rc2.fc38 ffsb-debugsource(x86-64) = 6.0-0.23.rc2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ffsb-debuginfo-6.0-0.23.rc2.fc38.x86_64 Provides: debuginfo(build-id) = e298eafa23c621995835873dd5565d3da40fc8dc ffsb-debuginfo = 6.0-0.23.rc2.fc38 ffsb-debuginfo(x86-64) = 6.0-0.23.rc2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ffsb-debugsource(x86-64) = 6.0-0.23.rc2.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 Wrote: /builddir/build/RPMS/ffsb-debuginfo-6.0-0.23.rc2.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ffsb-debugsource-6.0-0.23.rc2.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ffsb-6.0-0.23.rc2.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Q32KaY + umask 022 + cd /builddir/build/BUILD + cd ffsb-6.0-rc2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ffsb-6.0-0.23.rc2.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Y6wezw + umask 022 + cd /builddir/build/BUILD + rm -rf ffsb-6.0-rc2 ffsb-6.0-rc2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0