Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 09:41:52.966773657 +0000 +++ b2/build.log 2024-05-07 09:43:16.411221329 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 6 21:40:27 -12 2024 -I: pbuilder-time-stamp: 1715074827 +I: Current time: Tue Jun 10 06:04:54 +14 2025 +I: pbuilder-time-stamp: 1749485094 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 spelling-fixes.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/666058/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1284243/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 9 16:05 /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/1284243/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1284243/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=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d4482e1288a144b993f628dcb55a70e7' - 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='666058' - PS1='# ' - PS2='> ' + INVOCATION_ID=1555e23f15ad4c36807d08ad40d17f33 + 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=1284243 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.cqjqmWXh/pbuilderrc_STAk --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.cqjqmWXh/b1 --logfile b1/build.log fsvs_1.2.12-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cqjqmWXh/pbuilderrc_71RQ --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.cqjqmWXh/b2 --logfile b2/build.log fsvs_1.2.12-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 7 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/666058/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 9 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1284243/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -195,7 +227,7 @@ Get: 71 http://deb.debian.org/debian unstable/main amd64 libutf8proc3 amd64 2.9.0-1+b1 [60.6 kB] Get: 72 http://deb.debian.org/debian unstable/main amd64 libsvn1 amd64 1.14.3-1+b4 [1414 kB] Get: 73 http://deb.debian.org/debian unstable/main amd64 libsvn-dev amd64 1.14.3-1+b4 [404 kB] -Fetched 31.9 MB in 1s (63.1 MB/s) +Fetched 31.9 MB in 1s (49.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19699 files and directories currently installed.) @@ -448,8 +480,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue May 7 09:41:02 UTC 2024. -Universal Time is now: Tue May 7 09:41:02 UTC 2024. +Local time is now: Mon Jun 9 16:05:40 UTC 2025. +Universal Time is now: Mon Jun 9 16:05:40 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -519,7 +551,11 @@ fakeroot is already the newest version (1.34-1). 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-1_source.changes +I: user script /srv/workspace/pbuilder/1284243/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1284243/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-1_source.changes dpkg-buildpackage: info: source package fsvs dpkg-buildpackage: info: source version 1.2.12-1 dpkg-buildpackage: info: source distribution unstable @@ -529,7 +565,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j20 distclean + make -j42 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 @@ -711,7 +747,7 @@ config.status: creating src/.ycm_extra_conf.py config.status: creating src/config.h dh_auto_build - make -j20 + make -j42 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 warnings.c | perl -pe 's#\bdoc.g-c\b##' > .warnings.d @@ -747,12 +783,12 @@ 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 actions.c | perl -pe 's#\bdoc.g-c\b##' > .actions.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 ac_list.c | perl -pe 's#\bdoc.g-c\b##' > .ac_list.d make[2]: git: No such file or directory -/bin/sh: 1: cannot open tags: No such file - tags +/bin/sh: line 1: tags: 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 -c -o ac_list.o ac_list.c + 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 actions.o actions.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 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 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 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 @@ -773,82 +809,19 @@ 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 info.o info.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 log.o log.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 options.o options.c -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) - | ^~~ -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 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 props.o props.c -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 racallback.o racallback.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 remote.o remote.c -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=] - 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) - | ^~~ -add_unvers.c:164:9: note: in expansion of macro 'BUG_ON' - 164 | BUG_ON( action->i_val != RF_UNVERSION && action->i_val != RF_ADD ); - | ^~~~~~ -cc1: note: source object is likely at address zero 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 resolve.o resolve.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 revert.o revert.c -In file included from est_ops.h:13, - from direnum.c:20: -In function 'dir__sortbyinode', - inlined from 'dir__sortbyinode' at direnum.c:322:5: -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) - | ^~~ -direnum.c:327:17: note: in expansion of macro 'BUG_ON' - 327 | BUG_ON(!sts->by_inode); - | ^~~~~~ -In function 'dir__sortbyinode': -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 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 status.o status.c -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) - | ^~~ -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 +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 sync.o sync.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 update.o update.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 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 log.c:60: log.c: In function 'log__receiver': -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 sync.o sync.c 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) | ^~~~~~~~~ @@ -869,37 +842,44 @@ 170 | BUG_ON(i>=fn_count, | ^~~~~~ cc1: note: source object is likely at address zero -direnum.c: In function 'dir__enumerator': +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=] 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) | ^~~ -direnum.c:525:9: note: in expansion of macro 'BUG_ON' - 525 | BUG_ON(mark && !strings); +add_unvers.c:164:9: note: in expansion of macro 'BUG_ON' + 164 | BUG_ON( action->i_val != RF_UNVERSION && action->i_val != RF_ADD ); | ^~~~~~ cc1: note: source object is likely at address zero -ignore.c: In function 'ign___test_all_patterns': +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 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) | ^~~ -ignore.c:2013:9: note: in expansion of macro 'BUG_ON' - 2013 | BUG_ON(!(sts->entry_status & FS_NEW)); - | ^~~~~~ +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 -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 update.o update.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 url.o url.c -ignore.c: In function 'ign__compile_pattern': +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) | ^~~~~~~~~ -ignore.c:927:17: note: in expansion of macro 'BUG' - 927 | BUG("unknown pattern type %d", ignore->type); - | ^~~ +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': @@ -913,28 +893,28 @@ 528 | BUG_ON(listd.dsize != sizeof(list)); | ^~~~~~ cc1: note: source object is likely at address zero -hash_ops.c: In function 'hsh__list_get': +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) | ^~~ -hash_ops.c:607:9: note: in expansion of macro 'BUG_ON' - 607 | BUG_ON( c<=0 || c>HASH__LIST_MAX, "number of entries=%d", c); - | ^~~~~~ +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 cp_mv.c:12: -cp_mv.c: In function 'cm___match_children': +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=] 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])); - | ^~~~~~ +hash_ops.c:607:9: note: in expansion of macro 'BUG_ON' + 607 | BUG_ON( c<=0 || c>HASH__LIST_MAX, "number of entries=%d", c); + | ^~~~~~ cc1: note: source object is likely at address zero In file included from checksum.h:12, from checksum.c:16: @@ -949,17 +929,17 @@ 747 | BUG_ON(i > sizeof(buffer)-3, "Buffer too small - stack overrun"); | ^~~~~~ 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': +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) | ^~~ -est_ops.c:179:9: note: in expansion of macro 'BUG_ON' - 179 | BUG_ON(!(sts->remote_status & FS_NEW) && - | ^~~~~~ +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 log.c: In function 'log__work': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -969,6 +949,33 @@ 410 | BUG("how many"); | ^~~ cc1: note: source object is likely at address zero +In file included from est_ops.h:13, + from direnum.c:20: +In function 'dir__sortbyinode', + inlined from 'dir__sortbyinode' at direnum.c:322:5: +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) + | ^~~ +direnum.c:327:17: note: in expansion of macro 'BUG_ON' + 327 | BUG_ON(!sts->by_inode); + | ^~~~~~ +In function 'dir__sortbyinode': +cc1: note: source object is likely at address zero +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) + | ^~~ +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 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=] @@ -998,82 +1005,94 @@ 462 | BUG_ON( sts->entry_status & FS_LIKELY ); | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__stat_to_action': +direnum.c: In function 'dir__enumerator': 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:303:25: note: in expansion of macro 'BUG_ON' - 303 | BUG_ON(1); - | ^~~~~~ +direnum.c:525:9: note: in expansion of macro 'BUG_ON' + 525 | BUG_ON(mark && !strings); + | ^~~~~~ 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) | ^~~ -est_ops.c:265:9: note: in expansion of macro 'BUG_ON' - 265 | BUG_ON(sts->to_be_ignored); +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 -cp_mv.c: In function 'cm___match': +checksum.c: In function 'cs__read_manber_hashes': +ignore.c: In function 'ign___test_all_patterns': 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])); - | ^~~~~~ +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 -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 -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) | ^~~~~~~~~ -diff.c:507:25: note: in expansion of macro 'BUG' - 507 | 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) + | ^~~ +ignore.c:2013:9: note: in expansion of macro 'BUG_ON' + 2013 | BUG_ON(!(sts->entry_status & FS_NEW)); + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__load_1entry': +In file included from status.c:14: +status.c: In function 'st__print_status': +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) | ^~~~~~~~~ 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)); - | ^~~~~~ +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 -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) | ^~~ -checksum.c:1065:17: note: in expansion of macro 'BUG_ON' - 1065 | BUG_ON(count > estimated, "lines should have syntax errors - bug in estimation."); - | ^~~~~~ +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 -In file included from resolve.c:14: -resolve.c: In function 'res__remove_aux_files': +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) | ^~~ -resolve.c:150:17: note: in expansion of macro 'BUG_ON' - 150 | BUG_ON(to_remove - mapped > st.size); +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 +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); + | ^~~ +cc1: note: source object is likely at address zero 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) @@ -1085,36 +1104,27 @@ 822 | BUG_ON(status == ENOENT, "copy but not copied?"); | ^~~~~~ 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=] +In file included from racallback.c:25: +racallback.c: In function 'cb__init': +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); +racallback.c:70:9: note: in expansion of macro 'BUG_ON' + 70 | BUG_ON(!cb__cb_table.auth_baton); | ^~~~~~ -In function 'cm___output_pct': -cc1: note: source object is likely at address zero -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) - | ^~~~~~~~~ -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 -ignore.c: In function 'ign___load_group': +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) | ^~~ -ignore.c:1462:9: note: in expansion of macro 'BUG_ON' - 1462 | BUG_ON(ign->group_def, "already loaded"); +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 In file included from actions.h:12, @@ -1138,88 +1148,95 @@ 434 | BUG_ON(!pool); | ^~~~~~ cc1: note: source object is likely at address zero -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=] +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) | ^~~ -est_ops.c:153:9: note: in expansion of macro 'BUG_ON' - 153 | BUG_ON(!S_ISLNK(sts->st.mode)); +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 -est_ops.c: In function 'ops__find_entry_byname': +In file included from est_ops.c:18: +est_ops.c: In function 'ops___dev_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) | ^~~ -est_ops.c:797:9: note: in expansion of macro 'BUG_ON' - 797 | BUG_ON(!S_ISDIR(dir->st.mode)); +est_ops.c:179:9: note: in expansion of macro 'BUG_ON' + 179 | BUG_ON(!(sts->remote_status & FS_NEW) && | ^~~~~~ cc1: note: source object is likely at address zero -diff.c: In function 'df___repos_repos': +est_ops.c: In function 'ops__stat_to_action': 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) + | ^~~ +est_ops.c:303:25: note: in expansion of macro 'BUG_ON' + 303 | BUG_ON(1); + | ^~~~~~ 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); - | ^~~ -cc1: note: source object is likely at address zero -In file included from racallback.c:25: -racallback.c: In function 'cb__init': 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:70:9: note: in expansion of macro 'BUG_ON' - 70 | BUG_ON(!cb__cb_table.auth_baton); +est_ops.c:265:9: note: in expansion of macro 'BUG_ON' + 265 | BUG_ON(sts->to_be_ignored); | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__allocate': +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) | ^~~ -est_ops.c:943:9: note: in expansion of macro 'BUG_ON' - 943 | BUG_ON(!returned, "Not even a single block returned!!"); - | ^~~~~~ +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 -In file included from update.c:74: -update.c: In function 'up__parse_prop': +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) + | ^~~~~~~~~ +diff.c:507:25: note: in expansion of macro 'BUG' + 507 | BUG("type?"); + | ^~~ +cc1: note: source object is likely at address zero +In file included from actions.h:12, + from url.h:12, + from url.c:17: +url.c: In function 'url__output_list': 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:886:9: note: in expansion of macro 'BUG_ON' - 886 | BUG_ON(needed <=0, "not even a single block needed?"); - | ^~~~~~ +url.c:1032:17: note: in expansion of macro 'BUG_ON' + 1032 | BUG_ON( l > sizeof(buffer)-4); + | ^~~~~~ cc1: note: source object is likely at address zero +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:348:17: note: in expansion of macro 'BUG_ON' - 348 | BUG_ON(S_ISDIR(sts->st.mode)); - | ^~~~~~ +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': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1232,23 +1249,15 @@ 1052 | BUG_ON(used >= buflen); | ^~~~~~ 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 -est_ops.c: In function 'ops__free_entry': +url.c: In function 'url__close_session': 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); +url.c:1195:17: note: in expansion of macro 'BUG_ON' + 1195 | BUG_ON(cur->pool == NULL && cur->session != NULL); | ^~~~~~ cc1: note: source object is likely at address zero cp_mv.c: In function 'cm___absolute_path': @@ -1262,189 +1271,205 @@ 1077 | BUG_ON(len > cache->entries[cache->lru]->len); | ^~~~~~ cc1: note: source object is likely at address zero -In file included from status.c:14: -status.c: In function 'st__print_status': +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) | ^~~ -status.c:219:33: note: in expansion of macro 'BUG_ON' - 219 | BUG_ON(status == ENOENT, "Marked as copied, but no info?"); - | ^~~~~~ +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 -commit.c: In function 'ci___base_dirs': +ignore.c: In function 'ign___load_group': 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=='/'); - | ^~~~~~ +ignore.c:1462:9: note: in expansion of macro 'BUG_ON' + 1462 | BUG_ON(ign->group_def, "already loaded"); + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__delete_entry': -ignore.c: In function 'ign__new_pattern': +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) | ^~~ -ignore.c:1922:9: note: in expansion of macro 'BUG_ON' - 1922 | BUG_ON(position > used_ignore_entries || position<0); - | ^~~~~~ +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__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) - | ^~~ -est_ops.c:1095:25: note: in expansion of macro 'BUG_ON' - 1095 | BUG_ON(index_byname > dir->entry_count, "i > c"); - | ^~~~~~ +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 +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:1090:25: note: in expansion of macro 'BUG_ON' - 1090 | BUG_ON(index_byinode > dir->entry_count, "i > c"); - | ^~~~~~ +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 +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) | ^~~ -est_ops.c:1114:25: note: in expansion of macro 'BUG_ON' - 1114 | BUG_ON(index_byinode == UNKNOWN_INDEX); - | ^~~~~~ +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 +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) | ^~~ -est_ops.c:1133:25: note: in expansion of macro 'BUG_ON' - 1133 | BUG_ON(index_byname == UNKNOWN_INDEX); +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 +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) | ^~~~~~~~~ -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:1084:9: note: in expansion of macro 'BUG_ON' - 1084 | BUG_ON(!S_ISDIR(dir->st.mode), "can remove only from directory"); - | ^~~~~~ +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) | ^~~~~~~~~ -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:1077:9: note: in expansion of macro 'BUG_ON' - 1077 | BUG_ON( (sts ? 1 : 0) + - | ^~~~~~ +revert.c:1315:33: note: in expansion of macro 'BUG' + 1315 | BUG("why a conflict?"); + | ^~~ 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': +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) | ^~~~~~~~~ -warnings.c:207:25: note: in expansion of macro 'BUG' - 207 | BUG("Invalid warning action encountered"); - | ^~~ +diff.c:870:33: note: in expansion of macro 'BUG' + 870 | BUG("type?"); + | ^~~ cc1: note: source object is likely at address zero -revert.c: In function 'rev___undo_change': +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) | ^~~~~~~~~ -revert.c:1180:33: note: in expansion of macro 'BUG' - 1180 | BUG("unknown conflict resolution"); - | ^~~ +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)); + | ^~~~~~ 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': 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?"); - | ^~~ +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); + | ^~~~~~ cc1: note: source object is likely at address zero -cp_mv.c: In function 'cm___make_copy': +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) | ^~~ -cp_mv.c:1250:17: note: in expansion of macro 'BUG_ON' - 1250 | BUG_ON(1, "fetch list of entries from the repository"); - | ^~~~~~ +helper.c:1730:25: note: in expansion of macro 'BUG_ON' + 1730 | BUG_ON(1); + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__free_marked': +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); + | ^~~ +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:1165:9: note: in expansion of macro 'BUG_ON' - 1165 | BUG_ON(!S_ISDIR(dir->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 -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) | ^~~ -status.c:314:9: note: in expansion of macro 'BUG_ON' - 314 | BUG_ON(sts->was_output, "%s was already output ...", path); +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__traverse': +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) | ^~~~~~~~~ -est_ops.c:1266:25: note: in expansion of macro 'BUG' - 1266 | BUG("Path '%s' includes '..'!", fullpath); +diff.c:1019:25: note: in expansion of macro 'BUG' + 1019 | BUG("what?"); | ^~~ cc1: note: source object is likely at address zero +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) | ^~~ -est_ops.c:1249:17: note: in expansion of macro 'BUG_ON' - 1249 | BUG_ON(!path[0]); +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 -In file included from helper.c:24: -helper.c: In function 'hlp__format_path': +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:."); + | ^~~ +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) | ^~~ -helper.c:1730:25: note: in expansion of macro 'BUG_ON' - 1730 | BUG_ON(1); - | ^~~~~~ +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 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=] @@ -1457,81 +1482,76 @@ 1595 | BUG_ON(!url); | ^~~~~~ cc1: note: source object is likely at address zero -racallback.c: In function 'cb___remover': +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=] 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); +est_ops.c:1095:25: note: in expansion of macro 'BUG_ON' + 1095 | BUG_ON(index_byname > dir->entry_count, "i > c"); | ^~~~~~ cc1: note: source object is likely at address zero -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) | ^~~ -cp_mv.c:1632:9: note: in expansion of macro 'BUG_ON' - 1632 | BUG_ON(!copied, "Copy-sub but no base?"); - | ^~~~~~ +est_ops.c:1090:25: note: in expansion of macro 'BUG_ON' + 1090 | BUG_ON(index_byinode > dir->entry_count, "i > c"); + | ^~~~~~ 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) | ^~~ -helper.c:1755:17: note: in expansion of macro 'BUG_ON' - 1755 | BUG_ON(rev < 0); - | ^~~~~~ +est_ops.c:1114:25: note: in expansion of macro 'BUG_ON' + 1114 | BUG_ON(index_byinode == UNKNOWN_INDEX); + | ^~~~~~ cc1: note: source object is likely at address zero -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) | ^~~ -update.c:1016:9: note: in expansion of macro 'BUG_ON' - 1016 | BUG_ON((sts->remote_status & FS_CHANGED) && - | ^~~~~~ +est_ops.c:1133:25: note: in expansion of macro 'BUG_ON' + 1133 | BUG_ON(index_byname == UNKNOWN_INDEX); + | ^~~~~~ cc1: note: source object is likely at address zero -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) | ^~~ -update.c:1043:17: note: in expansion of macro 'BUG_ON' - 1043 | BUG_ON(!sts->st.mode); - | ^~~~~~ +est_ops.c:1084:9: note: in expansion of macro 'BUG_ON' + 1084 | BUG_ON(!S_ISDIR(dir->st.mode), "can remove only from directory"); + | ^~~~~~ 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=] 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:1769:9: note: in expansion of macro 'BUG_ON' - 1769 | BUG_ON(!group); +est_ops.c:1077:9: note: in expansion of macro 'BUG_ON' + 1077 | BUG_ON( (sts ? 1 : 0) + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__save_1entry': +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) | ^~~ -est_ops.c:566:9: note: in expansion of macro 'BUG_ON' - 566 | BUG_ON(buffer[sizeof(buffer)-1]!=0xff || +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 global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1540,98 +1560,92 @@ 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:595:17: note: in expansion of macro 'BUG_ON' + 595 | BUG_ON(eos == dest); + | ^~~~~~ cc1: note: source object is likely at address zero -est_ops.c: In function 'ops__make_shadow_entry': +url.c: In function 'url__canonical_rev': 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:1812:9: note: in expansion of macro 'BUG_ON' - 1812 | BUG_ON(sts->old); - | ^~~~~~ +url.c:1671:25: note: in expansion of macro 'BUG_ON' + 1671 | BUG_ON( !url->session ); + | ^~~~~~ 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': +url.c: In function 'url__open_session': 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); - | ^~~~~~ +url.c:1104:9: note: in expansion of macro 'BUG_ON' + 1104 | BUG_ON(*cp); + | ^~~~~~ 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:."); - | ^~~ +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) + | ^~~ +url.c:1102:9: note: in expansion of macro 'BUG_ON' + 1102 | BUG_ON(!buffer); + | ^~~~~~ cc1: note: source object is likely at address zero -In file included from actions.h:12, - from url.h:12, - from url.c:17: -url.c: In function 'url__output_list': +ignore.c: In function 'ign__new_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) | ^~~ -url.c:1032:17: note: in expansion of macro 'BUG_ON' - 1032 | BUG_ON( l > sizeof(buffer)-4); - | ^~~~~~ +ignore.c:1922:9: note: in expansion of macro 'BUG_ON' + 1922 | BUG_ON(position > used_ignore_entries || position<0); + | ^~~~~~ cc1: note: source object is likely at address zero -waa.c: In function 'waa__open': +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) | ^~~ -waa.c:601:9: note: in expansion of macro 'BUG_ON' - 601 | BUG_ON( action->is_readonly && +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 +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) | ^~~ -waa.c:595:17: note: in expansion of macro 'BUG_ON' - 595 | BUG_ON(eos == dest); - | ^~~~~~ +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 -url.c: In function 'url__close_session': +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) | ^~~~~~~~~ -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) - | ^~~ -url.c:1195:17: note: in expansion of macro 'BUG_ON' - 1195 | BUG_ON(cur->pool == NULL && cur->session != NULL); - | ^~~~~~ +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 -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); - | ^~~~~~ +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 waa.c: In function 'waa__delete_byext': global.h:808:72: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=] @@ -1675,16 +1689,16 @@ 1380 | BUG_ON(status >= sizeof(header)-1, "header space not large enough"); | ^~~~~~ cc1: note: source object is likely at address zero -url.c: In function 'url__canonical_rev': +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=] 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) | ^~~ -url.c:1671:25: note: in expansion of macro 'BUG_ON' - 1671 | BUG_ON( !url->session ); - | ^~~~~~ +est_ops.c:1769:9: note: in expansion of macro 'BUG_ON' + 1769 | BUG_ON(!group); + | ^~~~~~ cc1: note: source object is likely at address zero 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=] @@ -1707,15 +1721,26 @@ 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__open_session': +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) | ^~~ -url.c:1104:9: note: in expansion of macro 'BUG_ON' - 1104 | BUG_ON(*cp); +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 +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) + | ^~~ +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=] @@ -1724,8 +1749,19 @@ 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) | ^~~ -url.c:1102:9: note: in expansion of macro 'BUG_ON' - 1102 | BUG_ON(!buffer); +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=] + 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:1812:9: note: in expansion of macro 'BUG_ON' + 1812 | BUG_ON(sts->old); | ^~~~~~ cc1: note: source object is likely at address zero waa.c: In function 'waa__input_tree': @@ -1815,7 +1851,7 @@ | ^~~~~~ 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 1122912 May 6 21:41 fsvs +-rwxr-xr-x 1 pbuilder2 pbuilder2 1122912 Jun 10 06:06 fsvs make[1]: Leaving directory '/build/reproducible-path/fsvs-1.2.12' dh_auto_test create-stamp debian/debhelper-build-stamp @@ -1825,7 +1861,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/fsvs/ - make -j20 install DESTDIR=/build/reproducible-path/fsvs-1.2.12/debian/fsvs AM_UPDATE_INFO_DIR=no + make -j42 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 @@ -1849,8 +1885,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'fsvs' in '../fsvs_1.2.12-1_amd64.deb'. dpkg-deb: building package 'fsvs-dbgsym' in '../fsvs-dbgsym_1.2.12-1_amd64.deb'. +dpkg-deb: building package 'fsvs' in '../fsvs_1.2.12-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../fsvs_1.2.12-1_amd64.buildinfo dpkg-genchanges --build=binary -O../fsvs_1.2.12-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1858,12 +1894,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1284243/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1284243/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/666058 and its subdirectories -I: Current time: Mon May 6 21:41:52 -12 2024 -I: pbuilder-time-stamp: 1715074912 +I: removing directory /srv/workspace/pbuilder/1284243 and its subdirectories +I: Current time: Tue Jun 10 06:06:13 +14 2025 +I: pbuilder-time-stamp: 1749485173