Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ubdsrv.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672376980.491767/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ecxvfx1:/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.1ecxvfx1:/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', 'b8e4a44b6c854539a206357714059fc8', '-D', '/var/lib/mock/fedora-rawhide-i686-1672376980.491767/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ecxvfx1:/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 i686 --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: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/ubdsrv.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672376980.491767/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ecxvfx1:/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.1ecxvfx1:/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', 'baea6a7966464bcfb09d25cf43ca0f5e', '-D', '/var/lib/mock/fedora-rawhide-i686-1672376980.491767/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ecxvfx1:/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 i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1670544000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fFBqd2 + 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.Dhn2mM + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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-30 05:11:12.708795532 +0000 +++ ./configure 2022-12-30 05:11:13.653805453 +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-30 05:11:13.653805453 +0000 +++ ./configure 2022-12-30 05:11:13.678805715 +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=i686-redhat-linux-gnu --host=i686-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/lib --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for i686-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... 64 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... i686-redhat-linux-gnu checking host system type... i686-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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-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 i686-redhat-linux-gnu-file... no checking for file... file checking for i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-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 i686-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 i686-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 i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-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 -j2 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libublksrv_la-ublksrv_json.lo `test -f 'ublksrv_json.cpp' || echo './'`ublksrv_json.cpp 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ublksrv_json.cpp -fPIC -DPIC -o .libs/libublksrv_la-ublksrv_json.o ublksrv_cmd.c: In function 'ublksrv_ctrl_get_affinity': ublksrv_cmd.c:150:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 150 | data.addr = (__u64)&sets[i]; | ^ ublksrv_cmd.c: In function 'ublksrv_ctrl_add_dev': ublksrv_cmd.c:212:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 212 | .addr = (__u64)&dev->dev_info, | ^ ublksrv_cmd.c: In function 'ublksrv_ctrl_get_info': ublksrv_cmd.c:234:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 234 | .addr = (__u64)&dev->dev_info, | ^ ublksrv_cmd.c: In function 'ublksrv_ctrl_set_params': ublksrv_cmd.c:306:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 306 | .addr = (__u64)params, | ^ ublksrv_cmd.c: In function 'ublksrv_ctrl_get_params': ublksrv_cmd.c:321:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 321 | .addr = (__u64)params, | ^ /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libublksrv_la-ublksrv.lo `test -f 'ublksrv.c' || echo './'`ublksrv.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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ublksrv.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv.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_queue_io_cmd': ublksrv.c:174:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | cmd->addr = (__u64)io->buf_addr; | ^ 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.c: In function 'ublksrv_submit_aio_batch': ublksrv.c:904:17: warning: 'write' reading 8 bytes from a region of size 4 [-Wstringop-overread] 904 | write(ctx->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ublksrv.c:902:31: note: source object 'data' of size 4 902 | unsigned long data = 1; | ^~~~ In file included from ../include/ublksrv_priv.h:10, from ublksrv.c:8: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ 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; | ^~~~~~ In function 'ublksrv_submit_aio_batch', inlined from 'ublksrv_process_io' at ublksrv.c:933:2: ublksrv.c:904:17: warning: 'write' reading 8 bytes from a region of size 4 [-Wstringop-overread] 904 | write(ctx->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ublksrv.c: In function 'ublksrv_process_io': ublksrv.c:902:31: note: source object 'data' of size 4 902 | unsigned long data = 1; | ^~~~ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ In function 'ublksrv_submit_aio_batch', inlined from 'ublksrv_process_io' at ublksrv.c:933:2: ublksrv.c:904:17: warning: 'write' reading 8 bytes from a region of size 4 [-Wstringop-overread] 904 | write(ctx->efd, &data, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ublksrv.c: In function 'ublksrv_process_io': ublksrv.c:902:31: note: source object 'data' of size 4 902 | unsigned long data = 1; | ^~~~ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c utils.c -fPIC -DPIC -o .libs/libublksrv_la-utils.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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ublksrv_aio.c -fPIC -DPIC -o .libs/libublksrv_la-ublksrv_aio.o 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_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 '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 '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 long, unsigned long 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 long, unsigned long 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 long, unsigned long 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 long, unsigned long 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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_discard&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_discard&) conststd::decay::type', inlined from 'nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value(char const*, ublk_param_discard&) conststd::decay::type' at ../include/nlohmann/json.hpp:21078:21, inlined from 'from_json(nlohmann::basic_json, std::allocator >, bool, long long, unsigned long 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_discard &)&nlohmann_json_default_obj + 40].discard_alignment' 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 long, unsigned long 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 long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_discard&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_discard&) conststd::decay::type', inlined from 'nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value(char const*, ublk_param_discard&) conststd::decay::type' at ../include/nlohmann/json.hpp:21078:21, inlined from 'from_json(nlohmann::basic_json, std::allocator >, bool, long long, unsigned long 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_discard &)&nlohmann_json_default_obj + 40].discard_granularity' 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 long, unsigned long 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 long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_discard&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_discard&) conststd::decay::type', inlined from 'nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value(char const*, ublk_param_discard&) conststd::decay::type' at ../include/nlohmann/json.hpp:21078:21, inlined from 'from_json(nlohmann::basic_json, std::allocator >, bool, long long, unsigned long 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_discard &)&nlohmann_json_default_obj + 40].max_discard_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 long, unsigned long 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 long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_discard&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_discard&) conststd::decay::type', inlined from 'nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value(char const*, ublk_param_discard&) conststd::decay::type' at ../include/nlohmann/json.hpp:21078:21, inlined from 'from_json(nlohmann::basic_json, std::allocator >, bool, long long, unsigned long 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_discard &)&nlohmann_json_default_obj + 40].max_write_zeroes_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 long, unsigned long 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 long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_discard&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_discard&) conststd::decay::type', inlined from 'nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value(char const*, ublk_param_discard&) conststd::decay::type' at ../include/nlohmann/json.hpp:21078:21, inlined from 'from_json(nlohmann::basic_json, std::allocator >, bool, long long, unsigned long 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_discard &)&nlohmann_json_default_obj + 40].max_discard_segments' 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 long, unsigned long 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 long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value, std::allocator >, ublk_param_discard&, 0>(std::__cxx11::basic_string, std::allocator > const&, ublk_param_discard&) conststd::decay::type', inlined from 'nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer, std::vector > >::value(char const*, ublk_param_discard&) conststd::decay::type' at ../include/nlohmann/json.hpp:21078:21, inlined from 'from_json(nlohmann::basic_json, std::allocator >, bool, long long, unsigned long 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_discard &)&nlohmann_json_default_obj + 40].reserved0' 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 long, unsigned long 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__)) } | ^~~~~~~~~~~~~~~~~~~~~~~~~ /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib 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/i686-redhat-linux/13/../../../crti.o /usr/lib/gcc/i686-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/i686-redhat-linux/13 -L/usr/lib/gcc/i686-redhat-linux/13/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/13/crtendS.o /usr/lib/gcc/i686-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 In function 'ublksrv_submit_aio_batch', inlined from 'ublksrv_process_io' at ublksrv.c:933:2: ublksrv.c:904:17: warning: 'write' reading 8 bytes from a region of size 4 [-Wstringop-overread] 904 | write(ctx->efd, &data, 8); | ^ ublksrv.c: In function 'ublksrv_process_io': ublksrv.c:902:31: note: source object 'data' of size 4 902 | unsigned long data = 1; | ^ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ In function 'ublksrv_submit_aio_batch', inlined from 'ublksrv_process_io' at ublksrv.c:933:2: ublksrv.c:904:17: warning: 'write' reading 8 bytes from a region of size 4 [-Wstringop-overread] 904 | write(ctx->efd, &data, 8); | ^ ublksrv.c: In function 'ublksrv_process_io': ublksrv.c:902:31: note: source object 'data' of size 4 902 | unsigned long data = 1; | ^ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o demo_event-demo_event.o `test -f 'demo_event.c' || echo './'`demo_event.c demo_event.c: In function 'async_io_submitter': demo_event.c:108:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 108 | io_uring_prep_read(sqe, req->fd, (void *)iod->addr, | ^ demo_event.c:112:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 112 | io_uring_prep_write(sqe, req->fd, (void *)iod->addr, | ^ demo_event.c: In function 'sync_io_submitter': demo_event.c:129:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 129 | void *buf = (void *)iod->addr; | ^ demo_event.c: In function 'reap_uring': demo_event.c:201:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 201 | struct ublksrv_aio *req = (struct ublksrv_aio *) | ^ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ublk-tgt_null.o `test -f 'tgt_null.cpp' || echo './'`tgt_null.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) { | ~~~~~~~~~~~~~~~~^~~~~~~~~ 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); | ~~~~~^~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o qcow2/ublk-qcow2.o `test -f 'qcow2/qcow2.cpp' || echo './'`qcow2/qcow2.cpp In file included from qcow2/qcow2.h:16, from qcow2/tgt_qcow2.cpp:4: qcow2/qcow2_meta.h: In member function 'virtual void Qcow2HeaderExtBitmaps::dump() const': qcow2/qcow2_meta.h:227:86: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llx 228 | typeid(*this).name(), type, len, 229 | nr_bitmap, bitmap_directory_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int qcow2/qcow2_meta.h:227:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llu ...... 230 | bitmap_directory_size); | ~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int 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 '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 '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/i686-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); | ^~~~~~~~~~~~ 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 long unsigned int'} and 'int' [-Wsign-compare] 385 | if (mapped_start == -1) { | ~~~~~~~~~~~~~^~~~~ In file included from qcow2/qcow2.h:16, from qcow2/qcow2.cpp:2: qcow2/qcow2_meta.h: In member function 'virtual void Qcow2HeaderExtBitmaps::dump() const': qcow2/qcow2_meta.h:227:86: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llx 228 | typeid(*this).name(), type, len, 229 | nr_bitmap, bitmap_directory_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int qcow2/qcow2_meta.h:227:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llu ...... 230 | bitmap_directory_size); | ~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int 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 '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 '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.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 '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 'unsigned int'} [-Wsign-compare] 114 | if (i < v.size()) { | ~~^~~~~~~~~~ qcow2/qcow2.cpp: In member function 'void Qcow2ClusterAllocator::alloc_cluster_zeroed(const ublksrv_queue*, int, uint64_t)': qcow2/qcow2.cpp:551:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 551 | syslog(LOG_ERR, "%s: offset %lx\n", __func__, cluster_offset); | ~~^ ~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx 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 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 long unsigned int'} and 'int' [-Wsign-compare] 908 | if (data_cluster == -1) { | ~~~~~~~~~~~~~^~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o qcow2/ublk-qcow2_meta.o `test -f 'qcow2/qcow2_meta.cpp' || echo './'`qcow2/qcow2_meta.cpp In file included from qcow2/qcow2.h:16, from qcow2/qcow2_meta.cpp:4: qcow2/qcow2_meta.h: In member function 'virtual void Qcow2HeaderExtBitmaps::dump() const': qcow2/qcow2_meta.h:227:86: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llx 228 | typeid(*this).name(), type, len, 229 | nr_bitmap, bitmap_directory_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int qcow2/qcow2_meta.h:227:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llu ...... 230 | bitmap_directory_size); | ~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int 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 '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 '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_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 '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 '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 '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 '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 '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:497:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 497 | syslog(LOG_INFO, "%d: %lx\n", i, get_entry(i)); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx 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 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++) { | ~~^~~~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o qcow2/ublk-utils.o `test -f 'qcow2/utils.cpp' || echo './'`qcow2/utils.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/utils.cpp:4: qcow2/qcow2_meta.h: In member function 'virtual void Qcow2HeaderExtBitmaps::dump() const': qcow2/qcow2_meta.h:227:86: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llx 228 | typeid(*this).name(), type, len, 229 | nr_bitmap, bitmap_directory_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int qcow2/qcow2_meta.h:227:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llu ...... 230 | bitmap_directory_size); | ~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int 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 '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 '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_flush_meta.cpp:2: qcow2/qcow2_meta.h: In member function 'virtual void Qcow2HeaderExtBitmaps::dump() const': qcow2/qcow2_meta.h:227:86: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llx 228 | typeid(*this).name(), type, len, 229 | nr_bitmap, bitmap_directory_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int qcow2/qcow2_meta.h:227:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'long long unsigned int' [-Wformat=] 227 | syslog(LOG_INFO,"%s: type %x len %d nr_bitmap %d bitmap_dir(offset %lx sz %lu)\n", | ~~^ | | | long unsigned int | %llu ...... 230 | bitmap_directory_size); | ~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int 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 '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 '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 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 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 '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 '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 '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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.e6lJAk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386 ++ dirname /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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.i386 '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.i386/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.i386/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.i386/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -p libublksrv.la '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/lib' libtool: install: /usr/bin/install -p .libs/libublksrv.so.0.0.0 /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/lib/libublksrv.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/lib && { 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.i386/usr/lib && { 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.i386/usr/lib/libublksrv.la libtool: warning: remember to run 'libtool --finish /usr/lib' 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.i386/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -p ublk '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/sbin' libtool: warning: 'lib/libublksrv.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -p .libs/ublk /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/sbin/ublk /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/lib/pkgconfig' /usr/bin/install -p -m 644 ublksrv.pc '/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/lib/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.i386/usr/lib/libublksrv.la + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.0-3.rc6.20221228git483d710.fc38 --unique-debug-suffix -1.0-3.rc6.20221228git483d710.fc38.i386 --unique-debug-src-base ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386 --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.i386/usr/lib/libublksrv.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/sbin/ublk original debug info size: 6008kB, size after compression: 5504kB /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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.N3l0mv + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + DOCDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/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.i386/usr/share/doc/ubdsrv + cp -pr README.rst /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/share/doc/ubdsrv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QWoiEu + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + LICENSEDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/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.i386/usr/share/licenses/ubdsrv + cp -pr COPYING /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/share/licenses/ubdsrv + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/share/licenses/ubdsrv + cp -pr LICENSE /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/share/licenses/ubdsrv + RPM_EC=0 ++ jobs -p + exit 0 Provides: libublksrv.so.0 ubdsrv = 1.0-3.rc6.20221228git483d710.fc38 ubdsrv(x86-32) = 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.32) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.8) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.14) libstdc++.so.6(GLIBCXX_3.4.15) libstdc++.so.6(GLIBCXX_3.4.18) libstdc++.so.6(GLIBCXX_3.4.19) libstdc++.so.6(GLIBCXX_3.4.21) libstdc++.so.6(GLIBCXX_3.4.29) libstdc++.so.6(GLIBCXX_3.4.30) libstdc++.so.6(GLIBCXX_3.4.9) libublksrv.so.0 liburing.so.2 liburing.so.2(LIBURING_2.0) liburing.so.2(LIBURING_2.1) liburing.so.2(LIBURING_2.2) rtld(GNU_HASH) Processing files: ubdsrv-devel-1.0-3.rc6.20221228git483d710.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2Cggv7 + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + DOCDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/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.i386/usr/share/doc/ubdsrv-devel + cp -pr README.rst /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/share/doc/ubdsrv-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FP5F6M + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + LICENSEDIR=/builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/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.i386/usr/share/licenses/ubdsrv-devel + cp -pr COPYING /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/share/licenses/ubdsrv-devel + cp -pr COPYING.LGPL /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/usr/share/licenses/ubdsrv-devel + cp -pr LICENSE /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386/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(x86-32) = 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 pkgconfig(liburing) Processing files: ubdsrv-debugsource-1.0-3.rc6.20221228git483d710.fc38.i686 Provides: ubdsrv-debugsource = 1.0-3.rc6.20221228git483d710.fc38 ubdsrv-debugsource(x86-32) = 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.i686 Provides: debuginfo(build-id) = 622efeddb7aa27605cb09a07bfe8577251a2318f debuginfo(build-id) = 899cdd498f94823fceaed815372e618d7bc138b5 libublksrv.so.0.0.0-1.0-3.rc6.20221228git483d710.fc38.i386.debug ubdsrv-debuginfo = 1.0-3.rc6.20221228git483d710.fc38 ubdsrv-debuginfo(x86-32) = 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(x86-32) = 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.i386 Wrote: /builddir/build/RPMS/ubdsrv-debugsource-1.0-3.rc6.20221228git483d710.fc38.i686.rpm Wrote: /builddir/build/RPMS/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i686.rpm Wrote: /builddir/build/RPMS/ubdsrv-devel-1.0-3.rc6.20221228git483d710.fc38.i686.rpm Wrote: /builddir/build/RPMS/ubdsrv-debuginfo-1.0-3.rc6.20221228git483d710.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PLAtOg + umask 022 + cd /builddir/build/BUILD + cd ubdsrv-483d710ab8630304d13b59c2776f7386a566c467 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ubdsrv-1.0-3.rc6.20221228git483d710.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.1N8Wfh + 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