Diff of the two buildlogs: -- --- b1/build.log 2023-04-21 12:12:00.548119043 +0000 +++ b2/build.log 2023-04-21 12:13:17.552702318 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 21 00:10:13 -12 2023 -I: pbuilder-time-stamp: 1682079013 +I: Current time: Fri May 24 08:35:04 +14 2024 +I: pbuilder-time-stamp: 1716489304 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./fsvs_1.2.9.orig.tar.gz] I: copying [./fsvs_1.2.9-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Aug 20 01:13:47 2021 -12 +gpgv: Signature made Sat Aug 21 03:13:47 2021 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./fsvs_1.2.9-2.dsc: no acceptable signature found @@ -34,52 +34,84 @@ dpkg-source: info: applying honour_cppflags.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32016/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/27764/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +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 May 24 08:35 /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/27764/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/27764/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='32016' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=27764 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.0S7FIMgJ/pbuilderrc_KrIo --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0S7FIMgJ/b1 --logfile b1/build.log fsvs_1.2.9-2.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.0S7FIMgJ/pbuilderrc_xhrX --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0S7FIMgJ/b2 --logfile b2/build.log --extrapackages usrmerge fsvs_1.2.9-2.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink12-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 20 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32016/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 23 06:50 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/27764/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -196,7 +228,7 @@ Get: 65 http://deb.debian.org/debian bookworm/main arm64 libutf8proc2 arm64 2.8.0-1 [60.6 kB] Get: 66 http://deb.debian.org/debian bookworm/main arm64 libsvn1 arm64 1.14.2-4+b2 [1283 kB] Get: 67 http://deb.debian.org/debian bookworm/main arm64 libsvn-dev arm64 1.14.2-4+b2 [403 kB] -Fetched 30.2 MB in 1s (25.1 MB/s) +Fetched 30.2 MB in 1s (45.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -485,10 +517,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/fsvs-1.2.9/ && 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.9-2_source.changes +I: user script /srv/workspace/pbuilder/27764/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/27764/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/fsvs-1.2.9/ && 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.9-2_source.changes dpkg-buildpackage: info: source package fsvs dpkg-buildpackage: info: source version 1.2.9-2 dpkg-buildpackage: info: source distribution unstable @@ -673,11 +710,11 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -MM add_unvers.c | perl -pe 's#\bdoc.g-c\b##' > .add_unvers.d cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -MM actions.c | perl -pe 's#\bdoc.g-c\b##' > .actions.d cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -MM ac_list.c | perl -pe 's#\bdoc.g-c\b##' > .ac_list.d -/bin/sh: 1: cannot open tags: No such file +/bin/sh: line 1: tags: No such file or directory tags -Not seen: S_ISDOOR cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o ac_list.o ac_list.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o actions.o actions.c +Not seen: S_ISDOOR cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o add_unvers.o add_unvers.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o build.o build.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o cache.o cache.c @@ -696,10 +733,6 @@ 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 ); | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o cp_mv.o cp_mv.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o diff.o diff.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o direnum.o direnum.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o est_ops.o est_ops.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] @@ -711,8 +744,16 @@ cache.c:198:17: note: in expansion of macro 'BUG_ON' 198 | BUG_ON(cache->lru >= cache->max); | ^~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o cp_mv.o cp_mv.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o diff.o diff.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o direnum.o direnum.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o est_ops.o est_ops.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o export.o export.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o fsvs.o fsvs.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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from checksum.h:12, from checksum.c:16: checksum.c: In function 'cs___update_manber': @@ -725,10 +766,17 @@ checksum.c:747:17: note: in expansion of macro 'BUG_ON' 747 | BUG_ON(i > sizeof(buffer)-3, "Buffer too small - stack overrun"); | ^~~~~~ -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 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"); + | ^~~~~~ In file included from est_ops.h:13, from direnum.c:20: In function 'dir__sortbyinode', @@ -742,6 +790,17 @@ direnum.c:327:17: note: in expansion of macro 'BUG_ON' 327 | BUG_ON(!sts->by_inode); | ^~~~~~ +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])); + | ^~~~~~ 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) @@ -762,29 +821,61 @@ checksum.c:1065:17: note: in expansion of macro 'BUG_ON' 1065 | BUG_ON(count > estimated, "lines should have syntax errors - bug in estimation."); | ^~~~~~ -In file included from diff.c:18: -diff.c: In function 'df___print_meta': +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) | ^~~ -diff.c:128:17: note: in expansion of macro 'BUG_ON' - 128 | BUG_ON(l2>5, "Parameter list too long"); +cp_mv.c:758:25: note: in expansion of macro 'BUG_ON' + 758 | BUG_ON(candidate_count > sizeof(candidates)/sizeof(candidates[0])); + | ^~~~~~ +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) + | ^~~ +commit.c:548:17: note: in expansion of macro 'BUG_ON' + 548 | BUG_ON(!s_stream); | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o hash_ops.o hash_ops.c -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) + | ^~~~~~~~~ +commit.c:542:33: note: in expansion of macro 'BUG' + 542 | BUG("invalid/unknown file type 0%o", sts->st.mode); + | ^~~ 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])); - | ^~~~~~ +commit.c:461:9: note: in expansion of macro 'BUG_ON' + 461 | BUG_ON( sts->entry_status & FS_LIKELY ); + | ^~~~~~ +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?"); + | ^~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o hash_ops.o hash_ops.c +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:651:9: note: in expansion of macro 'BUG_ON' + 651 | BUG_ON(cand->match_count > 1000 || cand->match_count < 0); + | ^~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o helper.o helper.c In file included from est_ops.c:18: est_ops.c: In function 'ops___dev_to_string': @@ -797,6 +888,16 @@ est_ops.c:179:9: note: in expansion of macro 'BUG_ON' 179 | BUG_ON(!(sts->remote_status & FS_NEW) && | ^~~~~~ +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) + | ^~~ +commit.c:819:33: note: in expansion of macro 'BUG_ON' + 819 | BUG_ON(status == ENOENT, "copy but not copied?"); + | ^~~~~~ 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) @@ -816,52 +917,54 @@ est_ops.c:265:9: note: in expansion of macro 'BUG_ON' 265 | BUG_ON(sts->to_be_ignored); | ^~~~~~ -cp_mv.c: In function 'cm___match': +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) | ^~~ -cp_mv.c:758:25: note: in expansion of macro 'BUG_ON' - 758 | BUG_ON(candidate_count > sizeof(candidates)/sizeof(candidates[0])); - | ^~~~~~ -In file included from commit.c:85: -commit.c: In function 'ci__nondir': +cp_mv.c:1052:9: note: in expansion of macro 'BUG_ON' + 1052 | BUG_ON(used >= buflen); + | ^~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o ignore.o ignore.c +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) | ^~~ -commit.c:548:17: note: in expansion of macro 'BUG_ON' - 548 | BUG_ON(!s_stream); - | ^~~~~~ -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:542:33: note: in expansion of macro 'BUG' - 542 | BUG("invalid/unknown file type 0%o", sts->st.mode); - | ^~~ +cp_mv.c:1077:9: note: in expansion of macro 'BUG_ON' + 1077 | BUG_ON(len > cache->entries[cache->lru]->len); + | ^~~~~~ +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:461:9: note: in expansion of macro 'BUG_ON' - 461 | BUG_ON( sts->entry_status & FS_LIKELY ); - | ^~~~~~ -est_ops.c: In function 'ops__load_1entry': +est_ops.c:410:8: note: in expansion of macro 'BUG_ON' + 410 | BUG_ON(e_t && !S_ISDIR(sts->st.mode)); + | ^~~~~~ +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?"); + | ^~~ +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:410:8: note: in expansion of macro 'BUG_ON' - 410 | BUG_ON(e_t && !S_ISDIR(sts->st.mode)); - | ^~~~~~ +cp_mv.c:1250:17: note: in expansion of macro 'BUG_ON' + 1250 | BUG_ON(1, "fetch list of entries from the repository"); + | ^~~~~~ 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) @@ -869,6 +972,13 @@ est_ops.c:737:17: note: in expansion of macro 'BUG' 737 | BUG("path len counting went wrong"); | ^~~ +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?"); + | ^~~ 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) @@ -879,63 +989,64 @@ est_ops.c:153:9: note: in expansion of macro 'BUG_ON' 153 | BUG_ON(!S_ISLNK(sts->st.mode)); | ^~~~~~ -diff.c: In function 'df___type_def_diff': +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) | ^~~~~~~~~ -diff.c:507:25: note: in expansion of macro 'BUG' - 507 | BUG("type?"); - | ^~~ -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: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:798:9: note: in expansion of macro 'BUG_ON' + 798 | BUG_ON(!S_ISDIR(dir->st.mode)); + | ^~~~~~ +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) | ^~~ -cp_mv.c:651:9: note: in expansion of macro 'BUG_ON' - 651 | BUG_ON(cand->match_count > 1000 || cand->match_count < 0); +est_ops.c:944:9: note: in expansion of macro 'BUG_ON' + 944 | BUG_ON(!returned, "Not even a single block returned!!"); | ^~~~~~ -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) | ^~~ -est_ops.c:798:9: note: in expansion of macro 'BUG_ON' - 798 | BUG_ON(!S_ISDIR(dir->st.mode)); +est_ops.c:887:9: note: in expansion of macro 'BUG_ON' + 887 | BUG_ON(needed <=0, "not even a single block needed?"); | ^~~~~~ -commit.c: In function 'ci__directory': +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) | ^~~ -commit.c:819:33: note: in expansion of macro 'BUG_ON' - 819 | BUG_ON(status == ENOENT, "copy but not copied?"); - | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o ignore.o ignore.c -est_ops.c: In function 'ops__allocate': +commit.c:1022:25: note: in expansion of macro 'BUG_ON' + 1022 | BUG_ON(!*delim || *delim=='/'); + | ^~~~~~ +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) | ^~~ -est_ops.c:944:9: note: in expansion of macro 'BUG_ON' - 944 | BUG_ON(!returned, "Not even a single block returned!!"); - | ^~~~~~ +cp_mv.c:1595:17: note: in expansion of macro 'BUG_ON' + 1595 | BUG_ON(!url); + | ^~~~~~ +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:887:9: note: in expansion of macro 'BUG_ON' - 887 | BUG_ON(needed <=0, "not even a single block needed?"); +cp_mv.c:1632:9: note: in expansion of macro 'BUG_ON' + 1632 | BUG_ON(!copied, "Copy-sub but no base?"); | ^~~~~~ 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] @@ -947,42 +1058,59 @@ est_ops.c:974:17: note: in expansion of macro 'BUG_ON' 974 | BUG_ON(sts->entry_count && !sts->by_inode); | ^~~~~~ -est_ops.c: In function 'ops__delete_entry': +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:1096:25: note: in expansion of macro 'BUG_ON' - 1096 | BUG_ON(index_byname > dir->entry_count, "i > c"); - | ^~~~~~ +ignore.c:1970:9: note: in expansion of macro 'BUG_ON' + 1970 | BUG_ON(!(sts->entry_status & FS_NEW)); + | ^~~~~~ +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) | ^~~ -est_ops.c:1091:25: note: in expansion of macro 'BUG_ON' - 1091 | BUG_ON(index_byinode > dir->entry_count, "i > c"); - | ^~~~~~ +ignore.c:1992:9: note: in expansion of macro 'BUG_ON' + 1992 | BUG_ON(!(sts->entry_status & FS_NEW)); + | ^~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o info.o info.c +ignore.c: In function 'ign__compile_pattern': +ignore.c:806:25: warning: '__builtin_strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] + 806 | strncpy(dest, norm_prefix, strlen(norm_prefix)); + | ^ +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); + | ^~~ +In file included from hash_ops.c:12: +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] 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:1115:25: note: in expansion of macro 'BUG_ON' - 1115 | BUG_ON(index_byinode == UNKNOWN_INDEX); - | ^~~~~~ +hash_ops.c:522:17: note: in expansion of macro 'BUG_ON' + 522 | BUG_ON(listd.dsize != sizeof(list)); + | ^~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o log.o log.c +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) | ^~~ -est_ops.c:1134:25: note: in expansion of macro 'BUG_ON' - 1134 | BUG_ON(index_byname == UNKNOWN_INDEX); +est_ops.c:1096:25: note: in expansion of macro 'BUG_ON' + 1096 | BUG_ON(index_byname > dir->entry_count, "i > 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) @@ -990,49 +1118,44 @@ 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:1085:9: note: in expansion of macro 'BUG_ON' - 1085 | BUG_ON(!S_ISDIR(dir->st.mode), "can remove only from directory"); - | ^~~~~~ +est_ops.c:1091:25: note: in expansion of macro 'BUG_ON' + 1091 | BUG_ON(index_byinode > dir->entry_count, "i > 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) | ^~~~~~~~~ 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:1078:9: note: in expansion of macro 'BUG_ON' - 1078 | BUG_ON( (sts ? 1 : 0) + - | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o info.o info.c -In file included from hash_ops.c:12: -hash_ops.c: In function 'hsh__insert_pointer': +est_ops.c:1115:25: note: in expansion of macro 'BUG_ON' + 1115 | BUG_ON(index_byinode == UNKNOWN_INDEX); + | ^~~~~~ 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:522:17: note: in expansion of macro 'BUG_ON' - 522 | BUG_ON(listd.dsize != sizeof(list)); - | ^~~~~~ -commit.c: In function 'ci___base_dirs': +est_ops.c:1134:25: note: in expansion of macro 'BUG_ON' + 1134 | BUG_ON(index_byname == UNKNOWN_INDEX); + | ^~~~~~ 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:1022:25: note: in expansion of macro 'BUG_ON' - 1022 | BUG_ON(!*delim || *delim=='/'); - | ^~~~~~ -cp_mv.c: In function 'cm___rev_path_to_string': +est_ops.c:1085:9: note: in expansion of macro 'BUG_ON' + 1085 | BUG_ON(!S_ISDIR(dir->st.mode), "can remove only from 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) | ^~~ -cp_mv.c:1052:9: note: in expansion of macro 'BUG_ON' - 1052 | BUG_ON(used >= buflen); +est_ops.c:1078:9: note: in expansion of macro 'BUG_ON' + 1078 | BUG_ON( (sts ? 1 : 0) + | ^~~~~~ 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] @@ -1044,6 +1167,7 @@ hash_ops.c:601:9: note: in expansion of macro 'BUG_ON' 601 | BUG_ON( c<=0 || c>HASH__LIST_MAX, "number of entries=%d", c); | ^~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o options.o options.c 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) @@ -1054,16 +1178,6 @@ est_ops.c:1166:9: note: in expansion of macro 'BUG_ON' 1166 | BUG_ON(!S_ISDIR(dir->st.mode)); | ^~~~~~ -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) - | ^~~ -cp_mv.c:1077:9: note: in expansion of macro 'BUG_ON' - 1077 | BUG_ON(len > cache->entries[cache->lru]->len); - | ^~~~~~ 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) @@ -1080,144 +1194,112 @@ est_ops.c:1250:17: note: in expansion of macro 'BUG_ON' 1250 | BUG_ON(!path[0]); | ^~~~~~ -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?"); - | ^~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o log.o log.c -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) - | ^~~ -cp_mv.c:1250:17: note: in expansion of macro 'BUG_ON' - 1250 | BUG_ON(1, "fetch list of entries from the repository"); - | ^~~~~~ -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?"); - | ^~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o options.o options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o props.o props.c -In file included from log.c:60: -log.c: In function 'log__receiver': +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o racallback.o racallback.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o remote.o remote.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o resolve.o resolve.c +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) | ^~~ -log.c:201:17: note: in expansion of macro 'BUG_ON' - 201 | BUG_ON(i>fn_count, - | ^~~~~~ +est_ops.c:1770:9: note: in expansion of macro 'BUG_ON' + 1770 | BUG_ON(!group); + | ^~~~~~ +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) | ^~~ -log.c:170:25: note: in expansion of macro 'BUG_ON' - 170 | BUG_ON(i>=fn_count, - | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o racallback.o racallback.c -est_ops.c: In function 'ops__apply_group': +est_ops.c:566:9: note: in expansion of macro 'BUG_ON' + 566 | BUG_ON(buffer[sizeof(buffer)-1]!=0xff || + | ^~~~~~ 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:1770:9: note: in expansion of macro 'BUG_ON' - 1770 | BUG_ON(!group); +est_ops.c:561:9: note: in expansion of macro 'BUG_ON' + 561 | BUG_ON(len > sizeof(buffer)-2); | ^~~~~~ -cp_mv.c: In function 'cm___get_base_source': +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) | ^~~ -cp_mv.c:1595:17: note: in expansion of macro 'BUG_ON' - 1595 | BUG_ON(!url); - | ^~~~~~ -In file included from ignore.c:16: -ignore.c: In function 'ign___test_single_pattern': +est_ops.c:1813:9: note: in expansion of macro 'BUG_ON' + 1813 | BUG_ON(sts->old); + | ^~~~~~ +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) | ^~~ -ignore.c:1970:9: note: in expansion of macro 'BUG_ON' - 1970 | BUG_ON(!(sts->entry_status & FS_NEW)); - | ^~~~~~ -est_ops.c: In function 'ops__save_1entry': +log.c:201:17: note: in expansion of macro 'BUG_ON' + 201 | BUG_ON(i>fn_count, + | ^~~~~~ 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 || - | ^~~~~~ +log.c:170:25: note: in expansion of macro 'BUG_ON' + 170 | BUG_ON(i>=fn_count, + | ^~~~~~ +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) | ^~~ -est_ops.c:561:9: note: in expansion of macro 'BUG_ON' - 561 | BUG_ON(len > sizeof(buffer)-2); - | ^~~~~~ -ignore.c: In function 'ign___test_all_patterns': +helper.c:1730:25: note: in expansion of macro 'BUG_ON' + 1730 | BUG_ON(1); + | ^~~~~~ +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) | ^~~ -ignore.c:1992:9: note: in expansion of macro 'BUG_ON' - 1992 | BUG_ON(!(sts->entry_status & FS_NEW)); +ignore.c:1470:9: note: in expansion of macro 'BUG_ON' + 1470 | BUG_ON(ign->group_def, "already loaded"); | ^~~~~~ -cp_mv.c: In function 'cm___get_sub_source_rek': +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:1632:9: note: in expansion of macro 'BUG_ON' - 1632 | BUG_ON(!copied, "Copy-sub but no base?"); +racallback.c:70:9: note: in expansion of macro 'BUG_ON' + 70 | BUG_ON(!cb__cb_table.auth_baton); | ^~~~~~ -est_ops.c: In function 'ops__make_shadow_entry': +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o revert.o revert.c +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) | ^~~ -est_ops.c:1813:9: note: in expansion of macro 'BUG_ON' - 1813 | BUG_ON(sts->old); - | ^~~~~~ -ignore.c: In function 'ign__compile_pattern': -ignore.c:806:25: warning: '__builtin_strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] - 806 | strncpy(dest, norm_prefix, strlen(norm_prefix)); - | ^ -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); - | ^~~ +helper.c:1755:17: note: in expansion of macro 'BUG_ON' + 1755 | BUG_ON(rev < 0); + | ^~~~~~ 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) @@ -1225,66 +1307,58 @@ log.c:410:25: note: in expansion of macro 'BUG' 410 | BUG("how many"); | ^~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o remote.o remote.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o resolve.o resolve.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o revert.o revert.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o status.o status.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o sync.o sync.c -In file included from helper.c:24: -helper.c: In function 'hlp__format_path': +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) | ^~~ -helper.c:1730:25: note: in expansion of macro 'BUG_ON' - 1730 | BUG_ON(1); - | ^~~~~~ -helper.c: In function 'hlp__rev_to_string': +resolve.c:150:17: note: in expansion of macro 'BUG_ON' + 150 | BUG_ON(to_remove - mapped > st.size); + | ^~~~~~ +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) | ^~~~~~~~~ -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); - | ^~~~~~ -In file included from racallback.c:25: -racallback.c: In function 'cb__init': +ignore.c:1745:25: note: in expansion of macro 'BUG' + 1745 | BUG("unknown pattern type 0x%X", ign->type); + | ^~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o sync.o sync.c +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:70:9: note: in expansion of macro 'BUG_ON' - 70 | BUG_ON(!cb__cb_table.auth_baton); - | ^~~~~~ -In file included from resolve.c:14: -resolve.c: In function 'res__remove_aux_files': +racallback.c:781:25: note: in expansion of macro 'BUG_ON' + 781 | BUG_ON(sts->url != to_remove && url__sorter(hp_url, sts->url) < 0); + | ^~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o update.o update.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o url.o url.c +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) | ^~~ -resolve.c:150:17: note: in expansion of macro 'BUG_ON' - 150 | BUG_ON(to_remove - mapped > st.size); - | ^~~~~~ -ignore.c: In function 'ign___load_group': +ignore.c:1901:9: note: in expansion of macro 'BUG_ON' + 1901 | BUG_ON(position > used_ignore_entries || position<0); + | ^~~~~~ +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) | ^~~ -ignore.c:1470:9: note: in expansion of macro 'BUG_ON' - 1470 | BUG_ON(ign->group_def, "already loaded"); - | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o update.o update.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o url.o url.c +helper.c:1998:25: note: in expansion of macro 'BUG_ON' + 1998 | BUG_ON(len<=0); + | ^~~~~~ In file included from actions.h:12, from revert.h:12, from revert.c:16: @@ -1305,13 +1379,7 @@ 432 | BUG_ON(!pool); | ^~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o waa.o waa.c -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:1745:25: note: in expansion of macro 'BUG' - 1745 | BUG("unknown pattern type 0x%X", ign->type); - | ^~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o warnings.o warnings.c 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] @@ -1323,27 +1391,16 @@ status.c:220:33: note: in expansion of macro 'BUG_ON' 220 | BUG_ON(status == ENOENT, "Marked as copied, but no info?"); | ^~~~~~ -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:781:25: note: in expansion of macro 'BUG_ON' - 781 | BUG_ON(sts->url != to_remove && url__sorter(hp_url, sts->url) < 0); - | ^~~~~~ -In file included from update.c:74: -update.c: In function 'up__parse_prop': +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) | ^~~ -update.c:348:17: note: in expansion of macro 'BUG_ON' - 348 | BUG_ON(S_ISDIR(sts->st.mode)); - | ^~~~~~ +status.c:315:9: note: in expansion of macro 'BUG_ON' + 315 | BUG_ON(sts->was_output, "%s was already output ...", path); + | ^~~~~~ 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) @@ -1357,47 +1414,62 @@ revert.c:1313:33: note: in expansion of macro 'BUG' 1313 | BUG("why a conflict?"); | ^~~ -helper.c: In function 'hlp__strmnalloc': +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) | ^~~ -helper.c:1998:25: note: in expansion of macro 'BUG_ON' - 1998 | BUG_ON(len<=0); - | ^~~~~~ -ignore.c: In function 'ign__new_pattern': +update.c:348:17: note: in expansion of macro 'BUG_ON' + 348 | BUG_ON(S_ISDIR(sts->st.mode)); + | ^~~~~~ +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"); + | ^~~ +update.c: In function 'up__change_file_prop': +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) | ^~~ -ignore.c:1901:9: note: in expansion of macro 'BUG_ON' - 1901 | BUG_ON(position > used_ignore_entries || position<0); - | ^~~~~~ -status.c: In function 'st__status': +url.c:1032:17: note: in expansion of macro 'BUG_ON' + 1032 | BUG_ON( l > sizeof(buffer)-4); + | ^~~~~~ 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:315:9: note: in expansion of macro 'BUG_ON' - 315 | BUG_ON(sts->was_output, "%s was already output ...", path); +update.c:1014:9: note: in expansion of macro 'BUG_ON' + 1014 | BUG_ON((sts->remote_status & FS_CHANGED) && | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/fsvs-1.2.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/include/apr-1.0 -fgnu89-inline -Wall -funsigned-char -Os -DFSVS_VERSION='"fsvs-1.2.9:2506"' -Wno-deprecated-declarations -c -o warnings.o warnings.c -update.c: In function 'up__change_file_prop': +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) | ^~~ -update.c:1014:9: note: in expansion of macro 'BUG_ON' - 1014 | BUG_ON((sts->remote_status & FS_CHANGED) && - | ^~~~~~ +waa.c:352:25: note: in expansion of macro 'BUG_ON' + 352 | BUG_ON(!last_ps); + | ^~~~~~ 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) @@ -1408,28 +1480,16 @@ update.c:1041:17: note: in expansion of macro 'BUG_ON' 1041 | BUG_ON(!sts->st.mode); | ^~~~~~ -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"); - | ^~~ -In file included from waa.h:15, - from waa.c:23: -waa.c: In function 'waa__mkdir_mask': +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) | ^~~ -waa.c:352:25: note: in expansion of macro 'BUG_ON' - 352 | BUG_ON(!last_ps); - | ^~~~~~ +url.c:1195:17: note: in expansion of macro 'BUG_ON' + 1195 | BUG_ON(cur->pool == NULL && cur->session != NULL); + | ^~~~~~ 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) @@ -1437,19 +1497,6 @@ waa.c:525:17: note: in expansion of macro 'BUG' 525 | BUG(".:8:."); | ^~~ -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) - | ^~~ -url.c:1032:17: note: in expansion of macro 'BUG_ON' - 1032 | BUG_ON( l > sizeof(buffer)-4); - | ^~~~~~ 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) @@ -1469,16 +1516,6 @@ waa.c:595:17: note: in expansion of macro 'BUG_ON' 595 | BUG_ON(eos == dest); | ^~~~~~ -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) - | ^~~ -url.c:1195:17: note: in expansion of macro 'BUG_ON' - 1195 | BUG_ON(cur->pool == NULL && cur->session != NULL); - | ^~~~~~ 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) @@ -1517,44 +1554,44 @@ waa.c:1380:9: note: in expansion of macro 'BUG_ON' 1380 | BUG_ON(status >= sizeof(header)-1, "header space not large enough"); | ^~~~~~ -waa.c: In function 'waa__find_common_base2': +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) | ^~~ -waa.c:2443:9: note: in expansion of macro 'BUG_ON' - 2443 | BUG_ON(len < 0, "Paths not even equal in separator - " - | ^~~~~~ +url.c:1671:25: note: in expansion of macro 'BUG_ON' + 1671 | BUG_ON( !url->session ); + | ^~~~~~ +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:2366:25: note: in expansion of macro 'BUG_ON' - 2366 | BUG_ON(fnlen >= PATH_MAX, "path longer than PATH_MAX"); - | ^~~~~~ -url.c: In function 'url__canonical_rev': +url.c:1104:9: note: in expansion of macro 'BUG_ON' + 1104 | BUG_ON(*cp); + | ^~~~~~ 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 ); - | ^~~~~~ -url.c: In function 'url__open_session': +url.c:1102:9: note: in expansion of macro 'BUG_ON' + 1102 | BUG_ON(!buffer); + | ^~~~~~ +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) | ^~~ -url.c:1104:9: note: in expansion of macro 'BUG_ON' - 1104 | BUG_ON(*cp); +waa.c:2443:9: note: in expansion of macro 'BUG_ON' + 2443 | BUG_ON(len < 0, "Paths not even equal in separator - " | ^~~~~~ 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) @@ -1562,9 +1599,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) | ^~~ -url.c:1102:9: note: in expansion of macro 'BUG_ON' - 1102 | BUG_ON(!buffer); - | ^~~~~~ +waa.c:2366:25: note: in expansion of macro 'BUG_ON' + 2366 | BUG_ON(fnlen >= PATH_MAX, "path longer than PATH_MAX"); + | ^~~~~~ 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) @@ -1644,7 +1681,7 @@ 3031 | BUG_ON(!wc_path); | ^~~~~~ 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 -lpcre -lgdbm -ldl -laprutil-1 -lapr-1 --rwxr-xr-x 1 pbuilder1 pbuilder1 1190400 Apr 21 00:11 fsvs +-rwxr-xr-x 1 pbuilder2 pbuilder2 1190400 May 24 08:36 fsvs make[1]: Leaving directory '/build/fsvs-1.2.9' dh_auto_test create-stamp debian/debhelper-build-stamp @@ -1677,8 +1714,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'fsvs-dbgsym' in '../fsvs-dbgsym_1.2.9-2_arm64.deb'. dpkg-deb: building package 'fsvs' in '../fsvs_1.2.9-2_arm64.deb'. +dpkg-deb: building package 'fsvs-dbgsym' in '../fsvs-dbgsym_1.2.9-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../fsvs_1.2.9-2_arm64.buildinfo dpkg-genchanges --build=binary -O../fsvs_1.2.9-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1686,12 +1723,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/27764/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/27764/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/32016 and its subdirectories -I: Current time: Fri Apr 21 00:11:59 -12 2023 -I: pbuilder-time-stamp: 1682079119 +I: removing directory /srv/workspace/pbuilder/27764 and its subdirectories +I: Current time: Fri May 24 08:36:16 +14 2024 +I: pbuilder-time-stamp: 1716489376