Diff of the two buildlogs: -- --- b1/build.log 2024-08-01 08:21:00.786885999 +0000 +++ b2/build.log 2024-08-01 09:43:07.157695656 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 31 18:20:31 -12 2024 -I: pbuilder-time-stamp: 1722493231 +I: Current time: Thu Aug 1 22:21:14 +14 2024 +I: pbuilder-time-stamp: 1722500474 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying manpage_lzma I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32168/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/19235/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 Aug 1 08:22 /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/19235/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/19235/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e626fa43657d41b4b0300dcd7164a949' - 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='32168' - PS1='# ' - PS2='> ' + INVOCATION_ID=cd4c03ac17ea4aae9ecb41582a9c9c73 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=19235 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.RgxcDlxg/pbuilderrc_BByz --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RgxcDlxg/b1 --logfile b1/build.log xdelta3_3.0.11-dfsg-1.2.dsc' - SUDO_GID='116' - SUDO_UID='112' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.RgxcDlxg/pbuilderrc_5r35 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RgxcDlxg/b2 --logfile b2/build.log xdelta3_3.0.11-dfsg-1.2.dsc' + SUDO_GID=114 + SUDO_UID=109 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4b 6.1.0-23-armmp #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32168/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/19235/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -142,7 +174,7 @@ Get: 28 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf debhelper all 13.16 [891 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf liblzma-dev armhf 5.6.2-2 [288 kB] -Fetched 19.2 MB in 2s (11.2 MB/s) +Fetched 19.2 MB in 1s (27.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19508 files and directories currently installed.) @@ -282,7 +314,11 @@ fakeroot is already the newest version (1.33-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/19235/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/19235/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 @@ -399,8 +435,8 @@ checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... 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 @@ -439,13 +475,14 @@ config.status: executing libtool commands config.status: executing depfiles commands dh_auto_build - make -j3 + make -j6 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' gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o xdelta3-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o xdelta3decode-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c g++ -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o testing/xdelta3regtest-regtest.o `test -f 'testing/regtest.cc' || echo './'`testing/regtest.cc +gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -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 -DNOT_MAIN=1 -DXD3_DEBUG=1 -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 -c -o testing/xdelta3regtest-regtest_c.o `test -f 'testing/regtest_c.c' || echo './'`testing/regtest_c.c In file included from xdelta3.c:2108, from xdelta3.c:680: xdelta3-decode.h: In function 'xd3_decode_input': @@ -597,516 +634,383 @@ xdelta3-decode.h:705:5: note: here 705 | case DEC_ADDR: | ^~~~ -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); - | ^ -In file included from testing/regtest.cc:32: -testing/delta.h:56:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 56 | DP(RINT "%"Q"u run %u\n", winst.position, winst.size); - | ^ -testing/delta.h:59:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 59 | DP(RINT "%"Q"u add %u\n", winst.position, winst.size); - | ^ -testing/delta.h:62:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 62 | DP(RINT "%"Q"u copy %u @ %"Q"u (mode %u)\n", - | ^ -testing/delta.h:62:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 62 | DP(RINT "%"Q"u copy %u @ %"Q"u (mode %u)\n", - | ^ -testing/regtest.cc:95:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", - | ^ -testing/regtest.cc:95:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", - | ^ -testing/regtest.cc:95:41: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", - | ^ -testing/regtest.cc:95:55: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", - | ^ -testing/regtest.cc:105:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " - | ^ -testing/regtest.cc:105:43: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " - | ^ -testing/regtest.cc:105:50: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " - | ^ -testing/regtest.cc:105:56: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " - | ^ -testing/regtest.cc:106:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 106 | "verified %"Q"u\n", - | ^ -testing/regtest.cc:156:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 156 | IF_DEBUG2(XPR(NTR "[srcblock] %"Q"u last srcpos %"Q"u " - | ^ -testing/regtest.cc:156:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 156 | IF_DEBUG2(XPR(NTR "[srcblock] %"Q"u last srcpos %"Q"u " - | ^ -testing/regtest.cc:157:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 157 | "encodepos %"Q"u\n", - | ^ -testing/regtest.cc:234:34: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 234 | snprintf(bbuf, sizeof(bbuf), "-B%"Q"u", options.encode_srcwin_maxsz); - | ^ -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/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/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 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, + from testing/regtest_c.c:2: +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; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -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; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -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: | ^~~~ -In file included from xdelta3.c:740: -xdelta3-main.h: In function 'main': -xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] - 3725 | option_force2 = 1; - | ~~~~~~~~~~~~~~^~~ -xdelta3-main.h:3731:9: note: here - 3731 | case 'v': option_verbose += 1; option_quiet = 0; break; - | ^~~~ -xdelta3-main.h: In function 'main_input': -xdelta3-main.h:2998:15: warning: statement will never be executed [-Wswitch-unreachable] - 2998 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } - | ^ -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; } - | ^ -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 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:980, - from xdelta3.h:38, - from xdelta3.c:267: -In function 'snprintf', - inlined from 'main_format_rate' at xdelta3-main.h:627:3: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In file included from xdelta3.c:706: -In function 'djw_decode_1_2', - inlined from 'djw_decode_prefix' at xdelta3-djw.h:1629:10, - inlined from 'xd3_decode_huff' at xdelta3-djw.h:1715:18: -xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 1564 | values[n++] = 0; - | ~~~~~~~~~~~~^~~ -xdelta3-djw.h: In function 'xd3_decode_huff': -xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 - 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -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 -DNOT_MAIN=1 -DXD3_DEBUG=1 -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 -c -o testing/xdelta3regtest-regtest_c.o `test -f 'testing/regtest_c.c' || echo './'`testing/regtest_c.c -In file included from testing/../xdelta3.c:2108, - from testing/../xdelta3.c:680, - from testing/regtest_c.c:2: -testing/../xdelta3-decode.h: In function 'xd3_decode_input': -testing/../xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] +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=] +In file included from testing/../xdelta3.c:740: +testing/../xdelta3-main.h: In function 'xd3_main_cmdline': +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=] +testing/../xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 3725 | option_force2 = 1; + | ~~~~~~~~~~~~~~^~~ +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=] +testing/../xdelta3-main.h:3731:9: note: here + 3731 | case 'v': option_verbose += 1; option_quiet = 0; break; + | ^~~~ +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 testing/../xdelta3.c:740: -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/../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; } @@ -1117,6 +1021,92 @@ testing/../xdelta3-main.h:3000:21: note: here 3000 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ +In file included from xdelta3.c:740: +xdelta3-main.h: In function 'main': +xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 3725 | option_force2 = 1; + | ~~~~~~~~~~~~~~^~~ +xdelta3-main.h:3731:9: note: here + 3731 | case 'v': option_verbose += 1; option_quiet = 0; break; + | ^~~~ +xdelta3-main.h: In function 'main_input': +xdelta3-main.h:2998:15: warning: statement will never be executed [-Wswitch-unreachable] + 2998 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } + | ^ +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; } + | ^ +xdelta3-main.h:3000:21: note: here + 3000 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } + | ^~~~ +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); + | ^ +In file included from testing/regtest.cc:32: +testing/delta.h:56:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 56 | DP(RINT "%"Q"u run %u\n", winst.position, winst.size); + | ^ +testing/delta.h:59:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 59 | DP(RINT "%"Q"u add %u\n", winst.position, winst.size); + | ^ +testing/delta.h:62:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 62 | DP(RINT "%"Q"u copy %u @ %"Q"u (mode %u)\n", + | ^ +testing/delta.h:62:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 62 | DP(RINT "%"Q"u copy %u @ %"Q"u (mode %u)\n", + | ^ +testing/regtest.cc:95:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", + | ^ +testing/regtest.cc:95:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", + | ^ +testing/regtest.cc:95:41: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", + | ^ +testing/regtest.cc:95:55: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", + | ^ +testing/regtest.cc:105:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " + | ^ +testing/regtest.cc:105:43: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " + | ^ +testing/regtest.cc:105:50: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " + | ^ +testing/regtest.cc:105:56: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " + | ^ +testing/regtest.cc:106:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 106 | "verified %"Q"u\n", + | ^ +testing/regtest.cc:156:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 156 | IF_DEBUG2(XPR(NTR "[srcblock] %"Q"u last srcpos %"Q"u " + | ^ +testing/regtest.cc:156:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 156 | IF_DEBUG2(XPR(NTR "[srcblock] %"Q"u last srcpos %"Q"u " + | ^ +testing/regtest.cc:157:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 157 | "encodepos %"Q"u\n", + | ^ +testing/regtest.cc:234:34: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 234 | snprintf(bbuf, sizeof(bbuf), "-B%"Q"u", options.encode_srcwin_maxsz); + | ^ +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/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/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: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=] @@ -1128,6 +1118,41 @@ 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:980, + from xdelta3.h:38, + from xdelta3.c:267: +In function 'snprintf', + inlined from 'main_format_rate' at xdelta3-main.h:627:3: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:706: In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at testing/../xdelta3-djw.h:1629:10, @@ -1139,6 +1164,19 @@ 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:706: +In function 'djw_decode_1_2', + inlined from 'djw_decode_prefix' at xdelta3-djw.h:1629:10, + inlined from 'xd3_decode_huff' at xdelta3-djw.h:1715:18: +xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1564 | values[n++] = 0; + | ~~~~~~~~~~~~^~~ +xdelta3-djw.h: In function 'xd3_decode_huff': +xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 + 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; + | ^~~~ +/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 -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 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o xdelta3decode xdelta3decode-xdelta3.o -llzma In file included from xdelta3.c:268: In function 'main_format_rate', inlined from 'main_input' at xdelta3-main.h:3317:4: @@ -1187,20 +1225,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ In file included from testing/../xdelta3.c:268: In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3317:4: @@ -1248,10 +1272,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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=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 -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 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o xdelta3decode xdelta3decode-xdelta3.o -llzma -/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 -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 -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, @@ -1265,6 +1285,22 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +/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 -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 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o xdelta3 xdelta3-xdelta3.o -lm -llzma In file included from /usr/include/c++/14/map:62, from testing/test.h:57, from testing/regtest.cc:2: @@ -1977,7 +2013,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 927 | std::forward<_Pair>(__x)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -/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 -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 -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 -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' @@ -2097,7 +2133,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 @@ -2127,7 +2163,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' @@ -2164,12 +2200,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/19235/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/19235/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/32168 and its subdirectories -I: Current time: Wed Jul 31 20:20:55 -12 2024 -I: pbuilder-time-stamp: 1722500455 +I: removing directory /srv/workspace/pbuilder/19235 and its subdirectories +I: Current time: Thu Aug 1 23:43:02 +14 2024 +I: pbuilder-time-stamp: 1722505382