Diff of the two buildlogs: -- --- b1/build.log 2025-11-04 05:09:03.555223499 +0000 +++ b2/build.log 2025-11-04 05:10:12.519305894 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 6 23:30:23 -12 2026 -I: pbuilder-time-stamp: 1796643023 +I: Current time: Tue Nov 4 19:09:04 +14 2025 +I: pbuilder-time-stamp: 1762232944 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -27,53 +27,85 @@ dpkg-source: info: applying Drop-dbm-leftovers.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3435946/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/339689/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 Nov 4 05:09 /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/339689/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/339689/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=42 ' - 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(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=40 nocheck' + 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='a30310209ed741e5a8d84678bc7def01' - 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='3435946' - PS1='# ' - PS2='> ' + INVOCATION_ID=2722398db23c406d91e6852e806b856c + 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=339689 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.4GZQ0QQe/pbuilderrc_2eix --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.4GZQ0QQe/b1 --logfile b1/build.log fsvs_1.2.12-2.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.4GZQ0QQe/pbuilderrc_h8I6 --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.4GZQ0QQe/b2 --logfile b2/build.log fsvs_1.2.12-2.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3435946/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/339689/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -190,7 +222,7 @@ Get: 69 http://deb.debian.org/debian forky/main amd64 libutf8proc3 amd64 2.10.0-2 [60.7 kB] Get: 70 http://deb.debian.org/debian forky/main amd64 libsvn1 amd64 1.14.5-4 [1433 kB] Get: 71 http://deb.debian.org/debian forky/main amd64 libsvn-dev amd64 1.14.5-4 [405 kB] -Fetched 24.4 MB in 3s (7251 kB/s) +Fetched 24.4 MB in 8s (2903 kB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19862 files and directories currently installed.) @@ -437,8 +469,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Dec 7 11:31:24 UTC 2026. -Universal Time is now: Mon Dec 7 11:31:24 UTC 2026. +Local time is now: Tue Nov 4 05:09:52 UTC 2025. +Universal Time is now: Tue Nov 4 05:09:52 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -507,7 +539,11 @@ Solving dependencies... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/fsvs-1.2.12/ && 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 > ../fsvs_1.2.12-2_source.changes +I: user script /srv/workspace/pbuilder/339689/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/339689/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/fsvs-1.2.12/ && 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 > ../fsvs_1.2.12-2_source.changes dpkg-buildpackage: info: source package fsvs dpkg-buildpackage: info: source version 1.2.12-2 dpkg-buildpackage: info: source distribution unstable @@ -517,7 +553,7 @@ debian/rules clean dh clean dh_auto_clean - make -j42 distclean + make -j40 distclean make[1]: Entering directory '/build/reproducible-path/fsvs-1.2.12' rm -f config.cache config.log config.status 2> /dev/null || true rm -f src/Makefile src/tags tests/Makefile 2> /dev/null || true @@ -699,7 +735,7 @@ config.status: creating src/.ycm_extra_conf.py config.status: creating src/config.h dh_auto_build - make -j42 + make -j40 make[1]: Entering directory '/build/reproducible-path/fsvs-1.2.12' make[2]: git: No such file or directory cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -MM ac_list.c | perl -pe 's#\bdoc.g-c\b##' > .ac_list.d @@ -735,15 +771,15 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -MM waa.c | perl -pe 's#\bdoc.g-c\b##' > .waa.d cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -MM warnings.c | perl -pe 's#\bdoc.g-c\b##' > .warnings.d make[2]: git: No such file or directory -/bin/sh: 1: cannot open tags: No such file +/bin/sh: line 1: tags: No such file or directory tags +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o ac_list.o ac_list.c make[2]: ctags: No such file or directory make[2]: [Makefile:66: tags] Error 127 (ignored) -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o ac_list.o ac_list.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o actions.o actions.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o add_unvers.o add_unvers.c -Not seen: S_ISDOOR cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o build.o build.c +Not seen: S_ISDOOR cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o cache.o cache.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o cat.o cat.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o checkout.o checkout.c @@ -772,18 +808,32 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o url.o url.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o waa.o waa.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsvs-1.2.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DPCRE2_CODE_UNIT_WIDTH=8 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -Wall -funsigned-char -Os -DFSVS_VERSION='""' -Wno-deprecated-declarations -c -o warnings.o warnings.c -In file included from cache.c:14: -cache.c: In function 'cch__set_active': +In file included from log.c:60: +log.c: In function 'log__receiver': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -cache.c:198:17: note: in expansion of macro 'BUG_ON' - 198 | BUG_ON(cache->lru >= cache->max); +log.c:201:17: note: in expansion of macro 'BUG_ON' + 201 | BUG_ON(i>fn_count, | ^~~~~~ cc1: note: source object is likely at address zero +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^~~~~~~~~ +global.h:818:42: note: in expansion of macro 'BUG' + 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) + | ^~~ +log.c:170:25: note: in expansion of macro 'BUG_ON' + 170 | BUG_ON(i>=fn_count, + | ^~~~~~ +cc1: note: source object is likely at address zero +diff.c: In function 'df___colordiff': +diff.c:672:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 672 | write(success[1], &fdflags, sizeof(fdflags)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from add_unvers.c:11: add_unvers.c: In function 'au__action': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -796,10 +846,6 @@ 164 | BUG_ON( action->i_val != RF_UNVERSION && action->i_val != RF_ADD ); | ^~~~~~ cc1: note: source object is likely at address zero -diff.c: In function 'df___colordiff': -diff.c:672:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 672 | write(success[1], &fdflags, sizeof(fdflags)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from est_ops.h:13, from direnum.c:20: In function 'dir__sortbyinode', @@ -826,61 +872,48 @@ 525 | BUG_ON(mark && !strings); | ^~~~~~ cc1: note: source object is likely at address zero -In file included from log.c:60: -log.c: In function 'log__receiver': +In file included from cache.c:14: +cache.c: In function 'cch__set_active': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -log.c:201:17: note: in expansion of macro 'BUG_ON' - 201 | BUG_ON(i>fn_count, +cache.c:198:17: note: in expansion of macro 'BUG_ON' + 198 | BUG_ON(cache->lru >= cache->max); | ^~~~~~ cc1: note: source object is likely at address zero +In file included from ignore.c:16: +ignore.c: In function 'ign___test_single_pattern': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -log.c:170:25: note: in expansion of macro 'BUG_ON' - 170 | BUG_ON(i>=fn_count, - | ^~~~~~ +ignore.c:1991:9: note: in expansion of macro 'BUG_ON' + 1991 | BUG_ON(!(sts->entry_status & FS_NEW)); + | ^~~~~~ cc1: note: source object is likely at address zero -In file included from resolve.c:14: -resolve.c: In function 'res__remove_aux_files': +In file included from diff.c:18: +diff.c: In function 'df___print_meta': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -resolve.c:150:17: note: in expansion of macro 'BUG_ON' - 150 | BUG_ON(to_remove - mapped > st.size); +diff.c:128:17: note: in expansion of macro 'BUG_ON' + 128 | BUG_ON(l2>5, "Parameter list too long"); | ^~~~~~ cc1: note: source object is likely at address zero -In file included from ignore.c:16: -ignore.c: In function 'ign___test_single_pattern': -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -global.h:818:42: note: in expansion of macro 'BUG' - 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) - | ^~~ -ignore.c:1991:9: note: in expansion of macro 'BUG_ON' - 1991 | BUG_ON(!(sts->entry_status & FS_NEW)); - | ^~~~~~ -cc1: note: source object is likely at address zero -In file included from options.h:13, - from warnings.h:13, - from warnings.c:14: -warnings.c: In function 'wa__warn': +log.c: In function 'log__work': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -warnings.c:207:25: note: in expansion of macro 'BUG' - 207 | BUG("Invalid warning action encountered"); +log.c:410:25: note: in expansion of macro 'BUG' + 410 | BUG("how many"); | ^~~ cc1: note: source object is likely at address zero ignore.c: In function 'ign___test_all_patterns': @@ -894,18 +927,29 @@ 2013 | BUG_ON(!(sts->entry_status & FS_NEW)); | ^~~~~~ cc1: note: source object is likely at address zero -In file included from diff.c:18: -diff.c: In function 'df___print_meta': +In file included from resolve.c:14: +resolve.c: In function 'res__remove_aux_files': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -diff.c:128:17: note: in expansion of macro 'BUG_ON' - 128 | BUG_ON(l2>5, "Parameter list too long"); +resolve.c:150:17: note: in expansion of macro 'BUG_ON' + 150 | BUG_ON(to_remove - mapped > st.size); | ^~~~~~ cc1: note: source object is likely at address zero +In file included from options.h:13, + from warnings.h:13, + from warnings.c:14: +warnings.c: In function 'wa__warn': +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^~~~~~~~~ +warnings.c:207:25: note: in expansion of macro 'BUG' + 207 | BUG("Invalid warning action encountered"); + | ^~~ +cc1: note: source object is likely at address zero In file included from hash_ops.c:13: hash_ops.c: In function 'hsh__insert_pointer': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -918,37 +962,34 @@ 528 | BUG_ON(listd.dsize != sizeof(list)); | ^~~~~~ cc1: note: source object is likely at address zero -In file included from update.c:74: -update.c: In function 'up__parse_prop': -In file included from status.c:14: -status.c: In function 'st__print_status': +In file included from commit.c:85: +commit.c: In function 'ci__nondir': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -update.c:348:17: note: in expansion of macro 'BUG_ON' - 348 | BUG_ON(S_ISDIR(sts->st.mode)); +commit.c:549:17: note: in expansion of macro 'BUG_ON' + 549 | BUG_ON(!s_stream); | ^~~~~~ cc1: note: source object is likely at address zero global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -global.h:818:42: note: in expansion of macro 'BUG' - 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) - | ^~~ -status.c:219:33: note: in expansion of macro 'BUG_ON' - 219 | BUG_ON(status == ENOENT, "Marked as copied, but no info?"); - | ^~~~~~ +commit.c:543:33: note: in expansion of macro 'BUG' + 543 | BUG("invalid/unknown file type 0%o", sts->st.mode); + | ^~~ cc1: note: source object is likely at address zero -ignore.c: In function 'ign__compile_pattern': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -ignore.c:927:17: note: in expansion of macro 'BUG' - 927 | BUG("unknown pattern type %d", ignore->type); - | ^~~ +global.h:818:42: note: in expansion of macro 'BUG' + 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) + | ^~~ +commit.c:462:9: note: in expansion of macro 'BUG_ON' + 462 | BUG_ON( sts->entry_status & FS_LIKELY ); + | ^~~~~~ cc1: note: source object is likely at address zero hash_ops.c: In function 'hsh__list_get': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -961,25 +1002,34 @@ 607 | BUG_ON( c<=0 || c>HASH__LIST_MAX, "number of entries=%d", c); | ^~~~~~ cc1: note: source object is likely at address zero -log.c: In function 'log__work': +ignore.c: In function 'ign__compile_pattern': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -log.c:410:25: note: in expansion of macro 'BUG' - 410 | BUG("how many"); - | ^~~ +ignore.c:927:17: note: in expansion of macro 'BUG' + 927 | BUG("unknown pattern type %d", ignore->type); + | ^~~ +cc1: note: source object is likely at address zero +In file included from actions.h:12, + from revert.h:12, + from revert.c:16: +revert.c: In function 'rev__install_file': +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^~~~~~~~~ +revert.c:494:17: note: in expansion of macro 'BUG' + 494 | BUG("cannot get file %s", filename); + | ^~~ cc1: note: source object is likely at address zero -In file included from cp_mv.c:12: -cp_mv.c: In function 'cm___match_children': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -cp_mv.c:580:33: note: in expansion of macro 'BUG_ON' - 580 | BUG_ON(simil_dir_count > sizeof(similar_dirs)/sizeof(similar_dirs[0])); - | ^~~~~~ +revert.c:434:9: note: in expansion of macro 'BUG_ON' + 434 | BUG_ON(!pool); + | ^~~~~~ cc1: note: source object is likely at address zero In file included from racallback.c:25: racallback.c: In function 'cb__init': @@ -993,51 +1043,56 @@ 70 | BUG_ON(!cb__cb_table.auth_baton); | ^~~~~~ cc1: note: source object is likely at address zero -status.c: In function 'st__status': +commit.c: In function 'ci__directory': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -status.c:314:9: note: in expansion of macro 'BUG_ON' - 314 | BUG_ON(sts->was_output, "%s was already output ...", path); - | ^~~~~~ +commit.c:822:33: note: in expansion of macro 'BUG_ON' + 822 | BUG_ON(status == ENOENT, "copy but not copied?"); + | ^~~~~~ cc1: note: source object is likely at address zero -In file included from actions.h:12, - from revert.h:12, - from revert.c:16: -revert.c: In function 'rev__install_file': +In file included from status.c:14: +status.c: In function 'st__print_status': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -revert.c:494:17: note: in expansion of macro 'BUG' - 494 | BUG("cannot get file %s", filename); - | ^~~ +global.h:818:42: note: in expansion of macro 'BUG' + 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) + | ^~~ +status.c:219:33: note: in expansion of macro 'BUG_ON' + 219 | BUG_ON(status == ENOENT, "Marked as copied, but no info?"); + | ^~~~~~ cc1: note: source object is likely at address zero +In file included from update.c:74: +update.c: In function 'up__parse_prop': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -revert.c:434:9: note: in expansion of macro 'BUG_ON' - 434 | BUG_ON(!pool); - | ^~~~~~ +update.c:348:17: note: in expansion of macro 'BUG_ON' + 348 | BUG_ON(S_ISDIR(sts->st.mode)); + | ^~~~~~ cc1: note: source object is likely at address zero -cp_mv.c: In function 'cm___match': +In file included from cp_mv.c:12: +cp_mv.c: In function 'cm___match_children': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -cp_mv.c:758:25: note: in expansion of macro 'BUG_ON' - 758 | BUG_ON(candidate_count > sizeof(candidates)/sizeof(candidates[0])); - | ^~~~~~ +cp_mv.c:580:33: note: in expansion of macro 'BUG_ON' + 580 | BUG_ON(simil_dir_count > sizeof(similar_dirs)/sizeof(similar_dirs[0])); + | ^~~~~~ cc1: note: source object is likely at address zero In file included from est_ops.c:18: est_ops.c: In function 'ops___dev_to_string': +diff.c: In function 'df___type_def_diff': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ @@ -1047,6 +1102,13 @@ est_ops.c:179:9: note: in expansion of macro 'BUG_ON' 179 | BUG_ON(!(sts->remote_status & FS_NEW) && | ^~~~~~ +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^~~~~~~~~ +diff.c:507:25: note: in expansion of macro 'BUG' + 507 | BUG("type?"); + | ^~~ +cc1: note: source object is likely at address zero cc1: note: source object is likely at address zero In file included from checksum.h:12, from checksum.c:16: @@ -1082,77 +1144,77 @@ 265 | BUG_ON(sts->to_be_ignored); | ^~~~~~ cc1: note: source object is likely at address zero -In file included from commit.c:85: -commit.c: In function 'ci__nondir': +status.c: In function 'st__status': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -commit.c:549:17: note: in expansion of macro 'BUG_ON' - 549 | BUG_ON(!s_stream); - | ^~~~~~ +status.c:314:9: note: in expansion of macro 'BUG_ON' + 314 | BUG_ON(sts->was_output, "%s was already output ...", path); + | ^~~~~~ cc1: note: source object is likely at address zero +cp_mv.c: In function 'cm___match': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -commit.c:543:33: note: in expansion of macro 'BUG' - 543 | BUG("invalid/unknown file type 0%o", sts->st.mode); - | ^~~ +global.h:818:42: note: in expansion of macro 'BUG' + 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) + | ^~~ +cp_mv.c:758:25: note: in expansion of macro 'BUG_ON' + 758 | BUG_ON(candidate_count > sizeof(candidates)/sizeof(candidates[0])); + | ^~~~~~ cc1: note: source object is likely at address zero +est_ops.c: In function 'ops__load_1entry': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -commit.c:462:9: note: in expansion of macro 'BUG_ON' - 462 | BUG_ON( sts->entry_status & FS_LIKELY ); - | ^~~~~~ +est_ops.c:410:8: note: in expansion of macro 'BUG_ON' + 410 | BUG_ON(e_t && !S_ISDIR(sts->st.mode)); + | ^~~~~~ cc1: note: source object is likely at address zero -diff.c: In function 'df___type_def_diff': +revert.c: In function 'rev___undo_change': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -diff.c:507:25: note: in expansion of macro 'BUG' - 507 | BUG("type?"); - | ^~~ +revert.c:1180:33: note: in expansion of macro 'BUG' + 1180 | BUG("unknown conflict resolution"); + | ^~~ cc1: note: source object is likely at address zero -In function 'cm___output_pct', - inlined from 'cm___output_pct' at cp_mv.c:646:7: -global.h:808:81: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^ -global.h:818:42: note: in expansion of macro 'BUG' - 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) - | ^~~ -cp_mv.c:651:9: note: in expansion of macro 'BUG_ON' - 651 | BUG_ON(cand->match_count > 1000 || cand->match_count < 0); - | ^~~~~~ -In function 'cm___output_pct': + | ^~~~~~~~~ +revert.c:1315:33: note: in expansion of macro 'BUG' + 1315 | BUG("why a conflict?"); + | ^~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__load_1entry': +checksum.c: In function 'cs__read_manber_hashes': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:410:8: note: in expansion of macro 'BUG_ON' - 410 | BUG_ON(e_t && !S_ISDIR(sts->st.mode)); - | ^~~~~~ +checksum.c:1065:17: note: in expansion of macro 'BUG_ON' + 1065 | BUG_ON(count > estimated, "lines should have syntax errors - bug in estimation."); + | ^~~~~~ cc1: note: source object is likely at address zero -checksum.c: In function 'cs__read_manber_hashes': +In file included from waa.h:15, + from waa.c:23: +waa.c: In function 'waa__mkdir_mask': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -checksum.c:1065:17: note: in expansion of macro 'BUG_ON' - 1065 | BUG_ON(count > estimated, "lines should have syntax errors - bug in estimation."); - | ^~~~~~ +waa.c:352:25: note: in expansion of macro 'BUG_ON' + 352 | BUG_ON(!last_ps); + | ^~~~~~ cc1: note: source object is likely at address zero ignore.c: In function 'ign___load_group': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1165,101 +1227,112 @@ 1462 | BUG_ON(ign->group_def, "already loaded"); | ^~~~~~ cc1: note: source object is likely at address zero -update.c: In function 'up__change_file_prop': +commit.c: In function 'ci___base_dirs': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -update.c:1016:9: note: in expansion of macro 'BUG_ON' - 1016 | BUG_ON((sts->remote_status & FS_CHANGED) && - | ^~~~~~ +commit.c:1025:25: note: in expansion of macro 'BUG_ON' + 1025 | BUG_ON(!*delim || *delim=='/'); + | ^~~~~~ cc1: note: source object is likely at address zero -cp_mv.c: In function 'cm___rev_path_to_string': +diff.c: In function 'df___repos_repos': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ +diff.c:870:33: note: in expansion of macro 'BUG' + 870 | BUG("type?"); + | ^~~ +cc1: note: source object is likely at address zero +In function 'cm___output_pct', + inlined from 'cm___output_pct' at cp_mv.c:646:7: +global.h:808:81: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -cp_mv.c:1052:9: note: in expansion of macro 'BUG_ON' - 1052 | BUG_ON(used >= buflen); +cp_mv.c:651:9: note: in expansion of macro 'BUG_ON' + 651 | BUG_ON(cand->match_count > 1000 || cand->match_count < 0); | ^~~~~~ +In function 'cm___output_pct': cc1: note: source object is likely at address zero -update.c: In function 'up__close_file': +waa.c: In function 'waa__get_waa_directory': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -global.h:818:42: note: in expansion of macro 'BUG' - 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) - | ^~~ -update.c:1043:17: note: in expansion of macro 'BUG_ON' - 1043 | BUG_ON(!sts->st.mode); - | ^~~~~~ +waa.c:525:17: note: in expansion of macro 'BUG' + 525 | BUG(".:8:."); + | ^~~ cc1: note: source object is likely at address zero -cp_mv.c: In function 'cm___absolute_path': +est_ops.c: In function 'ops__build_path': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -global.h:818:42: note: in expansion of macro 'BUG' - 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) - | ^~~ -cp_mv.c:1077:9: note: in expansion of macro 'BUG_ON' - 1077 | BUG_ON(len > cache->entries[cache->lru]->len); - | ^~~~~~ +est_ops.c:736:17: note: in expansion of macro 'BUG' + 736 | BUG("path len counting went wrong"); + | ^~~ cc1: note: source object is likely at address zero -In file included from waa.h:15, - from waa.c:23: -waa.c: In function 'waa__mkdir_mask': -commit.c: In function 'ci__directory': +racallback.c: In function 'cb___remover': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:352:25: note: in expansion of macro 'BUG_ON' - 352 | BUG_ON(!last_ps); +racallback.c:782:25: note: in expansion of macro 'BUG_ON' + 782 | BUG_ON(sts->url != to_remove && url__sorter(hp_url, sts->url) < 0); | ^~~~~~ +cc1: note: source object is likely at address zero +diff.c: In function 'df__work': +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^~~~~~~~~ +diff.c:1019:25: note: in expansion of macro 'BUG' + 1019 | BUG("what?"); + | ^~~ +cc1: note: source object is likely at address zero +waa.c: In function 'waa__open': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -commit.c:822:33: note: in expansion of macro 'BUG_ON' - 822 | BUG_ON(status == ENOENT, "copy but not copied?"); - | ^~~~~~ -cc1: note: source object is likely at address zero +waa.c:601:9: note: in expansion of macro 'BUG_ON' + 601 | BUG_ON( action->is_readonly && + | ^~~~~~ cc1: note: source object is likely at address zero -diff.c: In function 'df___repos_repos': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -diff.c:870:33: note: in expansion of macro 'BUG' - 870 | BUG("type?"); - | ^~~ +global.h:818:42: note: in expansion of macro 'BUG' + 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) + | ^~~ +waa.c:595:17: note: in expansion of macro 'BUG_ON' + 595 | BUG_ON(eos == dest); + | ^~~~~~ cc1: note: source object is likely at address zero -In file included from helper.c:24: -helper.c: In function 'hlp__format_path': +est_ops.c: In function 'ops__link_to_string': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -helper.c:1730:25: note: in expansion of macro 'BUG_ON' - 1730 | BUG_ON(1); - | ^~~~~~ +est_ops.c:153:9: note: in expansion of macro 'BUG_ON' + 153 | BUG_ON(!S_ISLNK(sts->st.mode)); + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__build_path': +ignore.c: In function 'ign__is_ignore': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ -est_ops.c:736:17: note: in expansion of macro 'BUG' - 736 | BUG("path len counting went wrong"); - | ^~~ +ignore.c:1766:25: note: in expansion of macro 'BUG' + 1766 | BUG("unknown pattern type 0x%X", ign->type); + | ^~~ cc1: note: source object is likely at address zero In file included from actions.h:12, from url.h:12, @@ -1275,32 +1348,16 @@ 1032 | BUG_ON( l > sizeof(buffer)-4); | ^~~~~~ cc1: note: source object is likely at address zero -diff.c: In function 'df__work': -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -diff.c:1019:25: note: in expansion of macro 'BUG' - 1019 | BUG("what?"); - | ^~~ -cc1: note: source object is likely at address zero -cp_mv.c: In function 'cm___make_copy': +est_ops.c: In function 'ops__find_entry_byname': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -cp_mv.c:1250:17: note: in expansion of macro 'BUG_ON' - 1250 | BUG_ON(1, "fetch list of entries from the repository"); - | ^~~~~~ -cc1: note: source object is likely at address zero -ignore.c: In function 'ign__is_ignore': -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -ignore.c:1766:25: note: in expansion of macro 'BUG' - 1766 | BUG("unknown pattern type 0x%X", ign->type); - | ^~~ +est_ops.c:797:9: note: in expansion of macro 'BUG_ON' + 797 | BUG_ON(!S_ISDIR(dir->st.mode)); + | ^~~~~~ cc1: note: source object is likely at address zero url.c: In function 'url__close_session': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1313,89 +1370,80 @@ 1195 | BUG_ON(cur->pool == NULL && cur->session != NULL); | ^~~~~~ cc1: note: source object is likely at address zero -helper.c: In function 'hlp__rev_to_string': +cp_mv.c: In function 'cm___rev_path_to_string': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -helper.c:1755:17: note: in expansion of macro 'BUG_ON' - 1755 | BUG_ON(rev < 0); - | ^~~~~~ +cp_mv.c:1052:9: note: in expansion of macro 'BUG_ON' + 1052 | BUG_ON(used >= buflen); + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__link_to_string': +est_ops.c: In function 'ops__allocate': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:153:9: note: in expansion of macro 'BUG_ON' - 153 | BUG_ON(!S_ISLNK(sts->st.mode)); +est_ops.c:943:9: note: in expansion of macro 'BUG_ON' + 943 | BUG_ON(!returned, "Not even a single block returned!!"); | ^~~~~~ cc1: note: source object is likely at address zero -racallback.c: In function 'cb___remover': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -racallback.c:782:25: note: in expansion of macro 'BUG_ON' - 782 | BUG_ON(sts->url != to_remove && url__sorter(hp_url, sts->url) < 0); - | ^~~~~~ -cc1: note: source object is likely at address zero -waa.c: In function 'waa__get_waa_directory': -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -waa.c:525:17: note: in expansion of macro 'BUG' - 525 | BUG(".:8:."); - | ^~~ +est_ops.c:886:9: note: in expansion of macro 'BUG_ON' + 886 | BUG_ON(needed <=0, "not even a single block needed?"); + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__find_entry_byname': +cp_mv.c: In function 'cm___absolute_path': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:797:9: note: in expansion of macro 'BUG_ON' - 797 | BUG_ON(!S_ISDIR(dir->st.mode)); +cp_mv.c:1077:9: note: in expansion of macro 'BUG_ON' + 1077 | BUG_ON(len > cache->entries[cache->lru]->len); | ^~~~~~ cc1: note: source object is likely at address zero -waa.c: In function 'waa__open': +est_ops.c: In function 'ops__free_entry': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:601:9: note: in expansion of macro 'BUG_ON' - 601 | BUG_ON( action->is_readonly && - | ^~~~~~ +est_ops.c:973:17: note: in expansion of macro 'BUG_ON' + 973 | BUG_ON(sts->entry_count && !sts->by_inode); + | ^~~~~~ cc1: note: source object is likely at address zero +waa.c: In function 'waa__delete_byext': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:595:17: note: in expansion of macro 'BUG_ON' - 595 | BUG_ON(eos == dest); +waa.c:850:17: note: in expansion of macro 'BUG_ON' + 850 | BUG_ON(!eos); | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__allocate': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:943:9: note: in expansion of macro 'BUG_ON' - 943 | BUG_ON(!returned, "Not even a single block returned!!"); - | ^~~~~~ +waa.c:844:17: note: in expansion of macro 'BUG_ON' + 844 | BUG_ON(*eos != PATH_SEPARATOR); + | ^~~~~~ cc1: note: source object is likely at address zero global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) @@ -1403,35 +1451,20 @@ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:886:9: note: in expansion of macro 'BUG_ON' - 886 | BUG_ON(needed <=0, "not even a single block needed?"); - | ^~~~~~ -cc1: note: source object is likely at address zero -revert.c: In function 'rev___undo_change': -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -revert.c:1180:33: note: in expansion of macro 'BUG' - 1180 | BUG("unknown conflict resolution"); - | ^~~ -cc1: note: source object is likely at address zero -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -revert.c:1315:33: note: in expansion of macro 'BUG' - 1315 | BUG("why a conflict?"); - | ^~~ +waa.c:875:17: note: in expansion of macro 'BUG_ON' + 875 | BUG_ON(!eos, "Got invalid path to remove"); + | ^~~~~~ cc1: note: source object is likely at address zero -cp_mv.c: In function 'cm___get_base_source': +update.c: In function 'up__change_file_prop': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -cp_mv.c:1595:17: note: in expansion of macro 'BUG_ON' - 1595 | BUG_ON(!url); - | ^~~~~~ +update.c:1016:9: note: in expansion of macro 'BUG_ON' + 1016 | BUG_ON((sts->remote_status & FS_CHANGED) && + | ^~~~~~ cc1: note: source object is likely at address zero ignore.c: In function 'ign__new_pattern': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1444,27 +1477,27 @@ 1922 | BUG_ON(position > used_ignore_entries || position<0); | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__free_entry': +cp_mv.c: In function 'cm___make_copy': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:973:17: note: in expansion of macro 'BUG_ON' - 973 | BUG_ON(sts->entry_count && !sts->by_inode); +cp_mv.c:1250:17: note: in expansion of macro 'BUG_ON' + 1250 | BUG_ON(1, "fetch list of entries from the repository"); | ^~~~~~ cc1: note: source object is likely at address zero -cp_mv.c: In function 'cm___get_sub_source_rek': +update.c: In function 'up__close_file': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -cp_mv.c:1632:9: note: in expansion of macro 'BUG_ON' - 1632 | BUG_ON(!copied, "Copy-sub but no base?"); - | ^~~~~~ +update.c:1043:17: note: in expansion of macro 'BUG_ON' + 1043 | BUG_ON(!sts->st.mode); + | ^~~~~~ cc1: note: source object is likely at address zero est_ops.c: In function 'ops__delete_entry': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1527,27 +1560,35 @@ 1077 | BUG_ON( (sts ? 1 : 0) + | ^~~~~~ cc1: note: source object is likely at address zero -helper.c: In function 'hlp__strmnalloc': +est_ops.c: In function 'ops__free_marked': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -helper.c:1998:25: note: in expansion of macro 'BUG_ON' - 1998 | BUG_ON(len<=0); - | ^~~~~~ +est_ops.c:1165:9: note: in expansion of macro 'BUG_ON' + 1165 | BUG_ON(!S_ISDIR(dir->st.mode)); + | ^~~~~~ cc1: note: source object is likely at address zero -waa.c: In function 'waa__delete_byext': +waa.c: In function 'waa__output_tree': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:850:17: note: in expansion of macro 'BUG_ON' - 850 | BUG_ON(!eos); - | ^~~~~~ +waa.c:1380:9: note: in expansion of macro 'BUG_ON' + 1380 | BUG_ON(status >= sizeof(header)-1, "header space not large enough"); + | ^~~~~~ +cc1: note: source object is likely at address zero +est_ops.c: In function 'ops__traverse': +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^~~~~~~~~ +est_ops.c:1266:25: note: in expansion of macro 'BUG' + 1266 | BUG("Path '%s' includes '..'!", fullpath); + | ^~~ cc1: note: source object is likely at address zero global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) @@ -1555,49 +1596,42 @@ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:844:17: note: in expansion of macro 'BUG_ON' - 844 | BUG_ON(*eos != PATH_SEPARATOR); +est_ops.c:1249:17: note: in expansion of macro 'BUG_ON' + 1249 | BUG_ON(!path[0]); | ^~~~~~ cc1: note: source object is likely at address zero +cp_mv.c: In function 'cm___get_base_source': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:875:17: note: in expansion of macro 'BUG_ON' - 875 | BUG_ON(!eos, "Got invalid path to remove"); +cp_mv.c:1595:17: note: in expansion of macro 'BUG_ON' + 1595 | BUG_ON(!url); | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__free_marked': +cp_mv.c: In function 'cm___get_sub_source_rek': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:1165:9: note: in expansion of macro 'BUG_ON' - 1165 | BUG_ON(!S_ISDIR(dir->st.mode)); +cp_mv.c:1632:9: note: in expansion of macro 'BUG_ON' + 1632 | BUG_ON(!copied, "Copy-sub but no base?"); | ^~~~~~ cc1: note: source object is likely at address zero -commit.c: In function 'ci___base_dirs': +waa.c: In function 'waa__find_common_base2': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -commit.c:1025:25: note: in expansion of macro 'BUG_ON' - 1025 | BUG_ON(!*delim || *delim=='/'); - | ^~~~~~ -cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__traverse': -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -est_ops.c:1266:25: note: in expansion of macro 'BUG' - 1266 | BUG("Path '%s' includes '..'!", fullpath); - | ^~~ +waa.c:2443:9: note: in expansion of macro 'BUG_ON' + 2443 | BUG_ON(len < 0, "Paths not even equal in separator - " + | ^~~~~~ cc1: note: source object is likely at address zero global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) @@ -1605,9 +1639,9 @@ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:1249:17: note: in expansion of macro 'BUG_ON' - 1249 | BUG_ON(!path[0]); - | ^~~~~~ +waa.c:2366:25: note: in expansion of macro 'BUG_ON' + 2366 | BUG_ON(fnlen >= PATH_MAX, "path longer than PATH_MAX"); + | ^~~~~~ cc1: note: source object is likely at address zero url.c: In function 'url__canonical_rev': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1641,37 +1675,28 @@ 1102 | BUG_ON(!buffer); | ^~~~~~ cc1: note: source object is likely at address zero -waa.c: In function 'waa__output_tree': -global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] - 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) - | ^~~~~~~~~ -global.h:818:42: note: in expansion of macro 'BUG' - 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) - | ^~~ -waa.c:1380:9: note: in expansion of macro 'BUG_ON' - 1380 | BUG_ON(status >= sizeof(header)-1, "header space not large enough"); - | ^~~~~~ -cc1: note: source object is likely at address zero -waa.c: In function 'waa__find_common_base2': +In file included from helper.c:24: +helper.c: In function 'hlp__format_path': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:2443:9: note: in expansion of macro 'BUG_ON' - 2443 | BUG_ON(len < 0, "Paths not even equal in separator - " - | ^~~~~~ +helper.c:1730:25: note: in expansion of macro 'BUG_ON' + 1730 | BUG_ON(1); + | ^~~~~~ cc1: note: source object is likely at address zero +helper.c: In function 'hlp__rev_to_string': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:2366:25: note: in expansion of macro 'BUG_ON' - 2366 | BUG_ON(fnlen >= PATH_MAX, "path longer than PATH_MAX"); - | ^~~~~~ +helper.c:1755:17: note: in expansion of macro 'BUG_ON' + 1755 | BUG_ON(rev < 0); + | ^~~~~~ cc1: note: source object is likely at address zero est_ops.c: In function 'ops__apply_group': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1684,16 +1709,16 @@ 1769 | BUG_ON(!group); | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__save_1entry': +waa.c: In function 'waa__input_tree': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:566:9: note: in expansion of macro 'BUG_ON' - 566 | BUG_ON(buffer[sizeof(buffer)-1]!=0xff || - | ^~~~~~ +waa.c:1759:33: note: in expansion of macro 'BUG_ON' + 1759 | BUG_ON(i >= cur); + | ^~~~~~ cc1: note: source object is likely at address zero global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) @@ -1701,30 +1726,30 @@ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -est_ops.c:561:9: note: in expansion of macro 'BUG_ON' - 561 | BUG_ON(len > sizeof(buffer)-2); - | ^~~~~~ +waa.c:1765:25: note: in expansion of macro 'BUG_ON' + 1765 | BUG_ON(sts->parent->child_index > sts->parent->entry_count, + | ^~~~~~ cc1: note: source object is likely at address zero -waa.c: In function 'waa__input_tree': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:1759:33: note: in expansion of macro 'BUG_ON' - 1759 | BUG_ON(i >= cur); - | ^~~~~~ +waa.c:1751:17: note: in expansion of macro 'BUG_ON' + 1751 | BUG_ON(strings - root->strings > string_space); + | ^~~~~~ cc1: note: source object is likely at address zero +est_ops.c: In function 'ops__save_1entry': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) | ^~~~~~~~~ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:1765:25: note: in expansion of macro 'BUG_ON' - 1765 | BUG_ON(sts->parent->child_index > sts->parent->entry_count, - | ^~~~~~ +est_ops.c:566:9: note: in expansion of macro 'BUG_ON' + 566 | BUG_ON(buffer[sizeof(buffer)-1]!=0xff || + | ^~~~~~ cc1: note: source object is likely at address zero global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) @@ -1732,9 +1757,9 @@ global.h:818:42: note: in expansion of macro 'BUG' 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) | ^~~ -waa.c:1751:17: note: in expansion of macro 'BUG_ON' - 1751 | BUG_ON(strings - root->strings > string_space); - | ^~~~~~ +est_ops.c:561:9: note: in expansion of macro 'BUG_ON' + 561 | BUG_ON(len > sizeof(buffer)-2); + | ^~~~~~ cc1: note: source object is likely at address zero est_ops.c: In function 'ops__make_shadow_entry': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1747,6 +1772,17 @@ 1812 | BUG_ON(sts->old); | ^~~~~~ cc1: note: source object is likely at address zero +helper.c: In function 'hlp__strmnalloc': +global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] + 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) + | ^~~~~~~~~ +global.h:818:42: note: in expansion of macro 'BUG' + 818 | #define BUG_ON(cond, ...) do { if (cond) BUG( "INTERNAL BUG\n " #cond "\n " __VA_ARGS__); } while (0) + | ^~~ +helper.c:1998:25: note: in expansion of macro 'BUG_ON' + 1998 | BUG_ON(len<=0); + | ^~~~~~ +cc1: note: source object is likely at address zero waa.c: In function 'waa___finish_directory': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] 808 | #define BUG(...) do { fflush(NULL); debuglevel=1; DEBUGP(__VA_ARGS__); *(int*)42=__LINE__; while(1) sleep(1); } while (0) @@ -1803,14 +1839,14 @@ | ^~~~~~ cc1: note: source object is likely at address zero cc -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/openpkg/lib -o fsvs ac_list.o actions.o add_unvers.o build.o cache.o cat.o checkout.o checksum.o commit.o cp_mv.o diff.o direnum.o est_ops.o export.o fsvs.o hash_ops.o helper.o ignore.o info.o log.o options.o props.o racallback.o remote.o resolve.o revert.o status.o sync.o update.o url.o waa.o warnings.o -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre2-8 -lgdbm -ldl -laprutil-1 -lapr-1 --rwxr-xr-x 1 pbuilder1 pbuilder1 1111008 Dec 6 23:31 fsvs +-rwxr-xr-x 1 pbuilder2 pbuilder2 1111008 Nov 4 19:10 fsvs make[1]: Leaving directory '/build/reproducible-path/fsvs-1.2.12' - dh_auto_test +dh: command-omitted: The call to "dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs dh_auto_install --destdir=debian/fsvs/ - make -j42 install DESTDIR=/build/reproducible-path/fsvs-1.2.12/debian/fsvs AM_UPDATE_INFO_DIR=no + make -j40 install DESTDIR=/build/reproducible-path/fsvs-1.2.12/debian/fsvs AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/fsvs-1.2.12' make[2]: git: No such file or directory mkdir -p /build/reproducible-path/fsvs-1.2.12/debian/fsvs/etc/fsvs /build/reproducible-path/fsvs-1.2.12/debian/fsvs/var/spool/fsvs /build/reproducible-path/fsvs-1.2.12/debian/fsvs/usr/bin /build/reproducible-path/fsvs-1.2.12/debian/fsvs/etc/fsvs/svn/auth/svn.simple /build/reproducible-path/fsvs-1.2.12/debian/fsvs/etc/fsvs/svn/auth/svn.ssl.server /build/reproducible-path/fsvs-1.2.12/debian/fsvs/etc/fsvs/svn/auth/svn.ssl.client-passphrase @@ -1834,8 +1870,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'fsvs-dbgsym' in '../fsvs-dbgsym_1.2.12-2_amd64.deb'. dpkg-deb: building package 'fsvs' in '../fsvs_1.2.12-2_amd64.deb'. +dpkg-deb: building package 'fsvs-dbgsym' in '../fsvs-dbgsym_1.2.12-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../fsvs_1.2.12-2_amd64.buildinfo dpkg-genchanges --build=binary -O../fsvs_1.2.12-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1843,12 +1879,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/339689/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/339689/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/3435946 and its subdirectories -I: Current time: Sun Dec 6 23:32:02 -12 2026 -I: pbuilder-time-stamp: 1796643122 +I: removing directory /srv/workspace/pbuilder/339689 and its subdirectories +I: Current time: Tue Nov 4 19:10:12 +14 2025 +I: pbuilder-time-stamp: 1762233012