Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/xdelta.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672366087.916612/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gsxbmrp:/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.5gsxbmrp:/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', '2589713ab8544955865434bf4181aea8', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672366087.916612/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gsxbmrp:/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 s390x --nodeps /builddir/build/SPECS/xdelta.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/xdelta-3.1.0-15.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/xdelta.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672366087.916612/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gsxbmrp:/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.5gsxbmrp:/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', 'c2034cc047f64357a7a7a54d31744f61', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672366087.916612/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gsxbmrp:/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 s390x --nodeps /builddir/build/SPECS/xdelta.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ad0TMW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xdelta3-3.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xdelta3-3.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xdelta3-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (xdelta-3.0.6-man-page-day.patch): + echo 'Patch #1 (xdelta-3.0.6-man-page-day.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .man-page-day --fuzz=0 patching file xdelta3.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pEr9N9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdelta3-3.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2016-01-08 07:30:27.000000000 +0000 +++ ./configure 2022-12-30 02:10:51.441133616 +0000 @@ -1757,7 +1757,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 02:10:51.441133616 +0000 +++ ./configure 2022-12-30 02:10:51.451133616 +0000 @@ -5548,7 +5548,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'" @@ -17766,7 +17766,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.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-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 + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... s390x-redhat-linux-gnu checking host system type... s390x-redhat-linux-gnu checking how to print strings... printf checking for s390x-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes 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 s390x-redhat-linux-gnu file names to s390x-redhat-linux-gnu format... func_convert_file_noop checking how to convert s390x-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 s390x-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for s390x-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for s390x-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for s390x-redhat-linux-gnu-strip... no checking for strip... strip checking for s390x-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 5554: -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 s390x-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 -m elf64_s390) 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... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking whether UID '1001' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking dependency style of gcc... none checking if pointers to integers require aligned access... no checking for s390x-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf64_s390 checking if the linker (/usr/bin/ld -m elf64_s390) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf64_s390) 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 -m elf64_s390) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking dependency style of g++... none checking size of size_t... 8 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_easy_buffer_encode in -llzma... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 V=0 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC xdelta3decode-xdelta3.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' In file included from xdelta3.c:2065, from xdelta3.c:658: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ In file included from xdelta3.c:267: xdelta3-main.h: In function 'main_format_rate': xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ In file included from xdelta3.c:718: xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:906, from xdelta3.h:38: In function 'snprintf', inlined from 'main_format_rate' at xdelta3-main.h:638:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC xdelta3-xdelta3.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' In file included from xdelta3.c:718: xdelta3-main.h: In function 'main_file_read': xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ xdelta3-main.h: In function 'main_file_write': xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ xdelta3-main.h: In function 'main_pipe_write': xdelta3-main.h:2118:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 2118 | (xd3_posix_func*) &write, NULL))) | ^ In file included from xdelta3.c:2065, from xdelta3.c:658: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ xdelta3.c: In function 'xd3_encode_input': xdelta3.c:3151:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3151 | if (stream->avail_in > 0) | ^ xdelta3.c:3166:13: note: here 3166 | case MATCH_FORWARD: | ^~~~ xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3090 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3092:5: note: here 3092 | case ENC_INPUT: | ^~~~ xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3201 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3203:5: note: here 3203 | case ENC_INSTR: | ^~~~ xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3215 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3217:5: note: here 3217 | case ENC_FLUSH: | ^~~~ xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3247 | if (stream->avail_out > 0) | ^ xdelta3.c:3253:5: note: here 3253 | case ENC_POSTOUT: | ^~~~ xdelta3-main.h: In function 'main': xdelta3-main.h:3752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ xdelta3-main.h:3758:9: note: here 3758 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] 3025 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 3026 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ xdelta3-main.h:3027:21: note: here 3027 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ In file included from xdelta3.c:684: In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at xdelta3-djw.h:1715:18: xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ~~~~~~~~~~~~^~~ xdelta3-djw.h: In function 'xd3_decode_huff': xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^~~~ In file included from xdelta3.c:267: In function 'main_format_rate', inlined from 'main_input' at xdelta3-main.h:3344:4: xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:906, from xdelta3.h:38: In function 'snprintf', inlined from 'main_format_rate' at xdelta3-main.h:638:3, inlined from 'main_input' at xdelta3-main.h:3344:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'main_format_rate', inlined from 'main_input' at xdelta3-main.h:3344:4: xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In function 'snprintf', inlined from 'main_format_rate' at xdelta3-main.h:638:3, inlined from 'main_input' at xdelta3-main.h:3344:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from xdelta3.c:722: xdelta3-test.h: In function 'xd3_selftest': xdelta3-test.h:2501:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] 2501 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, | ^~ ~~~~~ In function 'snprintf', inlined from 'test_appheader' at xdelta3-test.h:2500:3, inlined from 'xd3_selftest' at xdelta3-test.h:3003:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC testing/xdelta3checksum-checksum_test_c.o In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ testing/../xdelta3-main.h: In function 'main_file_write': testing/../xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 2118 | (xd3_posix_func*) &write, NULL))) | ^ In file included from testing/../xdelta3.c:2065, from testing/../xdelta3.c:658: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ testing/../xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ testing/../xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ testing/../xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ testing/../xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ testing/../xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ testing/../xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ testing/../xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ testing/../xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ testing/../xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ testing/../xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ testing/../xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ testing/../xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ testing/../xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ testing/../xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ testing/../xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ testing/../xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ testing/../xdelta3-decode.h:1149:9: warning: this statement may fall throughmake[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ testing/../xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ testing/../xdelta3-decode.h: In function 'xd3_decode_sections': testing/../xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ testing/../xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ testing/../xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ testing/../xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.c:3151:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3151 | if (stream->avail_in > 0) | ^ testing/../xdelta3.c:3166:13: note: here 3166 | case MATCH_FORWARD: | ^~~~ testing/../xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3090 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3092:5: note: here 3092 | case ENC_INPUT: | ^~~~ testing/../xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3201 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3203:5: note: here 3203 | case ENC_INSTR: | ^~~~ testing/../xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3215 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3217:5: note: here 3217 | case ENC_FLUSH: | ^~~~ testing/../xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3247 | if (stream->avail_out > 0) | ^ testing/../xdelta3.c:3253:5: note: here 3253 | case ENC_POSTOUT: | ^~~~ testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:9: note: here 3758 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] 3025 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ testing/../xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 3026 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ testing/../xdelta3-main.h:3027:21: note: here 3027 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ In file included from testing/../xdelta3.c:684: In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at testing/../xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at testing/../xdelta3-djw.h:1715:18: testing/../xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ~~~~~~~~~~~~^~~ testing/../xdelta3-djw.h: In function 'xd3_decode_huff': testing/../xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^~~~ In file included from testing/../xdelta3.c:267: In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: testing/../xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:906, from testing/../xdelta3.h:38: In function 'snprintf', inlined from 'main_format_rate' at testing/../xdelta3-main.h:638:3, inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: testing/../xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In function 'snprintf', inlined from 'main_format_rate' at testing/../xdelta3-main.h:638:3, inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:722: testing/../xdelta3-test.h: In function 'xd3_selftest': testing/../xdelta3-test.h:2501:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] 2501 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, | ^~ ~~~~~ In function 'snprintf', inlined from 'test_appheader' at testing/../xdelta3-test.h:2500:3, inlined from 'xd3_selftest' at testing/../xdelta3-test.h:3003:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CCLD xdelta3 In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at xdelta3-djw.h:1715:18: xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ^ xdelta3-djw.h: In function 'xd3_decode_huff': xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^ make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXX testing/xdelta3regtest-regtest.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC testing/xdelta3regtest-regtest_c.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ testing/../xdelta3-main.h: In function 'main_file_write': testing/../xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 2118 | (xd3_posix_func*) &write, NULL))) | ^ In file included from testing/../xdelta3.c:2065, from testing/../xdelta3.c:658: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ testing/../xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ testing/../xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ testing/../xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ testing/../xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ testing/../xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ testing/../xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ testing/../xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ testing/../xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ testing/../xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ testing/../xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ testing/../xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ testing/../xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ testing/../xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ testing/../xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ testing/../xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ testing/../xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ testing/../xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ testing/../xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ testing/../xdelta3-decode.h: In function 'xd3_decode_sections': testing/../xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ testing/../xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ testing/../xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ testing/../xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ In file included from testing/../xdelta3.c:267: testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.h:406:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 406 | if (! (x)) { \ | ^ testing/../xdelta3.c:3164:15: note: in expansion of macro 'XD3_ASSERT' 3164 | XD3_ASSERT (stream->match_fwd == 0); | ^~~~~~~~~~ testing/../xdelta3.c:3166:13: note: here 3166 | case MATCH_FORWARD: | ^~~~ testing/../xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3090 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3092:5: note: here 3092 | case ENC_INPUT: | ^~~~ testing/../xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3201 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3203:5: note: here 3203 | case ENC_INSTR: | ^~~~ testing/../xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3215 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3217:5: note: here 3217 | case ENC_FLUSH: | ^~~~ testing/../xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3247 | if (stream->avail_out > 0) | ^ testing/../xdelta3.c:3253:5: note: here 3253 | case ENC_POSTOUT: | ^~~~ testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:9: note: here 3758 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] 3025 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ testing/../xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 3026 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ testing/../xdelta3-main.h:3027:21: note: here 3027 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ In file included from testing/../xdelta3.c:684: In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at testing/../xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at testing/../xdelta3-djw.h:1715:18: testing/../xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ~~~~~~~~~~~~^~~ testing/../xdelta3-djw.h: In function 'xd3_decode_huff': testing/../xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^~~~ In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: testing/../xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:906, from testing/../xdelta3.h:38: In function 'snprintf', inlined from 'main_format_rate' at testing/../xdelta3-main.h:638:3, inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: testing/../xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In function 'snprintf', inlined from 'main_format_rate' at testing/../xdelta3-main.h:638:3, inlined from 'main_input' at testing/../xdelta3-main.h:3344:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:722: testing/../xdelta3-test.h: In function 'xd3_selftest': testing/../xdelta3-test.h:2501:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] 2501 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, | ^~ ~~~~~ In function 'snprintf', inlined from 'test_appheader' at testing/../xdelta3-test.h:2500:3, inlined from 'xd3_selftest' at testing/../xdelta3-test.h:3003:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXX testing/xdelta3checksum-checksum_test.o In file included from testing/../cpp-btree/btree_map.h:31, from testing/checksum_test.cc:9: testing/../cpp-btree/btree.h: In instantiation of 'btree::btree_node::reference btree::btree_node::value(int) [with Params = btree::btree_map_params, std::allocator >, 256>; reference = std::pair&]': testing/../cpp-btree/btree.h:809:24: required from 'btree::btree_iterator::pointer btree::btree_iterator::operator->() const [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; pointer = std::pair*]' testing/checksum_test.cc:270:27: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:557:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 557 | return reinterpret_cast(fields_.values[i]); | ~~~~~~~~~~~~~~^ testing/../cpp-btree/btree.h: In instantiation of 'IterType btree::btree::internal_find_multi(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:1075:28: required from 'btree::btree::iterator btree::btree::find_multi(const key_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' testing/../cpp-btree/btree_container.h:311:34: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::find(const key_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' testing/checksum_test.cc:264:36: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:2319:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2319 | iter = internal_lower_bound(key, iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:2321:12: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2321 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'void btree::btree_iterator::increment_slow() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]': testing/../cpp-btree/btree.h:781:5: required from 'void btree::btree_iterator::increment() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]' testing/../cpp-btree/btree.h:813:5: required from 'btree::btree_iterator::self_type& btree::btree_iterator::operator++() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; self_type = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' testing/checksum_test.cc:271:5: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:1673:13: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1673 | *this = save; | ~~~~~~^~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'btree::btree::iterator btree::btree::insert_multi(const key_type&, ValuePointer) [with ValuePointer = const std::pair*; Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:1032:24: required from 'btree::btree::iterator btree::btree::insert_multi(const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' testing/checksum_test.cc:286:17: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:1805:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1805 | iter = end(); | ~~~~~^~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'IterType btree::btree::internal_lower_bound(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:2319:32: required from 'IterType btree::btree::internal_find_multi(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]' testing/../cpp-btree/btree.h:1075:28: required from 'btree::btree::iterator btree::btree::find_multi(const key_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' testing/../cpp-btree/btree_container.h:311:34: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::find(const key_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' testing/checksum_test.cc:264:36: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:2276:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2276 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'IterType btree::btree::internal_upper_bound(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:1803:39: required from 'btree::btree::iterator btree::btree::insert_multi(const key_type&, ValuePointer) [with ValuePointer = const std::pair*; Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' testing/../cpp-btree/btree.h:1032:24: required from 'btree::btree::iterator btree::btree::insert_multi(const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' testing/checksum_test.cc:286:17: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:2292:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2292 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'void btree::btree_iterator::decrement_slow() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]': testing/../cpp-btree/btree.h:790:5: required from 'void btree::btree_iterator::decrement() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]' testing/../cpp-btree/btree.h:817:5: required from 'btree::btree_iterator::self_type& btree::btree_iterator::operator--() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; self_type = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' testing/../cpp-btree/btree.h:2203:5: required from 'btree::btree::iterator btree::btree::internal_insert(iterator, const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' testing/../cpp-btree/btree.h:1807:10: required from 'btree::btree::iterator btree::btree::insert_multi(const key_type&, ValuePointer) [with ValuePointer = const std::pair*; Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' testing/../cpp-btree/btree.h:1032:24: required from 'btree::btree::iterator btree::btree::insert_multi(const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' testing/checksum_test.cc:286:17: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:1713:13: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1713 | *this = save; | ~~~~~~^~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ In member function 'btree::btree_node, std::allocator >, 256> >::set_child(int, btree::btree_node, std::allocator >, 256> >*)', inlined from 'btree::btree, std::allocator >, 256> >::rebalance_or_split(btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>*)' at testing/../cpp-btree/btree.h:2068:24: testing/../cpp-btree/btree.h:575:23: warning: array subscript 'struct btree_node[0]' is partly outside array bounds of 'unsigned char[384]' [-Warray-bounds=] 575 | *mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/13/s390x-redhat-linux/bits/c++allocator.h:33, from /usr/include/c++/13/bits/allocator.h:46, from /usr/include/c++/13/string:43, from testing/test.h:10, from testing/checksum_test.cc:3: In member function 'std::__new_allocator::allocate(unsigned long, void const*)', inlined from 'btree::btree, std::allocator >, 256> >::new_internal_node(btree::btree_node, std::allocator >, 256> >*)' at testing/../cpp-btree/btree.h:1244:47, inlined from 'btree::btree, std::allocator >, 256> >::rebalance_or_split(btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>*)' at testing/../cpp-btree/btree.h:2067:33: /usr/include/c++/13/bits/new_allocator.h:147:55: note: object of size 384 allocated by 'operator new(unsigned long)' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::btree_node, std::allocator >, 256> >::set_child(int, btree::btree_node, std::allocator >, 256> >*)', inlined from 'btree::btree, std::allocator >, 256> >::rebalance_or_split(btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>*)' at testing/../cpp-btree/btree.h:2068:24: testing/../cpp-btree/btree.h:576:23: warning: array subscript 'struct btree_node[0]' is partly outside array bounds of 'unsigned char[384]' [-Warray-bounds=] 576 | c->fields_.parent = this; | ~~~~~~~~~~~~~~~~~~^~~~~~ In member function 'std::__new_allocator::allocate(unsigned long, void const*)', inlined from 'btree::btree, std::allocator >, 256> >::new_internal_node(btree::btree_node, std::allocator >, 256> >*)' at testing/../cpp-btree/btree.h:1244:47, inlined from 'btree::btree, std::allocator >, 256> >::rebalance_or_split(btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>*)' at testing/../cpp-btree/btree.h:2067:33: /usr/include/c++/13/bits/new_allocator.h:147:55: note: object of size 384 allocated by 'operator new(unsigned long)' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In function 'btree::btree_node, std::allocator >, 256> >::init_leaf(btree::btree_node, std::allocator >, 256> >::leaf_fields*, btree::btree_node, std::allocator >, 256> >*, int)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1261:32, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: testing/../cpp-btree/btree.h:688:13: warning: array subscript 'struct leaf_fields[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 688 | f->leaf = 1; | ~~~~~~~~^~~ In member function 'std::__new_allocator::allocate(unsigned long, void const*)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1259:47, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: /usr/include/c++/13/bits/new_allocator.h:147:55: note: object of size 32 allocated by 'operator new(unsigned long)' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In function 'btree::btree_node, std::allocator >, 256> >::init_leaf(btree::btree_node, std::allocator >, 256> >::leaf_fields*, btree::btree_node, std::allocator >, 256> >*, int)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1261:32, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: testing/../cpp-btree/btree.h:689:17: warning: array subscript 'struct leaf_fields[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 689 | f->position = 0; | ~~~~~~~~~~~~^~~ In member function 'std::__new_allocator::allocate(unsigned long, void const*)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1259:47, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: /usr/include/c++/13/bits/new_allocator.h:147:55: note: object of size 32 allocated by 'operator new(unsigned long)' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In function 'btree::btree_node, std::allocator >, 256> >::init_leaf(btree::btree_node, std::allocator >, 256> >::leaf_fields*, btree::btree_node, std::allocator >, 256> >*, int)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1261:32, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: testing/../cpp-btree/btree.h:690:18: warning: array subscript 'struct leaf_fields[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 690 | f->max_count = max_count; | ~~~~~~~~~~~~~^~~~~~~~~~~ In member function 'std::__new_allocator::allocate(unsigned long, void const*)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1259:47, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: /usr/include/c++/13/bits/new_allocator.h:147:55: note: object of size 32 allocated by 'operator new(unsigned long)' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In function 'btree::btree_node, std::allocator >, 256> >::init_leaf(btree::btree_node, std::allocator >, 256> >::leaf_fields*, btree::btree_node, std::allocator >, 256> >*, int)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1261:32, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: testing/../cpp-btree/btree.h:691:14: warning: array subscript 'struct leaf_fields[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 691 | f->count = 0; | ~~~~~~~~~^~~ In member function 'std::__new_allocator::allocate(unsigned long, void const*)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1259:47, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: /usr/include/c++/13/bits/new_allocator.h:147:55: note: object of size 32 allocated by 'operator new(unsigned long)' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In function 'btree::btree_node, std::allocator >, 256> >::init_leaf(btree::btree_node, std::allocator >, 256> >::leaf_fields*, btree::btree_node, std::allocator >, 256> >*, int)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1261:32, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: testing/../cpp-btree/btree.h:692:15: warning: array subscript 'struct leaf_fields[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 692 | f->parent = parent; | ~~~~~~~~~~^~~~~~~~ In member function 'std::__new_allocator::allocate(unsigned long, void const*)', inlined from 'btree::btree, std::allocator >, 256> >::new_leaf_root_node(int)' at testing/../cpp-btree/btree.h:1259:47, inlined from 'btree::btree, std::allocator >, 256> >::insert_multi const*>(unsigned long const&, std::pair const*)btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' at testing/../cpp-btree/btree.h:1800:41: /usr/include/c++/13/bits/new_allocator.h:147:55: note: object of size 32 allocated by 'operator new(unsigned long)' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CCLD xdelta3decode make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXXLD xdelta3regtest In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at testing/../xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at testing/../xdelta3-djw.h:1715:18: testing/../xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ^ testing/../xdelta3-djw.h: In function 'xd3_decode_huff': testing/../xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^ make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXXLD xdelta3checksum In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at testing/../xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at testing/../xdelta3-djw.h:1715:18: testing/../xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ^ testing/../xdelta3-djw.h: In function 'xd3_decode_huff': testing/../xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^ make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.z0SRvN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x ++ dirname /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdelta3-3.1.0 + mkdir -p /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x//usr/bin + mkdir -p /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x//usr/share/man/man1 + install -m755 xdelta3 /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x//usr/bin + install -m 644 xdelta3.1 /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x//usr/share/man/man1 + pushd /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x//usr/bin ~/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x/usr/bin ~/build/BUILD/xdelta3-3.1.0 + ln -s xdelta3 xdelta ~/build/BUILD/xdelta3-3.1.0 ~/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x/usr/share/man/man1 ~/build/BUILD/xdelta3-3.1.0 + popd + pushd /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x//usr/share/man/man1 + ln -s xdelta3.1 xdelta.1 ~/build/BUILD/xdelta3-3.1.0 + popd + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.1.0-15.fc38 --unique-debug-suffix -3.1.0-15.fc38.s390x --unique-debug-src-base xdelta-3.1.0-15.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xdelta3-3.1.0 extracting debug info from /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x/usr/bin/xdelta3 original debug info size: 520kB, size after compression: 500kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1039 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nhlPO8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdelta3-3.1.0 + ./xdelta3 test Xdelta version 3.1.0, Copyright (C) Joshua MacDonald Xdelta comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see "COPYING" for details. EXTERNAL_COMPRESSION=1 REGRESSION_TEST=1 SECONDARY_DJW=1 SECONDARY_FGK=1 SECONDARY_LZMA=1 UNALIGNED_OK=1 VCDIFF_TOOLS=1 XD3_ALLOCSIZE=16384 XD3_DEBUG=0 XD3_ENCODER=1 XD3_POSIX=1 XD3_STDIO=0 XD3_WIN32=0 XD3_USE_LARGEFILE64=1 XD3_USE_LARGESIZET=1 XD3_DEFAULT_LEVEL=3 XD3_DEFAULT_IOPT_SIZE=32768 XD3_DEFAULT_SPREVSZ=262144 XD3_DEFAULT_SRCWINSZ=67108864 XD3_DEFAULT_WINSIZE=8388608 XD3_HARDMAXWINSIZE=67108864 sizeof(void*)=8 sizeof(int)=4 sizeof(long)=8 sizeof(long long)=8 sizeof(size_t)=8 sizeof(uint32_t)=4 sizeof(uint64_t)=8 sizeof(usize_t)=8 sizeof(xoff_t)=8 xdelta3: testing random_numbers... success xdelta3: testing printf_xoff... success xdelta3: testing decode_integer_end_of_input... success xdelta3: testing decode_integer_overflow... success xdelta3: testing encode_decode_uint32_t..................................... success xdelta3: testing encode_decode_uint64_t................................................................... success xdelta3: testing usize_t_overflow... success xdelta3: testing checksum_step... success xdelta3: testing forward_match... success xdelta3: testing address_cache... success xdelta3: testing string_matching... success xdelta3: testing choose_instruction... success xdelta3: testing identical_behavior... success xdelta3: testing in_memory... success xdelta3: testing iopt_flush_instructions... success xdelta3: testing decompress_single_bit_error.... success xdelta3: testing decompress_single_bit_error (XD3_ADLER32).... success xdelta3: testing decompress_single_bit_error (XD3_SEC_LZMA).... success xdelta3: testing decompress_single_bit_error (XD3_SEC_FGK).... success xdelta3: testing decompress_single_bit_error (XD3_SEC_DJW).... success xdelta3: testing force_behavior... success xdelta3: testing stdout_behavior... success xdelta3: testing no_output... success xdelta3: testing appheader... success xdelta3: testing command_line_arguments................ success xdelta3: testing source_decompression... success xdelta3: testing externally_compressed_io.........xdelta3: compress=0... success xdelta3: testing recode_command................... success xdelta3: testing secondary_lzma_default... success xdelta3: testing secondary_lzma... ...2.960....4.875....8.281....5.577....5.577....7.239....8.004....0.102....0.091....0.002....0.001.... success xdelta3: testing secondary_huff... ...2.000....7.219....8.188....4.858....4.858....7.025....8.001....2.017....7.937....7.408....2.618.... ...2.160....7.312....8.250....4.927....4.927....7.116....8.024....2.023....6.953....6.418....2.448.... ...2.240....7.344....8.281....4.972....4.972....7.181....8.040....2.025....6.375....5.831....1.843.... ...2.240....7.375....8.281....5.000....5.000....7.227....8.048....2.025....5.990....5.436....1.679.... ...2.320....7.375....8.312....5.044....5.044....7.272....8.057....2.027....5.671....5.117....1.654.... ...2.320....7.375....8.312....5.072....5.072....7.311....8.062....2.027....5.418....4.869....1.567.... ...2.320....7.406....8.344....5.095....5.095....7.348....8.067....2.027....5.219....4.654....1.352.... ...2.400....7.406....8.344....5.127....5.127....7.386....8.074....2.027....5.040....4.471....1.352.... success xdelta3: testing secondary_fgk... ...1.120....11.000....15.000....4.942....4.942....7.263....8.048....2.256....8.008....7.409....2.618.... success xdelta3: testing compressed_stream_overflow....................... success xdelta3: testing compressed_stream_overflow (XD3_SEC_LZMA)....................... success + RPM_EC=0 ++ jobs -p + exit 0 Processing files: xdelta-3.1.0-15.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qLKDGL + umask 022 + cd /builddir/build/BUILD + cd xdelta3-3.1.0 + DOCDIR=/builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x/usr/share/doc/xdelta + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x/usr/share/doc/xdelta + cp -pr README.md /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x/usr/share/doc/xdelta + cp -pr COPYING /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x/usr/share/doc/xdelta + RPM_EC=0 ++ jobs -p + exit 0 Provides: xdelta = 3.1.0-15.fc38 xdelta(s390-64) = 3.1.0-15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: xdelta-debugsource-3.1.0-15.fc38.s390x Provides: xdelta-debugsource = 3.1.0-15.fc38 xdelta-debugsource(s390-64) = 3.1.0-15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xdelta-debuginfo-3.1.0-15.fc38.s390x Provides: debuginfo(build-id) = 3905233f9de507583c66a5dbae08b716d68c3340 xdelta-debuginfo = 3.1.0-15.fc38 xdelta-debuginfo(s390-64) = 3.1.0-15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xdelta-debugsource(s390-64) = 3.1.0-15.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x Wrote: /builddir/build/RPMS/xdelta-debuginfo-3.1.0-15.fc38.s390x.rpm Wrote: /builddir/build/RPMS/xdelta-debugsource-3.1.0-15.fc38.s390x.rpm Wrote: /builddir/build/RPMS/xdelta-3.1.0-15.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mEZUMF + umask 022 + cd /builddir/build/BUILD + cd xdelta3-3.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xdelta-3.1.0-15.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.h2JsIu + umask 022 + cd /builddir/build/BUILD + rm -rf xdelta3-3.1.0 xdelta3-3.1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0