Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ubdsrv.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672349368.299019/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xnnjqd3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.xnnjqd3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'f6533f466630452db82a2f7910cbefb0', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672349368.299019/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xnnjqd3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --nodeps /builddir/build/SPECS/ubdsrv.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1670544000 Wrote: /builddir/build/SRPMS/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ubdsrv.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672349368.299019/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xnnjqd3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.xnnjqd3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '20f58e0bd66548238d53b1ef878d3c83', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672349368.299019/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xnnjqd3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --nodeps /builddir/build/SPECS/ubdsrv.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1670544000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5sOyhw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hzIzBt + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + autoreconf -f -i libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:10: installing './compile' configure.ac:15: installing './config.guess' configure.ac:15: installing './config.sub' configure.ac:14: installing './install-sh' configure.ac:14: installing './missing' Makefile.am: installing './depcomp' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 --- ./configure.backup 2022-12-29 21:32:31.807481825 +0000 +++ ./configure 2022-12-29 21:32:32.987447525 +0000 @@ -1737,7 +1737,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 --- ./configure.backup 2022-12-29 21:32:32.987447525 +0000 +++ ./configure 2022-12-29 21:32:33.017446653 +0000 @@ -7488,7 +7488,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -19996,7 +19996,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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 + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for powerpc64le-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for powerpc64le-redhat-linux-gnu-file... no checking for file... file checking for powerpc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for powerpc64le-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for powerpc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for powerpc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7494: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for powerpc64le-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for powerpc64le-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for powerpc64le-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBURING... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating tests/Makefile config.status: creating ublksrv.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make V=1 -j5 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' Making all in include make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/include' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libublksrv_la-ublksrv_cmd.lo `test -f 'ublksrv_cmd.c' || echo './'`ublksrv_cmd.c /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libublksrv_la-ublksrv_json.lo `test -f 'ublksrv_json.cpp' || echo './'`ublksrv_json.cpp /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libublksrv_la-ublksrv.lo `test -f 'ublksrv.c' || echo './'`ublksrv.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libublksrv_la-utils.lo `test -f 'utils.c' || echo './'`utils.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libublksrv_la-ublksrv_aio.lo `test -f 'ublksrv_aio.c' || echo './'`ublksrv_aio.c libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ublksrv_json.cpp -fPIC -DPIC -o .libs/libublksrv_la-ublksrv_json.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ublksrv_aio.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv_aio.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ublksrv.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c utils.c -fPIC -DPIC -o .libs/libublksrv_la-utils.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DUBLKSRV_INTERNAL_H_ -pthread -DUBLKSRV_INTERNAL_H_ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ublksrv_cmd.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv_cmd.o ublksrv.c: In function 'ublksrv_tgt_init': ublksrv.c:100:13: warning: unused variable 'i' [-Wunused-variable] 100 | int i; | ^ ublksrv.c: In function 'ublksrv_dev_init_io_cmds': ublksrv.c:364:30: warning: unused variable 'sqe' [-Wunused-variable] 364 | struct io_uring_sqe *sqe; | ^~~ ublksrv.c: In function 'ublksrv_dev_deinit': ublksrv.c:692:13: warning: unused variable 'i' [-Wunused-variable] 692 | int i; | ^ ublksrv.c:691:13: warning: unused variable 'dev_id' [-Wunused-variable] 691 | int dev_id = dev->ctrl_dev->dev_info.dev_id; | ^~~~~~ ublksrv.c: In function 'ublksrv_dev_init': ublksrv.c:715:13: warning: unused variable 'i' [-Wunused-variable] 715 | int i; | ^ ublksrv.c:712:13: warning: unused variable 'queue_size' [-Wunused-variable] 712 | int queue_size; | ^~~~~~~~~~ ublksrv.c:710:13: warning: unused variable 'nr_queues' [-Wunused-variable] 710 | int nr_queues = ctrl_dev->dev_info.nr_hw_queues; | ^~~~~~~~~ ublksrv.c: At top level: ublksrv.c:56:14: warning: 'ublksrv_io_handler_fn' declared 'static' but never defined [-Wunused-function] 56 | static void *ublksrv_io_handler_fn(void *data); | ^~~~~~~~~~~~~~~~~~~~~ ublksrv.c: In function 'ublksrv_submit_aio_batch': ublksrv.c:904:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 904 | write(ctx->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ublksrv.c: In function 'ublksrv_kill_eventfd': ublksrv.c:459:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 459 | write(q->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ublksrv.c: In function 'ublksrv_apply_oom_protection': ublksrv.c:977:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 977 | write(fd, val, len); | ^~~~~~~~~~~~~~~~~~~ ublksrv_aio.c: In function 'ublksrv_aio_submit_worker': ublksrv_aio.c:29:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 29 | while (req = aio_list_pop(&sl)) { | ^~~ ublksrv_aio.c: In function 'ublksrv_aio_complete_worker': ublksrv_aio.c:100:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 100 | while (req = aio_list_pop(completed)) { | ^~~ ublksrv_aio.c:95:42: warning: unused variable 'compl' [-Wunused-variable] 95 | struct ublksrv_aio_list *compl; | ^~~~~ ublksrv_aio.c: In function 'ublksrv_aio_ctx_init': ublksrv_aio.c:121:13: warning: unused variable 'ret' [-Wunused-variable] 121 | int ret, i; | ^~~ ublksrv_aio.c: In function 'ublksrv_aio_handle_event': ublksrv_aio.c:233:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 233 | while (req = aio_list_pop(&al)) { | ^~~ ublksrv_aio.c: In function 'ublksrv_aio_submit_worker': ublksrv_aio.c:46:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | read(ctx->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~ ublksrv_aio.c: In function 'ublksrv_aio_ctx_shutdown': ublksrv_aio.c:154:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | write(ctx->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ublksrv_aio.c: In function 'ublksrv_aio_submit_req': ublksrv_aio.c:206:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | write(ctx->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ublksrv_cmd.c: In function '__ublksrv_ctrl_cmd': ublksrv_cmd.c:82:71: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 82 | ublksrv_printf(stdout, "dev %d, ctrl cqe res %d, user_data %llx\n", | ~~~^ | | | long long unsigned int | %lx 83 | dev->dev_info.dev_id, cqe->res, cqe->user_data); | ~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} ublksrv_cmd.c: In function 'ublksrv_ctrl_dump': ublksrv_cmd.c:275:89: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 275 | printf("dev id %d: nr_hw_queues %d queue_depth %d block size %d dev_capacity %lld\n", | ~~~^ | | | long long int | %ld ...... 278 | 1 << p.basic.logical_bs_shift, p.basic.dev_sectors); | ~~~~~~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} ublksrv_cmd.c:279:59: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 279 | printf("\tmax rq size %d daemon pid %d flags 0x%llx state %s\n", | ~~~^ | | | long long unsigned int | %lx 280 | info->max_io_buf_bytes, 281 | info->ublksrv_pid, info->flags, | ~~~~~~~~~~~ | | | __u64 {aka long unsigned int} ublksrv.c: In function 'ublksrv_queue_io_cmd': ublksrv.c:164:12: warning: 'cmd_op' may be used uninitialized [-Wmaybe-uninitialized] 164 | if (cmd_op == UBLK_IO_COMMIT_AND_FETCH_REQ) | ^ ublksrv.c:135:22: note: 'cmd_op' was declared here 135 | unsigned int cmd_op; | ^~~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_write_params(const ublk_params*, char*, int)': ublksrv_json.cpp:108:13: warning: unused variable 'j_len' [-Wunused-variable] 108 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_read_params(ublk_params*, const char*)': ublksrv_json.cpp:122:13: warning: unused variable 'j_len' [-Wunused-variable] 122 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_dump_params(const char*)': ublksrv_json.cpp:138:13: warning: unused variable 'j_len' [-Wunused-variable] 138 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_read_target_str_info(const char*, int, const char*, char*)': ublksrv_json.cpp:168:26: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 168 | if (str.length() < len) { | ~~~~~~~~~~~~~^~~~~ ublksrv_json.cpp:155:13: warning: unused variable 'j_len' [-Wunused-variable] 155 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_read_target_ulong_info(const char*, const char*, long int*)': ublksrv_json.cpp:181:13: warning: unused variable 'j_len' [-Wunused-variable] 181 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_write_target_str_info(char*, int, const char*, const char*)': ublksrv_json.cpp:203:13: warning: unused variable 'j_len' [-Wunused-variable] 203 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_write_target_long_info(char*, int, const char*, long int)': ublksrv_json.cpp:217:13: warning: unused variable 'j_len' [-Wunused-variable] 217 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_write_target_ulong_info(char*, int, const char*, long unsigned int)': ublksrv_json.cpp:231:13: warning: unused variable 'j_len' [-Wunused-variable] 231 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_write_target_base_info(char*, int, const ublksrv_tgt_base_json*)': ublksrv_json.cpp:245:13: warning: unused variable 'j_len' [-Wunused-variable] 245 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_read_target_base_info(const char*, ublksrv_tgt_base_json*)': ublksrv_json.cpp:261:13: warning: unused variable 'j_len' [-Wunused-variable] 261 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_write_queue_info(const ublksrv_ctrl_dev*, char*, int, int, int)': ublksrv_json.cpp:303:13: warning: unused variable 'j_len' [-Wunused-variable] 303 | int j_len; | ^~~~~ ublksrv_json.cpp: In function 'int ublksrv_json_read_queue_info(const char*, int, unsigned int*, char*, int)': ublksrv_json.cpp:336:26: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 336 | if (str.length() < len) { | ~~~~~~~~~~~~~^~~~~ In file included from ublksrv_json.cpp:6: In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, int&, 0>(std::__cxx11::basic_string, std::allocator > const&, int&) conststd::decay::type', inlined from 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value(char const*, int&) conststd::decay::type' at ../include/nlohmann/json.hpp:21078:21, inlined from 'from_json(nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > > const&, ublksrv_ctrl_dev_info&)' at ublksrv_json.cpp:33:1: ../include/nlohmann/json.hpp:21056:57: warning: 'nlohmann_json_default_obj' may be used uninitialized [-Wmaybe-uninitialized] 21056 | return std::forward(default_value); | ^ ublksrv_json.cpp: In function 'from_json(nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > > const&, ublksrv_ctrl_dev_info&)': ../include/nlohmann/json.hpp:2664:96: note: 'nlohmann_json_default_obj' declared here 2664 | inline void from_json(const nlohmann::json& nlohmann_json_j, Type& nlohmann_json_t) { Type nlohmann_json_default_obj; NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_FROM_WITH_DEFAULT, __VA_ARGS__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -version-info 0:0:0 -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 libublksrv.la -rpath /usr/lib64 libublksrv_la-ublksrv_cmd.lo libublksrv_la-ublksrv_json.lo libublksrv_la-ublksrv.lo libublksrv_la-utils.lo libublksrv_la-ublksrv_aio.lo -luring -lpthread libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/ppc64le-redhat-linux/13/../../../../lib64/crti.o /usr/lib/gcc/ppc64le-redhat-linux/13/crtbeginS.o .libs/libublksrv_la-ublksrv_cmd.o .libs/libublksrv_la-ublksrv_json.o .libs/libublksrv_la-ublksrv.o .libs/libublksrv_la-utils.o .libs/libublksrv_la-ublksrv_aio.o -luring -lpthread -L/usr/lib/gcc/ppc64le-redhat-linux/13 -L/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/ppc64le-redhat-linux/13/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/ppc64le-redhat-linux/13/crtendS.o /usr/lib/gcc/ppc64le-redhat-linux/13/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,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 -Wl,-soname -Wl,libublksrv.so.0 -o .libs/libublksrv.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libublksrv.so.0" && ln -s "libublksrv.so.0.0.0" "libublksrv.so.0") libtool: link: (cd ".libs" && rm -f "libublksrv.so" && ln -s "libublksrv.so.0.0.0" "libublksrv.so") libtool: link: ( cd ".libs" && rm -f "libublksrv.la" && ln -s "../libublksrv.la" "libublksrv.la" ) make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/lib' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/tests' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' gcc -DHAVE_CONFIG_H -I. -pthread -I./include -pthread -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o demo_null-demo_null.o `test -f 'demo_null.c' || echo './'`demo_null.c gcc -DHAVE_CONFIG_H -I. -pthread -I./include -pthread -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o demo_event-demo_event.o `test -f 'demo_event.c' || echo './'`demo_event.c g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ublk-ublksrv_tgt.o `test -f 'ublksrv_tgt.cpp' || echo './'`ublksrv_tgt.cpp g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ublk-tgt_null.o `test -f 'tgt_null.cpp' || echo './'`tgt_null.cpp g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ublk-tgt_loop.o `test -f 'tgt_loop.cpp' || echo './'`tgt_loop.cpp /bin/sh ./libtool --tag=CC --mode=link gcc -pthread -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 demo_null demo_null-demo_null.o lib/libublksrv.la -luring -lpthread libtool: link: gcc -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,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 .libs/demo_null demo_null-demo_null.o lib/.libs/libublksrv.so -luring -lpthread -pthread g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcow2/ublk-tgt_qcow2.o `test -f 'qcow2/tgt_qcow2.cpp' || echo './'`qcow2/tgt_qcow2.cpp g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcow2/ublk-qcow2.o `test -f 'qcow2/qcow2.cpp' || echo './'`qcow2/qcow2.cpp ublksrv_tgt.cpp: In function 'void ublksrv_drain_fetch_commands(const ublksrv_dev*, ublksrv_queue_info*)': ublksrv_tgt.cpp:327:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 327 | for (i = 0; i < nr_queues; i++) | ~~^~~~~~~~~~~ ublksrv_tgt.cpp: In function 'int __cmd_dev_user_recover(int, bool)': ublksrv_tgt.cpp:900:29: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 900 | if (dev_info.dev_id != number) { | ~~~~~~~~~~~~~~~~^~~~~~~~~ tgt_loop.cpp: In function 'int loop_queue_tgt_io(const ublksrv_queue*, const ublk_io_data*, int)': tgt_loop.cpp:296:57: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 296 | ublksrv_log(LOG_INFO, "%s: tag %d ublk io %x %llx %u\n", __func__, tag, | ~~~^ | | | long long unsigned int | %lx 297 | iod->op_flags, iod->start_sector, iod->nr_sectors << 9); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int tgt_loop.cpp:298:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 298 | ublksrv_log(LOG_INFO, "%s: queue io op %d(%llu %x %llx)" | ~~~^ | | | long long unsigned int | %lu 299 | " (qid %d tag %u, cmd_op %u target: %d, user_data %llx)\n", 300 | __func__, ublk_op, sqe->off, sqe->len, sqe->addr, | ~~~~~~~~ | | | __u64 {aka long unsigned int} tgt_loop.cpp:298:62: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 7 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 298 | ublksrv_log(LOG_INFO, "%s: queue io op %d(%llu %x %llx)" | ~~~^ | | | long long unsigned int | %lx 299 | " (qid %d tag %u, cmd_op %u target: %d, user_data %llx)\n", 300 | __func__, ublk_op, sqe->off, sqe->len, sqe->addr, | ~~~~~~~~~ | | | __u64 {aka long unsigned int} tgt_loop.cpp:299:86: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 12 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 299 | " (qid %d tag %u, cmd_op %u target: %d, user_data %llx)\n", | ~~~^ | | | long long unsigned int | %lx 300 | __func__, ublk_op, sqe->off, sqe->len, sqe->addr, 301 | q->q_id, tag, ublk_op, 1, sqe->user_data); | ~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} ublksrv_tgt.cpp: In function 'int start_daemon(void (*)(void*), void*)': ublksrv_tgt.cpp:110:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | getcwd(path, PATH_MAX); | ~~~~~~^~~~~~~~~~~~~~~~ ublksrv_tgt.cpp:118:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | chdir(path); | ~~~~~^~~~~~ g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcow2/ublk-qcow2_meta.o `test -f 'qcow2/qcow2_meta.cpp' || echo './'`qcow2/qcow2_meta.cpp g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcow2/ublk-utils.o `test -f 'qcow2/utils.cpp' || echo './'`qcow2/utils.cpp ublksrv_tgt.cpp: In function 'main': ublksrv_tgt.cpp:1006:16: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1006 | strncpy(exe, full_cmd, PATH_MAX); | ^ g++ -DHAVE_CONFIG_H -I. -pthread -I./include -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcow2/ublk-qcow2_flush_meta.o `test -f 'qcow2/qcow2_flush_meta.cpp' || echo './'`qcow2/qcow2_flush_meta.cpp In file included from qcow2/qcow2.h:16, from qcow2/tgt_qcow2.cpp:4: qcow2/qcow2_meta.h: In member function 'uint32_t Qcow2TopTable::dirty_blks()': qcow2/qcow2_meta.h:435:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 435 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.h: In member function 'int Qcow2TopTable::get_1st_dirty_blk()': qcow2/qcow2_meta.h:446:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 446 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2.h: In member function 'bool Qcow2ClusterMapping::__entry_is_allocating(uint64_t)': qcow2/qcow2.h:215:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 215 | return state != -1; | ~~~~~~^~~~~ In file included from qcow2/tgt_qcow2.cpp:2: qcow2/qcow2.h: In member function 'uint32_t Qcow2ClusterMapping::entry_get_alloc_owner(uint64_t, bool)': qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ In file included from /usr/include/c++/13/cassert:44, from /usr/include/c++/13/ppc64le-redhat-linux/bits/stdc++.h:107, from qcow2/qcow2.h:10: qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ In file included from qcow2/qcow2.h:16, from qcow2/qcow2.cpp:2: qcow2/qcow2_meta.h: In member function 'uint32_t Qcow2TopTable::dirty_blks()': qcow2/qcow2_meta.h:435:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 435 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.h: In member function 'int Qcow2TopTable::get_1st_dirty_blk()': qcow2/qcow2_meta.h:446:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 446 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2.h: In function 'int qcow2_meta_io_done(const ublksrv_queue*, const io_uring_cqe*)': qcow2/qcow2.h:732:85: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 732 | syslog(LOG_ERR, "%s target data is zero for meta io(tag %d op %u %llx)\n", | ~~~^ | | | long long unsigned int | %lx 733 | __func__, tag, op, cqe->user_data); | ~~~~~~~~~~~~~~ | | | long unsigned int qcow2/tgt_qcow2.cpp: In function 'co_io_job __qcow2_handle_io_async(const ublksrv_queue*, const ublk_io_data*, int)': qcow2/tgt_qcow2.cpp:385:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 385 | if (mapped_start == -1) { | ~~~~~~~~~~~~~^~~~~ qcow2/qcow2.h: In member function 'bool Qcow2ClusterMapping::__entry_is_allocating(uint64_t)': qcow2/qcow2.h:215:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 215 | return state != -1; | ~~~~~~^~~~~ In file included from qcow2/qcow2_common.h:5, from qcow2/qcow2_meta.h:5: qcow2/qcow2.h: In member function 'uint32_t Qcow2ClusterMapping::entry_get_alloc_owner(uint64_t, bool)': qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ In file included from ./include/ublksrv.h:7, from ./include/ublksrv_tgt.h:22: qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ qcow2/qcow2.h: In function 'int qcow2_meta_io_done(const ublksrv_queue*, const io_uring_cqe*)': qcow2/qcow2.h:732:85: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 732 | syslog(LOG_ERR, "%s target data is zero for meta io(tag %d op %u %llx)\n", | ~~~^ | | | long long unsigned int | %lx 733 | __func__, tag, op, cqe->user_data); | ~~~~~~~~~~~~~~ | | | long unsigned int qcow2/qcow2.cpp: In member function 'uint32_t Qcow2State::add_meta_io(uint32_t, Qcow2MappingMeta*)': qcow2/qcow2.cpp:111:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 111 | for (i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ qcow2/qcow2.cpp:114:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 114 | if (i < v.size()) { | ~~^~~~~~~~~~ qcow2/qcow2.cpp: In member function 'uint64_t Qcow2ClusterAllocator::allocate_cluster(const qcow2_io_ctx_t&)': qcow2/qcow2.cpp:698:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 698 | if (++slice_idx < cache.get_nr_slices()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ qcow2/qcow2.cpp: In member function 'Qcow2L2Table* Qcow2ClusterMapping::create_and_add_l2(const qcow2_io_ctx_t&, uint64_t)': qcow2/qcow2.cpp:797:24: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 797 | if (l2_cluster == -1) { | ~~~~~~~~~~~^~~~~ qcow2/qcow2.cpp: In member function 'int Qcow2ClusterMapping::build_mapping(const qcow2_io_ctx_t&, uint64_t, Qcow2L2Table*, uint32_t, uint64_t*)': qcow2/qcow2.cpp:908:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 908 | if (data_cluster == -1) { | ~~~~~~~~~~~~~^~~~~ In file included from qcow2/qcow2.h:16, from qcow2/utils.cpp:4: qcow2/qcow2_meta.h: In member function 'uint32_t Qcow2TopTable::dirty_blks()': qcow2/qcow2_meta.h:435:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 435 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.h: In member function 'int Qcow2TopTable::get_1st_dirty_blk()': qcow2/qcow2_meta.h:446:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 446 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2.h: In member function 'bool Qcow2ClusterMapping::__entry_is_allocating(uint64_t)': qcow2/qcow2.h:215:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 215 | return state != -1; | ~~~~~~^~~~~ In file included from qcow2/qcow2_common.h:5, from qcow2/qcow2_meta.h:5: qcow2/qcow2.h: In member function 'uint32_t Qcow2ClusterMapping::entry_get_alloc_owner(uint64_t, bool)': qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ In file included from ./include/ublksrv.h:7, from ./include/ublksrv_tgt.h:22: qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ qcow2/qcow2.h: In function 'int qcow2_meta_io_done(const ublksrv_queue*, const io_uring_cqe*)': qcow2/qcow2.h:732:85: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 732 | syslog(LOG_ERR, "%s target data is zero for meta io(tag %d op %u %llx)\n", | ~~~^ | | | long long unsigned int | %lx 733 | __func__, tag, op, cqe->user_data); | ~~~~~~~~~~~~~~ | | | long unsigned int In file included from qcow2/qcow2.h:16, from qcow2/qcow2_flush_meta.cpp:2: qcow2/qcow2_meta.h: In member function 'uint32_t Qcow2TopTable::dirty_blks()': qcow2/qcow2_meta.h:435:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 435 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.h: In member function 'int Qcow2TopTable::get_1st_dirty_blk()': qcow2/qcow2_meta.h:446:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 446 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2.h: In member function 'bool Qcow2ClusterMapping::__entry_is_allocating(uint64_t)': qcow2/qcow2.h:215:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 215 | return state != -1; | ~~~~~~^~~~~ In file included from qcow2/qcow2_common.h:5, from qcow2/qcow2_meta.h:5: qcow2/qcow2.h: In member function 'uint32_t Qcow2ClusterMapping::entry_get_alloc_owner(uint64_t, bool)': qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ In file included from ./include/ublksrv.h:7, from ./include/ublksrv_tgt.h:22: qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ In file included from qcow2/qcow2.h:16, from qcow2/qcow2_meta.cpp:4: qcow2/qcow2_meta.h: In member function 'uint32_t Qcow2TopTable::dirty_blks()': qcow2/qcow2_meta.h:435:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 435 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.h: In member function 'int Qcow2TopTable::get_1st_dirty_blk()': qcow2/qcow2_meta.h:446:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 446 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2.h: In function 'int qcow2_meta_io_done(const ublksrv_queue*, const io_uring_cqe*)': qcow2/qcow2.h:732:85: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 732 | syslog(LOG_ERR, "%s target data is zero for meta io(tag %d op %u %llx)\n", | ~~~^ | | | long long unsigned int | %lx 733 | __func__, tag, op, cqe->user_data); | ~~~~~~~~~~~~~~ | | | long unsigned int qcow2/qcow2_flush_meta.cpp: In member function 'void MetaFlushingState::__prep_write_slice(Qcow2State&, const ublksrv_queue*)': qcow2/qcow2_flush_meta.cpp:237:46: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 237 | qcow2_assert(idx >= 0 && idx < top.get_nr_entries()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2_flush_meta.cpp:237:17: note: in expansion of macro 'qcow2_assert' 237 | qcow2_assert(idx >= 0 && idx < top.get_nr_entries()); | ^~~~~~~~~~~~ qcow2/qcow2_flush_meta.cpp:237:46: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 237 | qcow2_assert(idx >= 0 && idx < top.get_nr_entries()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2_flush_meta.cpp:237:17: note: in expansion of macro 'qcow2_assert' 237 | qcow2_assert(idx >= 0 && idx < top.get_nr_entries()); | ^~~~~~~~~~~~ qcow2/qcow2_flush_meta.cpp: In member function 'void MetaFlushingState::run_flush(Qcow2State&, const ublksrv_queue*, int)': qcow2/qcow2_flush_meta.cpp:363:53: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 363 | if (top_blk_idx >= 0 && top_blk_idx < top.dirty_blk_size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ qcow2/qcow2_flush_meta.cpp: In constructor 'Qcow2MetaFlushing::Qcow2MetaFlushing(Qcow2State&)': qcow2/qcow2_flush_meta.cpp:537:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 537 | for (int i = 0; i < tags.size(); i++) | ~~^~~~~~~~~~~~~ qcow2/qcow2_flush_meta.cpp: In member function 'void Qcow2MetaFlushing::free_tag(const ublksrv_queue*, int)': qcow2/qcow2_flush_meta.cpp:554:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 554 | qcow2_assert(tag >= depth && tag < depth + tags.size()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2_flush_meta.cpp:554:9: note: in expansion of macro 'qcow2_assert' 554 | qcow2_assert(tag >= depth && tag < depth + tags.size()); | ^~~~~~~~~~~~ qcow2/qcow2_flush_meta.cpp:554:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 554 | qcow2_assert(tag >= depth && tag < depth + tags.size()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2_flush_meta.cpp:554:9: note: in expansion of macro 'qcow2_assert' 554 | qcow2_assert(tag >= depth && tag < depth + tags.size()); | ^~~~~~~~~~~~ qcow2/qcow2.h: In member function 'bool Qcow2ClusterMapping::__entry_is_allocating(uint64_t)': qcow2/qcow2.h:215:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 215 | return state != -1; | ~~~~~~^~~~~ In file included from qcow2/qcow2_common.h:5, from qcow2/qcow2_meta.h:5: qcow2/qcow2.h: In member function 'uint32_t Qcow2ClusterMapping::entry_get_alloc_owner(uint64_t, bool)': qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ In file included from ./include/ublksrv.h:7, from ./include/ublksrv_tgt.h:22: qcow2/qcow2.h:268:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 268 | qcow2_assert(state != -1); | ~~~~~~^~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2.h:268:17: note: in expansion of macro 'qcow2_assert' 268 | qcow2_assert(state != -1); | ^~~~~~~~~~~~ qcow2/qcow2.h: In function 'int qcow2_meta_io_done(const ublksrv_queue*, const io_uring_cqe*)': qcow2/qcow2.h:732:85: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 732 | syslog(LOG_ERR, "%s target data is zero for meta io(tag %d op %u %llx)\n", | ~~~^ | | | long long unsigned int | %lx 733 | __func__, tag, op, cqe->user_data); | ~~~~~~~~~~~~~~ | | | long unsigned int qcow2/qcow2_meta.cpp: In member function 'virtual int Qcow2Meta::flush(Qcow2State&, const qcow2_io_ctx_t&, uint64_t, uint32_t)': qcow2/qcow2_meta.cpp:100:17: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 100 | if (len != ret) | ~~~~^~~~~~ qcow2/qcow2_meta.cpp: In constructor 'Qcow2HeaderExtFeatureNameTable::Qcow2HeaderExtFeatureNameTable(char*, uint64_t)': qcow2/qcow2_meta.cpp:121:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 0; i < __a.size(); i++) { | ~~^~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'virtual void Qcow2HeaderExtFeatureNameTable::dump() const': qcow2/qcow2_meta.cpp:133:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] 133 | for (int i = 0; i < __a.size(); i++) | ~~^~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'int Qcow2Header::populate()': qcow2/qcow2_meta.cpp:238:28: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 238 | start += 8 + (ext.len + 7) & ~0x7ULL; | ~~^~~~~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In constructor 'Qcow2TopTable::Qcow2TopTable(Qcow2State&, uint64_t, uint32_t, const char*, uint32_t)': qcow2/qcow2_meta.cpp:377:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 377 | for (int i = 0; i < dirty.size(); i++) | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'virtual int Qcow2TopTable::flush(Qcow2State&, const qcow2_io_ctx_t&, uint64_t, uint32_t)': qcow2/qcow2_meta.cpp:422:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 422 | qcow2_assert(len == 512 && blk_idx < dirty.size()); | ~~~~~~~~^~~~~~~~~~~~~~ ./include/ublksrv_tgt.h:25:15: note: in definition of macro 'ublk_assert' 25 | if (!(x)) { \ | ^ qcow2/qcow2_meta.cpp:422:9: note: in expansion of macro 'qcow2_assert' 422 | qcow2_assert(len == 512 && blk_idx < dirty.size()); | ^~~~~~~~~~~~ qcow2/qcow2_meta.cpp:422:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 422 | qcow2_assert(len == 512 && blk_idx < dirty.size()); | ~~~~~~~~^~~~~~~~~~~~~~ qcow2/qcow2_common.h:7:26: note: in expansion of macro 'ublk_assert' 7 | #define qcow2_assert(x) ublk_assert(x) | ^~~~~~~~~~~ qcow2/qcow2_meta.cpp:422:9: note: in expansion of macro 'qcow2_assert' 422 | qcow2_assert(len == 512 && blk_idx < dirty.size()); | ^~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'void Qcow2L1Table::dump()': qcow2/qcow2_meta.cpp:496:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 496 | for (int i = 0; i < header.get_l1_size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'void Qcow2RefcountTable::dump()': qcow2/qcow2_meta.cpp:539:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 539 | for (int i = 0; i < data_len / 8; i++) { | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'virtual int Qcow2SliceMeta::load(Qcow2State&, const qcow2_io_ctx_t&, uint32_t, bool)': qcow2/qcow2_meta.cpp:669:54: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 669 | ublksrv_log(LOG_INFO, "%s: queue io op %d(%llx %x %llx)" | ~~~^ | | | long long unsigned int | %lx 670 | " (qid %d tag %u, cmd_op %u target: %d tgt_data %d)\n", 671 | __func__, sqe->opcode, sqe->off, sqe->len, sqe->addr, | ~~~~~~~~ | | | __u64 {aka long unsigned int} qcow2/qcow2_meta.cpp:669:62: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 7 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 669 | ublksrv_log(LOG_INFO, "%s: queue io op %d(%llx %x %llx)" | ~~~^ | | | long long unsigned int | %lx 670 | " (qid %d tag %u, cmd_op %u target: %d tgt_data %d)\n", 671 | __func__, sqe->opcode, sqe->off, sqe->len, sqe->addr, | ~~~~~~~~~ | | | __u64 {aka long unsigned int} qcow2/qcow2_meta.cpp: In member function 'virtual void Qcow2SliceMeta::wait_clusters(Qcow2State&, const qcow2_io_ctx_t&)': qcow2/qcow2_meta.cpp:798:61: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 798 | cluster_off = virt_offset() + (u64)i << qs.header.cluster_bits; | ~~~~~~~~~~~~~~^~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'void Qcow2SliceMeta::reclaim_me()': qcow2/qcow2_meta.cpp:826:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 826 | for (int i = 0; i < queues; i++) { | ~~^~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -pthread -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 demo_event demo_event-demo_event.o lib/libublksrv.la -luring -lpthread libtool: link: gcc -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,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 .libs/demo_event demo_event-demo_event.o lib/.libs/libublksrv.so -luring -lpthread -pthread qcow2/qcow2_meta.cpp: In member function 'Qcow2Header::Qcow2Header(Qcow2State&)': qcow2/qcow2_meta.cpp:139:56: warning: 'this_9(D)->qs' is used uninitialized [-Wuninitialized] 139 | Qcow2Header::Qcow2Header(Qcow2State &state): Qcow2Meta(qs.header, 0, 4096, | ^~ /bin/sh ./libtool --tag=CXX --mode=link g++ -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 ublk ublk-ublksrv_tgt.o ublk-tgt_null.o ublk-tgt_loop.o qcow2/ublk-tgt_qcow2.o qcow2/ublk-qcow2.o qcow2/ublk-qcow2_meta.o qcow2/ublk-utils.o qcow2/ublk-qcow2_flush_meta.o lib/libublksrv.la -luring -lpthread libtool: link: g++ -fcoroutines -std=c++20 -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,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 .libs/ublk ublk-ublksrv_tgt.o ublk-tgt_null.o ublk-tgt_loop.o qcow2/ublk-tgt_qcow2.o qcow2/ublk-qcow2.o qcow2/ublk-qcow2_meta.o qcow2/ublk-utils.o qcow2/ublk-qcow2_flush_meta.o lib/.libs/libublksrv.so -luring -lpthread make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u34CVd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le 'INSTALL=/usr/bin/install -p' Making install in include make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/include' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/include' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/include' /usr/bin/install -p -m 644 ublksrv.h ublk_cmd.h ublksrv_aio.h ublksrv_utils.h '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/include' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/include' Making install in lib make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/lib' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libublksrv.la '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64' libtool: install: /usr/bin/install -p .libs/libublksrv.so.0.0.0 /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64/libublksrv.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64 && { ln -s -f libublksrv.so.0.0.0 libublksrv.so.0 || { rm -f libublksrv.so.0 && ln -s libublksrv.so.0.0.0 libublksrv.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64 && { ln -s -f libublksrv.so.0.0.0 libublksrv.so || { rm -f libublksrv.so && ln -s libublksrv.so.0.0.0 libublksrv.so; }; }) libtool: install: /usr/bin/install -p .libs/libublksrv.lai /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64/libublksrv.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/lib' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/lib' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/tests' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/tests' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467/tests' make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -p ublk '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/sbin' libtool: warning: 'lib/libublksrv.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ublk /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/sbin/ublk /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 ublksrv.pc '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467' + rm /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64/libublksrv.la + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.0-3.rc6.20221228git483d710.fc38 --unique-debug-suffix -1.0-3.rc6.20221228git483d710.fc38.ppc64le --unique-debug-src-base ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 extracting debug info from /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/lib64/libublksrv.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/sbin/ublk original debug info size: 6272kB, size after compression: 5760kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2262 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: ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pSIyQ4 + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + DOCDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/doc/ubdsrv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/doc/ubdsrv + cp -pr README.rst /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/doc/ubdsrv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sLpcnU + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + LICENSEDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv + cp -pr COPYING /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv + cp -pr LICENSE /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv + RPM_EC=0 ++ jobs -p + exit 0 Provides: libublksrv.so.0()(64bit) ubdsrv = 1.0-3.rc6.20221228git483d710.fc38 ubdsrv(ppc-64) = 1.0-3.rc6.20221228git483d710.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.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libublksrv.so.0()(64bit) liburing.so.2()(64bit) liburing.so.2(LIBURING_2.0)(64bit) liburing.so.2(LIBURING_2.1)(64bit) liburing.so.2(LIBURING_2.2)(64bit) rtld(GNU_HASH) Processing files: ubdsrv-devel-1.0-3.rc6.20221228git483d710.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J3upQg + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + DOCDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/doc/ubdsrv-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/doc/ubdsrv-devel + cp -pr README.rst /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/doc/ubdsrv-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5nq7fJ + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + LICENSEDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv-devel + cp -pr COPYING /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv-devel + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv-devel + cp -pr LICENSE /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le/usr/share/licenses/ubdsrv-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(ublksrv) = 1.0 ubdsrv-devel = 1.0-3.rc6.20221228git483d710.fc38 ubdsrv-devel(ppc-64) = 1.0-3.rc6.20221228git483d710.fc38 ublksrv = 1.0-3.rc6.20221228git483d710.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libublksrv.so.0()(64bit) pkgconfig(liburing) Processing files: ubdsrv-debugsource-1.0-3.rc6.20221228git483d710.fc38.ppc64le Provides: ubdsrv-debugsource = 1.0-3.rc6.20221228git483d710.fc38 ubdsrv-debugsource(ppc-64) = 1.0-3.rc6.20221228git483d710.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ubdsrv-debuginfo-1.0-3.rc6.20221228git483d710.fc38.ppc64le Provides: debuginfo(build-id) = b50523ce86096c050ef3b5d586d9d7763cf978fa debuginfo(build-id) = db553586928ae690831bafdde7cacc736c889cd8 libublksrv.so.0.0.0-1.0-3.rc6.20221228git483d710.fc38.ppc64le.debug()(64bit) ubdsrv-debuginfo = 1.0-3.rc6.20221228git483d710.fc38 ubdsrv-debuginfo(ppc-64) = 1.0-3.rc6.20221228git483d710.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ubdsrv-debugsource(ppc-64) = 1.0-3.rc6.20221228git483d710.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le Wrote: /builddir/build/RPMS/ubdsrv-devel-1.0-3.rc6.20221228git483d710.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/ubdsrv-debugsource-1.0-3.rc6.20221228git483d710.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/ubdsrv-debuginfo-1.0-3.rc6.20221228git483d710.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b2rm65 + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WRmibW + umask 022 + cd /builddir/build/BUILD + rm -rf ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 ubdsrv-483d710ab8630304d13b59c2776f7386a566c467.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0