Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/xdelta.spec'], chrootPath='/var/lib/mock/f41-build-827774-155344/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cz81stf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cz81stf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'e4b63fe1e3724d1e9c2b7206e6fe27ae', '-D', '/var/lib/mock/f41-build-827774-155344/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cz81stf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/xdelta-3.1.0-19.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/xdelta.spec'], chrootPath='/var/lib/mock/f41-build-827774-155344/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cz81stf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cz81stf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '73d4fa31db3c458a8875f0bc5d981362', '-D', '/var/lib/mock/f41-build-827774-155344/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cz81stf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.7SfV03 + umask 022 + cd /builddir/build/BUILD/xdelta-3.1.0-build + test -d /builddir/build/BUILD/xdelta-3.1.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xdelta-3.1.0-build + /usr/bin/rm -rf /builddir/build/BUILD/xdelta-3.1.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/xdelta-3.1.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/xdelta-3.1.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y0I02Q + umask 022 + cd /builddir/build/BUILD/xdelta-3.1.0-build + cd /builddir/build/BUILD/xdelta-3.1.0-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 . + echo 'Patch #1 (xdelta-3.0.6-man-page-day.patch):' 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.2kLEK6 + umask 022 + cd /builddir/build/BUILD/xdelta-3.1.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking 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) 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 '982' 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 riscv64-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 checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking 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 -j64 V=1 VERBOSE=1 V=0 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CC xdelta3decode-xdelta3.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-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); | ^~~~~~ xdelta3.h:379:43: note: in definition of macro ‘short_sprintf’ 379 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ 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:970, from xdelta3.h:38: In function ‘snprintf’, inlined from ‘main_format_rate’ at xdelta3-main.h:638:3: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CCLD xdelta3decode make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CC testing/xdelta3checksum-checksum_test_c.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' 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 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: | ^~~~ 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.h:379:43: note: in definition of macro ‘short_sprintf’ 379 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ 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:970, 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:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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.h:379:43: note: in definition of macro ‘short_sprintf’ 379 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ 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:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:722: testing/../xdelta3-test.h: In function ‘test_appheader.constprop’: 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.constprop’ at testing/../xdelta3-test.h:2500:3: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 19472) into a destination of size 16384 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CC xdelta3-xdelta3.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-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.h:379:43: note: in definition of macro ‘short_sprintf’ 379 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ 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:970, 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:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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.h:379:43: note: in definition of macro ‘short_sprintf’ 379 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ 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:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from xdelta3.c:722: xdelta3-test.h: In function ‘test_appheader.constprop’: 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.constprop’ at xdelta3-test.h:2500:3: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 19472) into a destination of size 16384 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CCLD xdelta3 make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CC testing/xdelta3regtest-regtest_c.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-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.h:379:43: note: in definition of macro ‘short_sprintf’ 379 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ 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:970, 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:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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.h:379:43: note: in definition of macro ‘short_sprintf’ 379 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ 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:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:722: testing/../xdelta3-test.h: In function ‘test_appheader.constprop’: 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.constprop’ at testing/../xdelta3-test.h:2500:3: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 19472) into a destination of size 16384 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CXX testing/xdelta3regtest-regtest.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CXXLD xdelta3regtest make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CXX testing/xdelta3checksum-checksum_test.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' 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*]’ 809 | return &node->value(position); | ~~~~~~~~~~~^~~~~~~~~~ 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*]’ 270 | p_i != table.end() && p_i->first == word; | ^~~ 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]’ 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ 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]’ 1075 | internal_find_multi(key, iterator(root(), 0))); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 311 | return this->tree_.find_multi(key); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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*]’ 264 | table_iterator t_i = table.find(word); | ~~~~~~~~~~^~~~~~ 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]’ 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ 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*]’ 781 | increment_slow(); | ^~~~~~~~~~~~~~ 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*>]’ 813 | increment(); | ^~~~~~~~~ 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*]’ 271 | ++p_i) { | ^~~~~ 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]’ 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ 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]’ 1032 | return insert_multi(params_type::key(v), &v); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 322 | return this->tree_.insert_multi(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ 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*]’ 286 | table.insert(std::make_pair(word, ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ 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]’ 2319 | iter = internal_lower_bound(key, iter); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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]’ 1075 | internal_find_multi(key, iterator(root(), 0))); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 311 | return this->tree_.find_multi(key); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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*]’ 264 | table_iterator t_i = table.find(word); | ~~~~~~~~~~^~~~~~ 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]’ 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ 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]’ 1803 | iterator iter = internal_upper_bound(key, iterator(root(), 0)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1032 | return insert_multi(params_type::key(v), &v); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 322 | return this->tree_.insert_multi(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ 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*]’ 286 | table.insert(std::make_pair(word, ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ 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*]’ 790 | decrement_slow(); | ^~~~~~~~~~~~~~ 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*>]’ 817 | decrement(); | ^~~~~~~~~ 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]’ 2203 | --iter; | ^~~~~~ 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]’ 1807 | return internal_insert(iter, *value); | ^~~~~~~~~~~~~~~ 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]’ 1032 | return insert_multi(params_type::key(v), &v); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 322 | return this->tree_.insert_multi(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ 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*]’ 286 | table.insert(std::make_pair(word, ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ 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 ‘void btree::btree_node::set_child(int, btree::btree_node*) [with Params = btree::btree_map_params, std::allocator >, 256>]’, inlined from ‘void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]’ at testing/../cpp-btree/btree.h:2068:24: testing/../cpp-btree/btree.h:575:23: warning: array subscript ‘btree::btree_node, std::allocator >, 256> >[0]’ is partly outside array bounds of ‘unsigned char [384]’ [-Warray-bounds=] 575 | *mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/14/riscv64-redhat-linux/bits/c++allocator.h:33, from /usr/include/c++/14/bits/allocator.h:46, from /usr/include/c++/14/string:43, from testing/test.h:10, from testing/checksum_test.cc:3: In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char]’, inlined from ‘btree::btree::node_type* btree::btree::new_internal_node(node_type*) [with Params = btree::btree_map_params, std::allocator >, 256>]’ at testing/../cpp-btree/btree.h:1244:47, inlined from ‘void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]’ at testing/../cpp-btree/btree.h:2067:33: /usr/include/c++/14/bits/new_allocator.h:151:55: note: object of size 384 allocated by ‘operator new’ 151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function ‘void btree::btree_node::set_child(int, btree::btree_node*) [with Params = btree::btree_map_params, std::allocator >, 256>]’, inlined from ‘void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]’ at testing/../cpp-btree/btree.h:2068:24: testing/../cpp-btree/btree.h:576:23: warning: array subscript ‘btree::btree_node, std::allocator >, 256> >[0]’ is partly outside array bounds of ‘unsigned char [384]’ [-Warray-bounds=] 576 | c->fields_.parent = this; | ~~~~~~~~~~~~~~~~~~^~~~~~ In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char]’, inlined from ‘btree::btree::node_type* btree::btree::new_internal_node(node_type*) [with Params = btree::btree_map_params, std::allocator >, 256>]’ at testing/../cpp-btree/btree.h:1244:47, inlined from ‘void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]’ at testing/../cpp-btree/btree.h:2067:33: /usr/include/c++/14/bits/new_allocator.h:151:55: note: object of size 384 allocated by ‘operator new’ 151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ make[1]: Entering directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' CXXLD xdelta3checksum make[1]: Leaving directory '/builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7au462 + umask 022 + cd /builddir/build/BUILD/xdelta-3.1.0-build + '[' /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/xdelta-3.1.0-build + mkdir /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/BUILD/xdelta-3.1.0-build/BUILDROOT//usr/bin + mkdir -p /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT//usr/share/man/man1 + install -m755 xdelta3 /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT//usr/bin + install -m 644 xdelta3.1 /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT//usr/share/man/man1 + pushd /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT//usr/bin ~/build/BUILD/xdelta-3.1.0-build/BUILDROOT/usr/bin ~/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0 + ln -s xdelta3 xdelta + popd ~/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0 ~/build/BUILD/xdelta-3.1.0-build/BUILDROOT/usr/share/man/man1 ~/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0 + pushd /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT//usr/share/man/man1 + ln -s xdelta3.1 xdelta.1 + popd ~/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 3.1.0-19.fc41 --unique-debug-suffix -3.1.0-19.fc41.riscv64 --unique-debug-src-base xdelta-3.1.0-19.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xdelta-3.1.0-19.fc41.riscv64 1039 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT Scanned 13 directories and 18 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/xdelta-3.1.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uRP6vq + umask 022 + cd /builddir/build/BUILD/xdelta-3.1.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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-19.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MTKxy4 + umask 022 + cd /builddir/build/BUILD/xdelta-3.1.0-build + cd xdelta3-3.1.0 + DOCDIR=/builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT/usr/share/doc/xdelta + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT/usr/share/doc/xdelta + cp -pr /builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0/README.md /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT/usr/share/doc/xdelta + cp -pr /builddir/build/BUILD/xdelta-3.1.0-build/xdelta3-3.1.0/COPYING /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT/usr/share/doc/xdelta + RPM_EC=0 ++ jobs -p + exit 0 Provides: xdelta = 3.1.0-19.fc41 xdelta(riscv-64) = 3.1.0-19.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: xdelta-debugsource-3.1.0-19.fc41.riscv64 Provides: xdelta-debugsource = 3.1.0-19.fc41 xdelta-debugsource(riscv-64) = 3.1.0-19.fc41 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-19.fc41.riscv64 Provides: debuginfo(build-id) = d853e50e88f1d5823facd18360d69551ba23f101 xdelta-debuginfo = 3.1.0-19.fc41 xdelta-debuginfo(riscv-64) = 3.1.0-19.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xdelta-debugsource(riscv-64) = 3.1.0-19.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/xdelta-3.1.0-build/BUILDROOT Wrote: /builddir/build/RPMS/xdelta-3.1.0-19.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/xdelta-debugsource-3.1.0-19.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/xdelta-debuginfo-3.1.0-19.fc41.riscv64.rpm Child return code was: 0