Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ubdsrv.spec'], chrootPath='/var/lib/mock/f38-build-701861-88857/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675728000 Wrote: /builddir/build/SRPMS/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ubdsrv.spec'], chrootPath='/var/lib/mock/f38-build-701861-88857/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675728000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SiS3Za + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 + /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.O5kytV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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-58401cf5614ec3ab2a69166e7f9b596f862de105 + autoreconf -f -i utils/genver.sh: line 4: git: command not found utils/genver.sh: line 4: git: command not found 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' utils/genver.sh: line 4: git: command not found utils/genver.sh: line 4: git: command not found utils/genver.sh: line 4: git: command not found configure.ac:13: installing './compile' configure.ac:20: installing './config.guess' configure.ac:20: installing './config.sub' configure.ac:19: installing './install-sh' configure.ac:19: installing './missing' Makefile.am: installing './depcomp' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 2023-03-28 03:40:29.440497410 -0400 +++ ./configure 2023-03-28 03:40:37.210518573 -0400 @@ -1763,7 +1763,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 2023-03-28 03:40:37.210518573 -0400 +++ ./configure 2023-03-28 03:40:37.390519063 -0400 @@ -7515,7 +7515,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'" @@ -20255,7 +20255,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=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for riscv64-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 whether make supports nested variables... yes 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 dependency style of gcc... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-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 riscv64-redhat-linux-gnu-file... no checking for file... file checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7521: -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 riscv64-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 riscv64-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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBURING... yes checking for io_uring_prep_sendmsg_zc... yes checking for GnuTLS... no checking whether Large File Support should be enabled... 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 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' Making all in include make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/include' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o libublksrv_la-utils.lo `test -f 'utils.c' || echo './'`utils.c 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c ublksrv_cmd.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv_cmd.o 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c ublksrv.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv.o /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o libublksrv_la-ublksrv_aio.lo `test -f 'ublksrv_aio.c' || echo './'`ublksrv_aio.c 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c ublksrv_aio.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv_aio.o ublksrv.c: In function 'ublksrv_queue_io_cmd': ublksrv.c:160:12: warning: 'cmd_op' may be used uninitialized [-Wmaybe-uninitialized] 160 | if (cmd_op == UBLK_IO_COMMIT_AND_FETCH_REQ) | ^ ublksrv.c:131:22: note: 'cmd_op' was declared here 131 | unsigned int cmd_op; | ^~~~~~ 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 >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].attrs' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].logical_bs_shift' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].physical_bs_shift' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].io_opt_shift' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].io_min_shift' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].max_sectors' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].chunk_sectors' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].dev_sectors' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_basic&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_basic&) 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*, ublk_param_basic&) 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&, ublk_params&)' at ublksrv_json.cpp:100:1: ../include/nlohmann/json.hpp:21056:57: warning: 'MEM[(const struct ublk_param_basic &)&nlohmann_json_default_obj + 8].virt_boundary_mask' 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&, ublk_params&)': ../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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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/riscv64-redhat-linux/13/crti.o /usr/lib/gcc/riscv64-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/riscv64-redhat-linux/13 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/13/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/13/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 -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-58401cf5614ec3ab2a69166e7f9b596f862de105/lib' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/tests' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 ublksrv_tgt.cpp: In function 'void ublksrv_drain_fetch_commands(const ublksrv_dev*, ublksrv_queue_info*)': ublksrv_tgt.cpp:332:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 332 | for (i = 0; i < nr_queues; i++) | ~~^~~~~~~~~~~ ublksrv_tgt.cpp: In function 'int __cmd_dev_user_recover(int, bool)': ublksrv_tgt.cpp:915:29: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 915 | if (dev_info.dev_id != number) { | ~~~~~~~~~~~~~~~~^~~~~~~~~ libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o qcow2/ublk-qcow2.o `test -f 'qcow2/qcow2.cpp' || echo './'`qcow2/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o qcow2/ublk-utils.o `test -f 'qcow2/utils.cpp' || echo './'`qcow2/utils.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/riscv64-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/tgt_qcow2.cpp: In function 'co_io_job __qcow2_handle_io_async(const ublksrv_queue*, const ublk_io_data*, int)': qcow2/tgt_qcow2.cpp:388:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 388 | 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.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++) | ~~^~~~~~~~~~~~~~ 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 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 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_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:378:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 378 | 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:423:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 423 | 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:423:9: note: in expansion of macro 'qcow2_assert' 423 | qcow2_assert(len == 512 && blk_idx < dirty.size()); | ^~~~~~~~~~~~ qcow2/qcow2_meta.cpp:423:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 423 | 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:423:9: note: in expansion of macro 'qcow2_assert' 423 | qcow2_assert(len == 512 && blk_idx < dirty.size()); | ^~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'void Qcow2L1Table::dump()': qcow2/qcow2_meta.cpp:497:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 497 | for (int i = 0; i < header.get_l1_size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'void Qcow2RefcountTable::dump()': qcow2/qcow2_meta.cpp:540:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 540 | for (int i = 0; i < data_len / 8; i++) { | ~~^~~~~~~~~~~~~~ qcow2/qcow2_meta.cpp: In member function 'virtual void Qcow2SliceMeta::wait_clusters(Qcow2State&, const qcow2_io_ctx_t&)': qcow2/qcow2_meta.cpp:799:61: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 799 | 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:827:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 827 | for (int i = 0; i < queues; i++) { | ~~^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o qcow2/ublk-qcow2_flush_meta.o `test -f 'qcow2/qcow2_flush_meta.cpp' || echo './'`qcow2/qcow2_flush_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o nbd/ublk-tgt_nbd.o `test -f 'nbd/tgt_nbd.cpp' || echo './'`nbd/tgt_nbd.cpp nbd/tgt_nbd.cpp: In function 'int nbd_do_recv(const ublksrv_queue*, nbd_io_data*, int, void*, unsigned int)': nbd/tgt_nbd.cpp:443:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 443 | while (i++ < loops && done < len) { | ~~~~~^~~~~ nbd/tgt_nbd.cpp:451:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 451 | if (done == len) | ~~~~~^~~~~~ nbd/tgt_nbd.cpp: In function 'co_io_job __nbd_handle_recv(const ublksrv_queue*, const ublk_io_data*, ublk_io_tgt*)': nbd/tgt_nbd.cpp:509:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 509 | if (ret == len) { | ~~~~^~~~~~ nbd/tgt_nbd.cpp: In function 'void nbd_send_req_done(const ublksrv_queue*, const ublk_io_data*, const io_uring_cqe*)': nbd/tgt_nbd.cpp:591:22: warning: comparison of integer expressions of different signedness: 'const __s32' {aka 'const int'} and 'unsigned int' [-Wsign-compare] 591 | if (cqe->res < total) | ~~~~~~~~~^~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o nbd/ublk-cliserv.o `test -f 'nbd/cliserv.c' || echo './'`nbd/cliserv.c nbd/cliserv.c: In function 'err_nonfatal': nbd/cliserv.c:53:9: warning: 'strncpy' specified bound 150 equals destination size [-Wstringop-truncation] 53 | strncpy(s1, s, sizeof(s1)); | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o nbd/ublk-nbd-client.o `test -f 'nbd/nbd-client.c' || echo './'`nbd/nbd-client.c 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); | ^~~~~~~~~~~~ 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()); | ^~~~~~~~~~~~ /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 nbd/ublk-tgt_nbd.o nbd/ublk-cliserv.o nbd/ublk-nbd-client.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 nbd/ublk-tgt_nbd.o nbd/ublk-cliserv.o nbd/ublk-nbd-client.o lib/.libs/libublksrv.so -luring -lpthread make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5GcsrT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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-58401cf5614ec3ab2a69166e7f9b596f862de105 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 'INSTALL=/usr/bin/install -p' Making install in include make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/include' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/include' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/include' /usr/bin/install -p -m 644 ublksrv.h ublk_cmd.h ublksrv_aio.h ublksrv_utils.h '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/include' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/include' Making install in lib make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/lib' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libublksrv.la '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libublksrv.so.0.0.0 /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/lib64/libublksrv.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/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.1-1.rc1.20230207git58401cf.fc38.riscv64/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.1-1.rc1.20230207git58401cf.fc38.riscv64/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-58401cf5614ec3ab2a69166e7f9b596f862de105/lib' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/lib' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/tests' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/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-58401cf5614ec3ab2a69166e7f9b596f862de105/tests' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105/tests' make[1]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' make[2]: Entering directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -p ublk '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/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.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/sbin/ublk /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 ublksrv.pc '/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' make[1]: Leaving directory '/builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105' + rm /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/lib64/libublksrv.la + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.1-1.rc1.20230207git58401cf.fc38 --unique-debug-suffix -1.1-1.rc1.20230207git58401cf.fc38.riscv64 --unique-debug-src-base ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 extracting debug info from /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/lib64/libublksrv.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/sbin/ublk original debug info size: 11576kB, size after compression: 11024kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2371 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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3CTP1n + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 + DOCDIR=/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/doc/ubdsrv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/doc/ubdsrv + cp -pr README.rst /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/doc/ubdsrv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vZRRaf + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 + LICENSEDIR=/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv + cp -pr COPYING /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv + cp -pr LICENSE /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv + RPM_EC=0 ++ jobs -p + exit 0 Provides: libublksrv.so.0()(64bit) ubdsrv = 1.1-1.rc1.20230207git58401cf.fc38 ubdsrv(riscv-64) = 1.1-1.rc1.20230207git58401cf.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) 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) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_4.3.0)(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.1-1.rc1.20230207git58401cf.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.P53CiX + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 + DOCDIR=/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/doc/ubdsrv-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/doc/ubdsrv-devel + cp -pr README.rst /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/doc/ubdsrv-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2i56V6 + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 + LICENSEDIR=/builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv-devel + cp -pr COPYING /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv-devel + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv-devel + cp -pr LICENSE /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64/usr/share/licenses/ubdsrv-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(ublksrv) = 0.unknown ubdsrv-devel = 1.1-1.rc1.20230207git58401cf.fc38 ubdsrv-devel(riscv-64) = 1.1-1.rc1.20230207git58401cf.fc38 ublksrv = 1.1-1.rc1.20230207git58401cf.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.1-1.rc1.20230207git58401cf.fc38.riscv64 Provides: ubdsrv-debugsource = 1.1-1.rc1.20230207git58401cf.fc38 ubdsrv-debugsource(riscv-64) = 1.1-1.rc1.20230207git58401cf.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.1-1.rc1.20230207git58401cf.fc38.riscv64 Provides: debuginfo(build-id) = 8cfd4fe03953071e51cfbeac6699ca2e7d1b1166 debuginfo(build-id) = a7fa031da62bcc901d2fbf56ed248441aa64d7b4 libublksrv.so.0.0.0-1.1-1.rc1.20230207git58401cf.fc38.riscv64.debug()(64bit) ubdsrv-debuginfo = 1.1-1.rc1.20230207git58401cf.fc38 ubdsrv-debuginfo(riscv-64) = 1.1-1.rc1.20230207git58401cf.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ubdsrv-debugsource(riscv-64) = 1.1-1.rc1.20230207git58401cf.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 Wrote: /builddir/build/RPMS/ubdsrv-devel-1.1-1.rc1.20230207git58401cf.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ubdsrv-debugsource-1.1-1.rc1.20230207git58401cf.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ubdsrv-debuginfo-1.1-1.rc1.20230207git58401cf.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xv5yGO + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ubdsrv-1.1-1.rc1.20230207git58401cf.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QbAbdO + umask 022 + cd /builddir/build/BUILD + rm -rf ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105 ubdsrv-58401cf5614ec3ab2a69166e7f9b596f862de105.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0