Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xdelta.spec'], chrootPath='/var/lib/mock/f33-build-300084-56490/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/xdelta-3.1.0-11.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xdelta.spec'], chrootPath='/var/lib/mock/f33-build-300084-56490/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P5rgdP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xdelta3-3.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/xdelta3-3.1.0.tar.gz + /usr/bin/tar -xof - + 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 -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.Pv3qZQ + umask 022 + cd /builddir/build/BUILD + cd xdelta3-3.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2016-01-08 02:30:27.000000000 -0500 +++ ./configure 2020-08-14 23:53:15.931411170 -0400 @@ -1757,7 +1757,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-14 23:53:15.931411170 -0400 +++ ./configure 2020-08-14 23:53:17.181411093 -0400 @@ -5548,7 +5548,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -17766,7 +17766,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.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 + ./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... ./configure: line 5504: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking 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 '987' 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 -j4 V=1 VERBOSE=1 V=0 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC xdelta3decode-xdelta3.o In file included from xdelta3.c:2065, from xdelta3.c:658: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:867:20: 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:20: 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:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ In file included from xdelta3.c:267: xdelta3-main.h: In function 'main_format_rate': xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ In file included from xdelta3.c:718: xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:866, from xdelta3.h:38, from xdelta3.c:267: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC xdelta3-xdelta3.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' In file included from xdelta3.c:718: xdelta3-main.h: In function 'main_file_read': xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ xdelta3-main.h: In function 'main_file_write': xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ In file included from xdelta3.c:718: xdelta3-main.h: In function 'main_pipe_write': xdelta3-main.h:2118:7: 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:20: 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:20: 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:20: 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:658: xdelta3.c: In function 'xd3_encode_input': xdelta3.c:3151:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3151 | if (stream->avail_in > 0) | ^ xdelta3.c:3166:6: 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: | ^~~~ In file included from xdelta3.c:718: xdelta3-main.h: In function 'main': xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ xdelta3-main.h:3758:2: 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:267: xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ In file included from xdelta3.c:718: xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:866, from xdelta3.h:38, from xdelta3.c:267: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xdelta3.c:267: xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ In file included from xdelta3.c:718: xdelta3-main.h:638:27: note: format string is defined here 638 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:866, from xdelta3.h:38, from xdelta3.c:267: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xdelta3.c:722: xdelta3-test.h: In function 'xd3_selftest': xdelta3-test.h:2501:17: 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 file included from /usr/include/stdio.h:866, from xdelta3.h:38, from xdelta3.c:267: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC testing/xdelta3regtest-regtest_c.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ testing/../xdelta3-main.h: In function 'main_file_write': testing/../xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:7: 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, from testing/regtest_c.c:2: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:20: 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:20: 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:20: 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, from testing/regtest_c.c:2: 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:8: note: in expansion of macro 'XD3_ASSERT' 3164 | XD3_ASSERT (stream->match_fwd == 0); | ^~~~~~~~~~ In file included from testing/../xdelta3.c:658, from testing/regtest_c.c:2: testing/../xdelta3.c:3166:6: 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: | ^~~~ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:2: 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:267, from testing/regtest_c.c:2: 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); | ^~~~~~ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: 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:866, from testing/../xdelta3.h:38, from testing/../xdelta3.c:267, from testing/regtest_c.c:2: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:267, from testing/regtest_c.c:2: 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); | ^~~~~~ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: 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:866, from testing/../xdelta3.h:38, from testing/../xdelta3.c:267, from testing/regtest_c.c:2: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:722, from testing/regtest_c.c:2: testing/../xdelta3-test.h: In function 'xd3_selftest': testing/../xdelta3-test.h:2501:17: 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 file included from /usr/include/stdio.h:866, from testing/../xdelta3.h:38, from testing/../xdelta3.c:267, from testing/regtest_c.c:2: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CCLD xdelta3 make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CCLD xdelta3decode make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CC testing/xdelta3checksum-checksum_test_c.o make[1]: Leaving directory '/builddir/build/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); | ^ In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:7: 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, from testing/checksum_test_c.c:1: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:20: 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:20: 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:20: 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:658, from testing/checksum_test_c.c:1: testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.c:3151:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3151 | if (stream->avail_in > 0) | ^ testing/../xdelta3.c:3166:6: 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: | ^~~~ In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:2: 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:267, from testing/checksum_test_c.c:1: 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); | ^~~~~~ In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: 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:866, from testing/../xdelta3.h:38, from testing/../xdelta3.c:267, from testing/checksum_test_c.c:1: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:267, from testing/checksum_test_c.c:1: 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); | ^~~~~~ In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: 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:866, from testing/../xdelta3.h:38, from testing/../xdelta3.c:267, from testing/checksum_test_c.c:1: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 50 bytes into a destination of size 48 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:722, from testing/checksum_test_c.c:1: testing/../xdelta3-test.h: In function 'xd3_selftest': testing/../xdelta3-test.h:2501:17: 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 file included from /usr/include/stdio.h:866, from testing/../xdelta3.h:38, from testing/../xdelta3.c:267, from testing/checksum_test_c.c:1: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXX testing/xdelta3regtest-regtest.o make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXXLD xdelta3regtest make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXX testing/xdelta3checksum-checksum_test.o make[1]: Leaving directory '/builddir/build/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>; btree::btree_node::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*; btree::btree_iterator::pointer = std::pair*]' testing/checksum_test.cc:270:27: required from 'void file_stats::update(file_stats::word_type, file_stats::ptr_type) [with Word = long unsigned int; file_stats::word_type = long unsigned int; file_stats::ptr_type = const unsigned char*; uint8_t = unsigned char]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:557:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 557 | return reinterpret_cast(fields_.values[i]); | ~~~~~~~~~~~~~~^ testing/../cpp-btree/btree.h: In instantiation of 'IterType btree::btree::internal_find_multi(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; btree::btree::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>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::key_type = long unsigned int]' testing/../cpp-btree/btree_container.h:311:34: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::find(const key_type&) [with Tree = btree::btree, std::allocator >, 256> >; btree::btree_multi_container::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree_multi_container::key_type = long unsigned int]' testing/checksum_test.cc:264:36: required from 'void file_stats::update(file_stats::word_type, file_stats::ptr_type) [with Word = long unsigned int; file_stats::word_type = long unsigned int; file_stats::ptr_type = const unsigned char*; uint8_t = unsigned char]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:2319:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2319 | iter = internal_lower_bound(key, iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::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*; btree::btree_iterator::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'void btree::btree_iterator::increment_slow() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]': testing/../cpp-btree/btree.h:781:5: required from 'void btree::btree_iterator::increment() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]' testing/../cpp-btree/btree.h:813:5: required from 'btree::btree_iterator::self_type& btree::btree_iterator::operator++() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::self_type = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' testing/checksum_test.cc:271:5: required from 'void file_stats::update(file_stats::word_type, file_stats::ptr_type) [with Word = long unsigned int; file_stats::word_type = long unsigned int; file_stats::ptr_type = const unsigned char*; uint8_t = unsigned char]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:1673:13: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1673 | *this = save; | ~~~~~~^~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::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>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::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>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::value_type = std::pair]' testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; btree::btree_multi_container::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree_multi_container::value_type = std::pair]' testing/checksum_test.cc:286:17: required from 'void file_stats::update(file_stats::word_type, file_stats::ptr_type) [with Word = long unsigned int; file_stats::word_type = long unsigned int; file_stats::ptr_type = const unsigned char*; uint8_t = unsigned char]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:1805:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1805 | iter = end(); | ~~~~~^~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::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>; btree::btree::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>; btree::btree::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>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::key_type = long unsigned int]' testing/../cpp-btree/btree_container.h:311:34: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::find(const key_type&) [with Tree = btree::btree, std::allocator >, 256> >; btree::btree_multi_container::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree_multi_container::key_type = long unsigned int]' testing/checksum_test.cc:264:36: required from 'void file_stats::update(file_stats::word_type, file_stats::ptr_type) [with Word = long unsigned int; file_stats::word_type = long unsigned int; file_stats::ptr_type = const unsigned char*; uint8_t = unsigned char]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:2276:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2276 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::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>; btree::btree::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>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::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>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::value_type = std::pair]' testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; btree::btree_multi_container::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree_multi_container::value_type = std::pair]' testing/checksum_test.cc:286:17: required from 'void file_stats::update(file_stats::word_type, file_stats::ptr_type) [with Word = long unsigned int; file_stats::word_type = long unsigned int; file_stats::ptr_type = const unsigned char*; uint8_t = unsigned char]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:2292:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2292 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'void btree::btree_iterator::decrement_slow() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]': testing/../cpp-btree/btree.h:790:5: required from 'void btree::btree_iterator::decrement() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]' testing/../cpp-btree/btree.h:817:5: required from 'btree::btree_iterator::self_type& btree::btree_iterator::operator--() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::self_type = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' testing/../cpp-btree/btree.h:2203:5: required from 'btree::btree::iterator btree::btree::internal_insert(btree::btree::iterator, const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::value_type = std::pair]' testing/../cpp-btree/btree.h:1807:10: required from 'btree::btree::iterator btree::btree::insert_multi(const key_type&, ValuePointer) [with ValuePointer = const std::pair*; Params = btree::btree_map_params, std::allocator >, 256>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::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>; btree::btree::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree::value_type = std::pair]' testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; btree::btree_multi_container::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; btree::btree_multi_container::value_type = std::pair]' testing/checksum_test.cc:286:17: required from 'void file_stats::update(file_stats::word_type, file_stats::ptr_type) [with Word = long unsigned int; file_stats::word_type = long unsigned int; file_stats::ptr_type = const unsigned char*; uint8_t = unsigned char]' testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' testing/checksum_test.cc:521:8: required from here testing/../cpp-btree/btree.h:1713:13: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1713 | *this = save; | ~~~~~~^~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; btree::btree_iterator::iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xdelta3-3.1.0' CXXLD xdelta3checksum make[1]: Leaving directory '/builddir/build/BUILD/xdelta3-3.1.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZyETiP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64 + cd xdelta3-3.1.0 + mkdir -p /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64//usr/bin + mkdir -p /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64//usr/share/man/man1 + install -m755 xdelta3 /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64//usr/bin + install -m 644 xdelta3.1 /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64//usr/share/man/man1 + pushd /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64//usr/bin ~/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/bin ~/build/BUILD/xdelta3-3.1.0 + ln -s xdelta3 xdelta + popd ~/build/BUILD/xdelta3-3.1.0 ~/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/share/man/man1 ~/build/BUILD/xdelta3-3.1.0 + pushd /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64//usr/share/man/man1 + ln -s xdelta3.1 xdelta.1 + popd ~/build/BUILD/xdelta3-3.1.0 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1.0-11.fc33 --unique-debug-suffix -3.1.0-11.fc33.riscv64 --unique-debug-src-base xdelta-3.1.0-11.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xdelta3-3.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/bin/xdelta3 extracting debug info from /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/bin/xdelta3 original debug info size: 1988kB, size after compression: 1972kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1039 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.aMDwTR + umask 022 + cd /builddir/build/BUILD + 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-11.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QRNRNO + umask 022 + cd /builddir/build/BUILD + cd xdelta3-3.1.0 + DOCDIR=/builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/share/doc/xdelta + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/share/doc/xdelta + cp -pr README.md /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/share/doc/xdelta + cp -pr COPYING /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64/usr/share/doc/xdelta + RPM_EC=0 ++ jobs -p + exit 0 Provides: xdelta = 3.1.0-11.fc33 xdelta(riscv-64) = 3.1.0-11.fc33 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) 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-11.fc33.riscv64 Provides: xdelta-debugsource = 3.1.0-11.fc33 xdelta-debugsource(riscv-64) = 3.1.0-11.fc33 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-11.fc33.riscv64 Provides: debuginfo(build-id) = b6b3b4b00487bed882573a6891c74f2d2dfc9ea1 xdelta-debuginfo = 3.1.0-11.fc33 xdelta-debuginfo(riscv-64) = 3.1.0-11.fc33 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-11.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64 Wrote: /builddir/build/RPMS/xdelta-3.1.0-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xdelta-debugsource-3.1.0-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xdelta-debuginfo-3.1.0-11.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bTqM9O + umask 022 + cd /builddir/build/BUILD + cd xdelta3-3.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xdelta-3.1.0-11.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0