Diff of the two buildlogs: -- --- b1/build.log 2025-08-26 01:38:15.376601377 +0000 +++ b2/build.log 2025-08-26 02:02:28.522437611 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 25 13:26:27 -12 2025 -I: pbuilder-time-stamp: 1756171587 +I: Current time: Mon Sep 28 22:01:17 +14 2026 +I: pbuilder-time-stamp: 1790582477 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -25,53 +25,85 @@ dpkg-source: info: applying manpage_lzma I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2313586/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 28 08:01 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='995d77f82198430a95c8e2df9f3ea38c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2313586' - PS1='# ' - PS2='> ' + INVOCATION_ID=12b054ab3563407e93013d75b171f1ef + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=48396 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.UAbFlS3s/pbuilderrc_iVhI --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UAbFlS3s/b1 --logfile b1/build.log xdelta3_3.0.11-dfsg-1.2.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.UAbFlS3s/pbuilderrc_mG2h --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UAbFlS3s/b2 --logfile b2/build.log xdelta3_3.0.11-dfsg-1.2.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2313586/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -139,7 +171,7 @@ Get: 28 http://deb.debian.org/debian forky/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian forky/main amd64 debhelper all 13.25 [937 kB] Get: 30 http://deb.debian.org/debian forky/main amd64 liblzma-dev amd64 5.8.1-1 [348 kB] -Fetched 11.5 MB in 2s (5362 kB/s) +Fetched 11.5 MB in 4s (2870 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19855 files and directories currently installed.) @@ -279,7 +311,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/xdelta3-3.0.11-dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../xdelta3_3.0.11-dfsg-1.2_source.changes +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xdelta3-3.0.11-dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../xdelta3_3.0.11-dfsg-1.2_source.changes dpkg-buildpackage: info: source package xdelta3 dpkg-buildpackage: info: source version 3.0.11-dfsg-1.2 dpkg-buildpackage: info: source distribution unstable @@ -397,8 +433,8 @@ checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking xargs -n works... yes -checking whether UID '1111' is supported by ustar format... yes -checking whether GID '1111' is supported by ustar format... yes +checking whether UID '2222' is supported by ustar format... yes +checking whether GID '2222' 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 @@ -437,7 +473,7 @@ config.status: executing libtool commands config.status: executing depfiles commands dh_auto_build - make -j40 + make -j42 make[1]: Entering directory '/build/reproducible-path/xdelta3-3.0.11-dfsg' make all-am make[2]: Entering directory '/build/reproducible-path/xdelta3-3.0.11-dfsg' @@ -596,6 +632,15 @@ xdelta3-decode.h:705:5: note: here 705 | case DEC_ADDR: | ^~~~ +In file included from xdelta3.c:740: +xdelta3-main.h: In function 'main_file_read': +xdelta3-main.h:1049:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, long unsigned int)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] + 1049 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); + | ^ +xdelta3-main.h: In function 'main_file_write': +xdelta3-main.h:1083: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 *, unsigned int)'} [-Wcast-function-type] + 1083 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); + | ^ In file included from testing/../xdelta3.c:740, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_file_read': @@ -606,408 +651,382 @@ testing/../xdelta3-main.h:1083: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 *, unsigned int)'} [-Wcast-function-type] 1083 | 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:2091: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 *, unsigned int)'} [-Wcast-function-type] - 2091 | (xd3_posix_func*) &write, NULL))) - | ^ -In file included from xdelta3.c:740: -xdelta3-main.h: In function 'main_file_read': -xdelta3-main.h:1049:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, long unsigned int)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] - 1049 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); - | ^ -xdelta3-main.h: In function 'main_file_write': -xdelta3-main.h:1083: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 *, unsigned int)'} [-Wcast-function-type] - 1083 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); - | ^ xdelta3-main.h: In function 'main_pipe_write': xdelta3-main.h:2091: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 *, unsigned int)'} [-Wcast-function-type] 2091 | (xd3_posix_func*) &write, NULL))) | ^ -In file included from testing/../xdelta3.c:2108, - from testing/../xdelta3.c:680: -testing/../xdelta3-decode.h: In function 'xd3_decode_input': -testing/../xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-main.h: In function 'main_pipe_write': +testing/../xdelta3-main.h:2091: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 *, unsigned int)'} [-Wcast-function-type] + 2091 | (xd3_posix_func*) &write, NULL))) + | ^ +In file included from xdelta3.c:2108, + from xdelta3.c:680: +xdelta3-decode.h: In function 'xd3_decode_input': +xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 865 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -testing/../xdelta3-decode.h:867:5: note: here +xdelta3-decode.h:867:5: note: here 867 | case DEC_HDRIND: | ^~~~ -testing/../xdelta3-decode.h:880:27: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:880:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 880 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -testing/../xdelta3-decode.h:883:5: note: here +xdelta3-decode.h:883:5: note: here 883 | case DEC_SECONDID: | ^~~~ -testing/../xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 885 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ -testing/../xdelta3-decode.h:903:5: note: here +xdelta3-decode.h:903:5: note: here 903 | case DEC_TABLEN: | ^~~~ -testing/../xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 909 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ -testing/../xdelta3-decode.h:916:5: note: here +xdelta3-decode.h:916:5: note: here 916 | case DEC_NEAR: | ^~~~ -testing/../xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -testing/../xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE' +xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE' 918 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ -testing/../xdelta3-decode.h:920:5: note: here +xdelta3-decode.h:920:5: note: here 920 | case DEC_SAME: | ^~~~ -testing/../xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -testing/../xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE' +xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE' 922 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ -testing/../xdelta3-decode.h:924:5: note: here +xdelta3-decode.h:924:5: note: here 924 | case DEC_TABDAT: | ^~~~ -testing/../xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 942 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -testing/../xdelta3-decode.h:944:5: note: here +xdelta3-decode.h:944:5: note: here 944 | case DEC_APPLEN: | ^~~~ -testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -testing/../xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE' +xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE' 946 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ -testing/../xdelta3-decode.h:949:5: note: here +xdelta3-decode.h:949:5: note: here 949 | case DEC_APPDAT: | ^~~~ -testing/../xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 981 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -testing/../xdelta3-decode.h:983:5: note: here +xdelta3-decode.h:983:5: note: here 983 | case DEC_WININD: | ^~~~ -testing/../xdelta3-decode.h:1009:27: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:1009:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1009 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -testing/../xdelta3-decode.h:1015:5: note: here +xdelta3-decode.h:1015:5: note: here 1015 | case DEC_CPYLEN: | ^~~~ -testing/../xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1024 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -testing/../xdelta3-decode.h:1026:5: note: here +xdelta3-decode.h:1026:5: note: here 1026 | case DEC_CPYOFF: | ^~~~ -testing/../xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1041 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ -testing/../xdelta3-decode.h:1049:5: note: here +xdelta3-decode.h:1049:5: note: here 1049 | case DEC_ENCLEN: | ^~~~ -testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -testing/../xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE' +xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE' 1051 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ -testing/../xdelta3-decode.h:1052:5: note: here +xdelta3-decode.h:1052:5: note: here 1052 | case DEC_TGTLEN: | ^~~~ -testing/../xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1072 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -testing/../xdelta3-decode.h:1074:5: note: here +xdelta3-decode.h:1074:5: note: here 1074 | case DEC_DELIND: | ^~~~ -testing/../xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1085 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ -testing/../xdelta3-decode.h:1092:5: note: here +xdelta3-decode.h:1092:5: note: here 1092 | case DEC_DATALEN: | ^~~~ -testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -testing/../xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE' +xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE' 1093 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ -testing/../xdelta3-decode.h:1094:5: note: here +xdelta3-decode.h:1094:5: note: here 1094 | case DEC_INSTLEN: | ^~~~ -testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -testing/../xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE' +xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE' 1095 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ -testing/../xdelta3-decode.h:1096:5: note: here +xdelta3-decode.h:1096:5: note: here 1096 | case DEC_ADDRLEN: | ^~~~ -testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -testing/../xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE' +xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE' 1097 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ -testing/../xdelta3-decode.h:1099:5: note: here +xdelta3-decode.h:1099:5: note: here 1099 | case DEC_CKSUM: | ^~~~ -testing/../xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1148 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ -testing/../xdelta3-decode.h:1150:5: note: here +xdelta3-decode.h:1150:5: note: here 1150 | case DEC_EMIT: | ^~~~ -testing/../xdelta3-decode.h: In function 'xd3_decode_sections': -testing/../xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h: In function 'xd3_decode_sections': +xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 700 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ -testing/../xdelta3-decode.h:702:5: note: here +xdelta3-decode.h:702:5: note: here 702 | case DEC_INST: | ^~~~ -testing/../xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ -testing/../xdelta3-decode.h:705:5: note: here +xdelta3-decode.h:705:5: note: here 705 | case DEC_ADDR: | ^~~~ -In file included from testing/../xdelta3.c:267: -testing/../xdelta3.c: In function 'xd3_encode_input': -testing/../xdelta3.h:342:13: warning: this statement may fall through [-Wimplicit-fallthrough=] - 342 | do { if (! (x)) { DP(RINT "%s:%d: XD3 assertion failed: %s\n", __FILE__, __LINE__, #x); \ - | ^ -testing/../xdelta3.c:3195:15: note: in expansion of macro 'XD3_ASSERT' - 3195 | XD3_ASSERT (stream->match_fwd == 0); - | ^~~~~~~~~~ -testing/../xdelta3.c:3197:13: note: here +xdelta3.c: In function 'xd3_encode_input': +xdelta3.c:3182:18: warning: this statement may fall through [-Wimplicit-fallthrough=] + 3182 | if (stream->avail_in > 0) + | ^ +xdelta3.c:3197:13: note: here 3197 | case MATCH_FORWARD: | ^~~~ -testing/../xdelta3.c:3121:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3.c:3121:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3121 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -testing/../xdelta3.c:3123:5: note: here +xdelta3.c:3123:5: note: here 3123 | case ENC_INPUT: | ^~~~ -testing/../xdelta3.c:3232:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3.c:3232:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3232 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -testing/../xdelta3.c:3234:5: note: here +xdelta3.c:3234:5: note: here 3234 | case ENC_INSTR: | ^~~~ -testing/../xdelta3.c:3246:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3.c:3246:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3246 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -testing/../xdelta3.c:3248:5: note: here +xdelta3.c:3248:5: note: here 3248 | case ENC_FLUSH: | ^~~~ -testing/../xdelta3.c:3278:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +xdelta3.c:3278:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3278 | if (stream->avail_out > 0) | ^ -testing/../xdelta3.c:3284:5: note: here +xdelta3.c:3284:5: note: here 3284 | case ENC_POSTOUT: | ^~~~ -In file included from xdelta3.c:2108, - from xdelta3.c:680: -xdelta3-decode.h: In function 'xd3_decode_input': -xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] +In file included from testing/../xdelta3.c:2108, + from testing/../xdelta3.c:680: +testing/../xdelta3-decode.h: In function 'xd3_decode_input': +testing/../xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 865 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -xdelta3-decode.h:867:5: note: here +testing/../xdelta3-decode.h:867:5: note: here 867 | case DEC_HDRIND: | ^~~~ -xdelta3-decode.h:880:27: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:880:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 880 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -xdelta3-decode.h:883:5: note: here +testing/../xdelta3-decode.h:883:5: note: here 883 | case DEC_SECONDID: | ^~~~ -xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 885 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ -xdelta3-decode.h:903:5: note: here +testing/../xdelta3-decode.h:903:5: note: here 903 | case DEC_TABLEN: | ^~~~ -xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 909 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ -xdelta3-decode.h:916:5: note: here +testing/../xdelta3-decode.h:916:5: note: here 916 | case DEC_NEAR: | ^~~~ -xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE' +testing/../xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE' 918 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ -xdelta3-decode.h:920:5: note: here +testing/../xdelta3-decode.h:920:5: note: here 920 | case DEC_SAME: | ^~~~ -xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE' +testing/../xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE' 922 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ -xdelta3-decode.h:924:5: note: here +testing/../xdelta3-decode.h:924:5: note: here 924 | case DEC_TABDAT: | ^~~~ -xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 942 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -xdelta3-decode.h:944:5: note: here +testing/../xdelta3-decode.h:944:5: note: here 944 | case DEC_APPLEN: | ^~~~ -xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE' +testing/../xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE' 946 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ -xdelta3-decode.h:949:5: note: here +testing/../xdelta3-decode.h:949:5: note: here 949 | case DEC_APPDAT: | ^~~~ -xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 981 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -xdelta3-decode.h:983:5: note: here +testing/../xdelta3-decode.h:983:5: note: here 983 | case DEC_WININD: | ^~~~ -xdelta3-decode.h:1009:27: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:1009:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1009 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -xdelta3-decode.h:1015:5: note: here +testing/../xdelta3-decode.h:1015:5: note: here 1015 | case DEC_CPYLEN: | ^~~~ -xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1024 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -xdelta3-decode.h:1026:5: note: here +testing/../xdelta3-decode.h:1026:5: note: here 1026 | case DEC_CPYOFF: | ^~~~ -xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1041 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ -xdelta3-decode.h:1049:5: note: here +testing/../xdelta3-decode.h:1049:5: note: here 1049 | case DEC_ENCLEN: | ^~~~ -xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE' +testing/../xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE' 1051 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ -xdelta3-decode.h:1052:5: note: here +testing/../xdelta3-decode.h:1052:5: note: here 1052 | case DEC_TGTLEN: | ^~~~ -xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1072 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xdelta3-decode.h:1074:5: note: here +testing/../xdelta3-decode.h:1074:5: note: here 1074 | case DEC_DELIND: | ^~~~ -xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1085 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ -xdelta3-decode.h:1092:5: note: here +testing/../xdelta3-decode.h:1092:5: note: here 1092 | case DEC_DATALEN: | ^~~~ -xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE' +testing/../xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE' 1093 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ -xdelta3-decode.h:1094:5: note: here +testing/../xdelta3-decode.h:1094:5: note: here 1094 | case DEC_INSTLEN: | ^~~~ -xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE' +testing/../xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE' 1095 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ -xdelta3-decode.h:1096:5: note: here +testing/../xdelta3-decode.h:1096:5: note: here 1096 | case DEC_ADDRLEN: | ^~~~ -xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE' +testing/../xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE' 1097 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ -xdelta3-decode.h:1099:5: note: here +testing/../xdelta3-decode.h:1099:5: note: here 1099 | case DEC_CKSUM: | ^~~~ -xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1148 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ -xdelta3-decode.h:1150:5: note: here +testing/../xdelta3-decode.h:1150:5: note: here 1150 | case DEC_EMIT: | ^~~~ -xdelta3-decode.h: In function 'xd3_decode_sections': -xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h: In function 'xd3_decode_sections': +testing/../xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 700 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ -xdelta3-decode.h:702:5: note: here +testing/../xdelta3-decode.h:702:5: note: here 702 | case DEC_INST: | ^~~~ -xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ -xdelta3-decode.h:705:5: note: here +testing/../xdelta3-decode.h:705:5: note: here 705 | case DEC_ADDR: | ^~~~ -xdelta3.c: In function 'xd3_encode_input': -xdelta3.c:3182:18: warning: this statement may fall through [-Wimplicit-fallthrough=] - 3182 | if (stream->avail_in > 0) - | ^ -xdelta3.c:3197:13: note: here +In file included from testing/../xdelta3.c:267: +testing/../xdelta3.c: In function 'xd3_encode_input': +testing/../xdelta3.h:342:13: warning: this statement may fall through [-Wimplicit-fallthrough=] + 342 | do { if (! (x)) { DP(RINT "%s:%d: XD3 assertion failed: %s\n", __FILE__, __LINE__, #x); \ + | ^ +testing/../xdelta3.c:3195:15: note: in expansion of macro 'XD3_ASSERT' + 3195 | XD3_ASSERT (stream->match_fwd == 0); + | ^~~~~~~~~~ +testing/../xdelta3.c:3197:13: note: here 3197 | case MATCH_FORWARD: | ^~~~ -xdelta3.c:3121:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3.c:3121:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3121 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -testing/../xdelta3-main.h: In function 'xd3_main_cmdline': -xdelta3.c:3123:5: note: here +testing/../xdelta3.c:3123:5: note: here 3123 | case ENC_INPUT: | ^~~~ -xdelta3.c:3232:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3.c:3232:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3232 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -xdelta3.c:3234:5: note: here +testing/../xdelta3.c:3234:5: note: here 3234 | case ENC_INSTR: | ^~~~ -xdelta3.c:3246:25: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3.c:3246:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3246 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -testing/../xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] - 3725 | option_force2 = 1; - | ~~~~~~~~~~~~~~^~~ -xdelta3.c:3248:5: note: here +testing/../xdelta3.c:3248:5: note: here 3248 | case ENC_FLUSH: | ^~~~ -xdelta3.c:3278:10: warning: this statement may fall through [-Wimplicit-fallthrough=] +testing/../xdelta3.c:3278:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3278 | if (stream->avail_out > 0) | ^ -xdelta3.c:3284:5: note: here +testing/../xdelta3.c:3284:5: note: here 3284 | case ENC_POSTOUT: | ^~~~ -testing/../xdelta3-main.h:3731:9: note: here - 3731 | case 'v': option_verbose += 1; option_quiet = 0; break; - | ^~~~ -testing/../xdelta3-main.h: In function 'main_input': -testing/../xdelta3-main.h:2998:15: warning: statement will never be executed [-Wswitch-unreachable] - 2998 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } - | ^ -testing/../xdelta3-main.h:2999:15: warning: this statement may fall through [-Wimplicit-fallthrough=] - 2999 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } - | ^ -testing/../xdelta3-main.h:3000:21: note: here - 3000 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } - | ^~~~ xdelta3-main.h: In function 'main': xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3725 | option_force2 = 1; @@ -1025,52 +1044,6 @@ xdelta3-main.h:3000:21: note: here 3000 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ -In file included from testing/../xdelta3.c:744: -testing/../xdelta3-test.h: In function 'test_source_cksum_offset': -testing/../xdelta3-test.h:2848:15: warning: storing the address of local variable 'source' in '*stream.src' [-Wdangling-pointer=] - 2848 | stream->src = &source; - | ~~~~~~~~~~~~^~~~~~~~~ -testing/../xdelta3-test.h:2818:14: note: 'source' declared here - 2818 | xd3_source source; - | ^~~~~~ -testing/../xdelta3-test.h:2816:39: note: 'stream' declared here - 2816 | test_source_cksum_offset (xd3_stream *stream, int ignore) - | ~~~~~~~~~~~~^~~~~~ -In file included from xdelta3.c:744: -xdelta3-test.h: In function 'test_source_cksum_offset': -xdelta3-test.h:2848:15: warning: storing the address of local variable 'source' in '*stream.src' [-Wdangling-pointer=] - 2848 | stream->src = &source; - | ~~~~~~~~~~~~^~~~~~~~~ -xdelta3-test.h:2818:14: note: 'source' declared here - 2818 | xd3_source source; - | ^~~~~~ -xdelta3-test.h:2816:39: note: 'stream' declared here - 2816 | test_source_cksum_offset (xd3_stream *stream, int ignore) - | ~~~~~~~~~~~~^~~~~~ -In file included from xdelta3.c:268: -xdelta3-main.h: In function 'main_format_rate': -xdelta3-main.h:627:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] - 627 | short_sprintf (*buf, "%s/s", lbuf.buf); - | ^~~~~~ -xdelta3-internal.h:137:43: note: in definition of macro 'short_sprintf' - 137 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) - | ^~~ -In file included from xdelta3.c:740: -xdelta3-main.h:627:27: note: format string is defined here - 627 | short_sprintf (*buf, "%s/s", lbuf.buf); - | ^~ -In file included from /usr/include/stdio.h:970, - from xdelta3.h:38, - from xdelta3.c:267: -In function 'snprintf', - inlined from 'main_format_rate' at xdelta3-main.h:627:3: -/usr/include/x86_64-linux-gnu/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/regtest.cc:30: testing/file.h:69:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 69 | DP(RINT "%5"Q"x: ", pos); @@ -1130,26 +1103,78 @@ testing/regtest.cc:374:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 374 | snprintf_func (buf, sizeof(buf), "%"Q"u", x); | ^ +testing/../xdelta3-main.h: In function 'xd3_main_cmdline': +testing/../xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 3725 | option_force2 = 1; + | ~~~~~~~~~~~~~~^~~ +testing/../xdelta3-main.h:3731:9: note: here + 3731 | case 'v': option_verbose += 1; option_quiet = 0; break; + | ^~~~ testing/regtest.cc:816:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 816 | IF_DEBUG1(DP(RINT "[stride=%d] changes=%u adds=%"Q"u\n", | ^ testing/regtest.cc:1262:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1262 | XPR(NT "Blocksize %"Q"u windowsize %"Z"u\n", | ^ +testing/../xdelta3-main.h: In function 'main_input': +testing/../xdelta3-main.h:2998:15: warning: statement will never be executed [-Wswitch-unreachable] + 2998 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } + | ^ testing/regtest.cc:1262:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1262 | XPR(NT "Blocksize %"Q"u windowsize %"Z"u\n", | ^ -In file included from testing/../xdelta3.c:706: -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]; - | ^~~~ +testing/../xdelta3-main.h:2999:15: warning: this statement may fall through [-Wimplicit-fallthrough=] + 2999 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } + | ^ +testing/../xdelta3-main.h:3000:21: note: here + 3000 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } + | ^~~~ +In file included from xdelta3.c:744: +xdelta3-test.h: In function 'test_source_cksum_offset': +xdelta3-test.h:2848:15: warning: storing the address of local variable 'source' in '*stream.src' [-Wdangling-pointer=] + 2848 | stream->src = &source; + | ~~~~~~~~~~~~^~~~~~~~~ +xdelta3-test.h:2818:14: note: 'source' declared here + 2818 | xd3_source source; + | ^~~~~~ +xdelta3-test.h:2816:39: note: 'stream' declared here + 2816 | test_source_cksum_offset (xd3_stream *stream, int ignore) + | ~~~~~~~~~~~~^~~~~~ +In file included from testing/../xdelta3.c:744: +testing/../xdelta3-test.h: In function 'test_source_cksum_offset': +testing/../xdelta3-test.h:2848:15: warning: storing the address of local variable 'source' in '*stream.src' [-Wdangling-pointer=] + 2848 | stream->src = &source; + | ~~~~~~~~~~~~^~~~~~~~~ +testing/../xdelta3-test.h:2818:14: note: 'source' declared here + 2818 | xd3_source source; + | ^~~~~~ +testing/../xdelta3-test.h:2816:39: note: 'stream' declared here + 2816 | test_source_cksum_offset (xd3_stream *stream, int ignore) + | ~~~~~~~~~~~~^~~~~~ +In file included from xdelta3.c:268: +xdelta3-main.h: In function 'main_format_rate': +xdelta3-main.h:627:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] + 627 | short_sprintf (*buf, "%s/s", lbuf.buf); + | ^~~~~~ +xdelta3-internal.h:137:43: note: in definition of macro 'short_sprintf' + 137 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) + | ^~~ +In file included from xdelta3.c:740: +xdelta3-main.h:627:27: note: format string is defined here + 627 | short_sprintf (*buf, "%s/s", lbuf.buf); + | ^~ +In file included from /usr/include/stdio.h:970, + from xdelta3.h:38, + from xdelta3.c:267: +In function 'snprintf', + inlined from 'main_format_rate' at xdelta3-main.h:627:3: +/usr/include/x86_64-linux-gnu/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:706: In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at xdelta3-djw.h:1629:10, @@ -1161,8 +1186,19 @@ 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]; | ^~~~ -/bin/bash ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -o xdelta3decode xdelta3decode-xdelta3.o -llzma +/bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -o xdelta3decode xdelta3decode-xdelta3.o -llzma libtool: link: gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o xdelta3decode xdelta3decode-xdelta3.o -llzma +In file included from testing/../xdelta3.c:706: +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 xdelta3.c:268: In function 'main_format_rate', inlined from 'main_input' at xdelta3-main.h:3317:4: @@ -1211,6 +1247,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +xdelta3-test.h: In function 'xd3_selftest': +xdelta3-test.h:2455:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] + 2455 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, + | ^~ ~~~~~ +In function 'snprintf', + inlined from 'test_appheader' at xdelta3-test.h:2454:3, + inlined from 'xd3_selftest' at xdelta3-test.h:2954:3: +/usr/include/x86_64-linux-gnu/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 ()); + | ~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:268: In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3317:4: @@ -1258,6 +1308,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +/bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -o xdelta3 xdelta3-xdelta3.o -lm -llzma +libtool: link: gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o xdelta3 xdelta3-xdelta3.o -lm -llzma testing/../xdelta3-test.h: In function 'test_appheader.constprop': testing/../xdelta3-test.h:2455:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] 2455 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, @@ -1271,23 +1323,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -xdelta3-test.h: In function 'xd3_selftest': -xdelta3-test.h:2455:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] - 2455 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, - | ^~ ~~~~~ -In function 'snprintf', - inlined from 'test_appheader' at xdelta3-test.h:2454:3, - inlined from 'xd3_selftest' at xdelta3-test.h:2954:3: -/usr/include/x86_64-linux-gnu/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 ()); - | ~~~~~~~~~~~~~~~~~ -/bin/bash ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -o xdelta3 xdelta3-xdelta3.o -lm -llzma -libtool: link: gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o xdelta3 xdelta3-xdelta3.o -lm -llzma -/bin/bash ./libtool --tag=CXX --mode=link g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma +/bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma libtool: link: g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/xdelta3-3.0.11-dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma make[2]: Leaving directory '/build/reproducible-path/xdelta3-3.0.11-dfsg' make[1]: Leaving directory '/build/reproducible-path/xdelta3-3.0.11-dfsg' @@ -1407,7 +1443,7 @@ xdelta3: testing appheader... success xdelta3: testing command_line_arguments................ success xdelta3: testing source_decompression... success -xdelta3: testing externally_compressed_io.........sh: 1: compress: not found +xdelta3: testing externally_compressed_io.........sh: line 1: compress: command not found xdelta3: compress=0... success xdelta3: testing recode_command................... success xdelta3: testing secondary_lzma_default... success @@ -1434,7 +1470,7 @@ make[1]: Entering directory '/build/reproducible-path/xdelta3-3.0.11-dfsg' make[2]: Entering directory '/build/reproducible-path/xdelta3-3.0.11-dfsg' /usr/bin/mkdir -p '/build/reproducible-path/xdelta3-3.0.11-dfsg/debian/xdelta3/usr/bin' - /bin/bash ./libtool --mode=install /usr/bin/install -c xdelta3 '/build/reproducible-path/xdelta3-3.0.11-dfsg/debian/xdelta3/usr/bin' + /bin/sh ./libtool --mode=install /usr/bin/install -c xdelta3 '/build/reproducible-path/xdelta3-3.0.11-dfsg/debian/xdelta3/usr/bin' libtool: install: /usr/bin/install -c xdelta3 /build/reproducible-path/xdelta3-3.0.11-dfsg/debian/xdelta3/usr/bin/xdelta3 /usr/bin/mkdir -p '/build/reproducible-path/xdelta3-3.0.11-dfsg/debian/xdelta3/usr/share/man/man1' /usr/bin/install -c -m 644 xdelta3.1 '/build/reproducible-path/xdelta3-3.0.11-dfsg/debian/xdelta3/usr/share/man/man1' @@ -1467,12 +1503,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/48396/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2313586 and its subdirectories -I: Current time: Mon Aug 25 13:38:15 -12 2025 -I: pbuilder-time-stamp: 1756172295 +I: removing directory /srv/workspace/pbuilder/48396 and its subdirectories +I: Current time: Mon Sep 28 22:25:27 +14 2026 +I: pbuilder-time-stamp: 1790583927