Diff of the two buildlogs: -- --- b1/build.log 2024-05-25 12:59:16.224524440 +0000 +++ b2/build.log 2024-05-25 12:59:58.326731337 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 25 00:54:49 -12 2024 -I: pbuilder-time-stamp: 1716641689 +I: Current time: Sat Jun 28 09:22:18 +14 2025 +I: pbuilder-time-stamp: 1751052138 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying 05-syrep-typos.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2618691/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1644241/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 27 19:22 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1644241/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1644241/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='818dd0e14a8b4bea8479e3228d8410af' - 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='2618691' - PS1='# ' - PS2='> ' + INVOCATION_ID=e5c4d004f9f94d3b9349c9f856733b8d + 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=1644241 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.jRliAKoA/pbuilderrc_hyz6 --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.jRliAKoA/b1 --logfile b1/build.log syrep_0.9-5.dsc' - SUDO_GID='111' - SUDO_UID='106' - 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.jRliAKoA/pbuilderrc_Ap9f --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.jRliAKoA/b2 --logfile b2/build.log syrep_0.9-5.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 ionos11-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.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 25 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2618691/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 27 14:06 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1644241/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -208,7 +240,7 @@ Get: 77 http://deb.debian.org/debian unstable/main amd64 subversion amd64 1.14.3-1+b4 [960 kB] Get: 78 http://deb.debian.org/debian unstable/main amd64 xmltoman all 0.6-1 [11.4 kB] Get: 79 http://deb.debian.org/debian unstable/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1 [919 kB] -Fetched 29.8 MB in 1s (21.3 MB/s) +Fetched 29.8 MB in 3s (10.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package netbase. (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 ... 19718 files and directories currently installed.) @@ -552,7 +584,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/syrep-0.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 > ../syrep_0.9-5_source.changes +I: user script /srv/workspace/pbuilder/1644241/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1644241/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/syrep-0.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 > ../syrep_0.9-5_source.changes dpkg-buildpackage: info: source package syrep dpkg-buildpackage: info: source version 0.9-5 dpkg-buildpackage: info: source distribution unstable @@ -707,7 +743,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/syrep-0.9' make all-recursive make[2]: Entering directory '/build/reproducible-path/syrep-0.9' @@ -738,49 +774,16 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o info.o info.c gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o history.o history.c gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o dump.o dump.c -cache.c: In function 'get': gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o list.o list.c -cache.c:113:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] - 113 | key.data = (void*) k; - | ^ -cache.c: In function 'put': -cache.c:142:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] - 142 | key.data = (void*) k; - | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o diff.o diff.c gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o merge.o merge.c -util.c: In function 'copy_fd': -util.c:307:46: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 307 | if ((n = loop_read(sfd, buf, m)) != m) { - | ^~ -util.c:318:47: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 318 | if ((n = loop_write(dfd, buf, m)) != m) { - | ^~ -util.c: In function 'snprint_off': gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o extract.o extract.c -util.c:797:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] - 797 | snprintf(s, l, "%llu", (uint64_t) off); - | ~~~^ ~~~~~~~~~~~~~~ - | | | - | | long unsigned int - | long long unsigned int - | %lu gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o makepatch.o makepatch.c gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o cleanup.o cleanup.c -update.c: In function 'dbput': -update.c:52:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] - 52 | key.data = (void*) k; - | ^ -update.c:56:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] - 56 | data.data = (void*) d; - | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o cmdline.o cmdline.c -update.c: In function 'iterate_dir': -update.c:193:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 193 | if(de->d_name[1] == '\0' || de->d_name[1] == '.' && de->d_name[2] == '\0') - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o forget.o forget.c gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o rm-rf-test.o rm-rf-test.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o copy-fd-test.o copy-fd-test.c dbutil.c: In function 'get_current_nrecno_by_md': dbutil.c:75:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 75 | key.data = (void*) md; @@ -793,29 +796,26 @@ dbutil.c:216:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 216 | key.data = (void*) &nrecno->recno; | ^ +cache.c: In function 'get': +cache.c:113:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] + 113 | key.data = (void*) k; + | ^ +cache.c: In function 'put': +cache.c:142:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] + 142 | key.data = (void*) k; + | ^ dbutil.c: In function 'new_name': dbutil.c:333:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 333 | data.data = (void*) name->path; | ^ -update.c:120:5: warning: '__builtin_strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] - 120 | strncpy(name.path, path, PATH_MAX-1); - | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o copy-fd-test.o copy-fd-test.c -package.c: In function 'read_item': -package.c:426:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] - 426 | fprintf(stderr, "Reading %s (%llu) from package.\n", name, l); - | ~~~^ ~ - | | | - | long long unsigned int uint64_t {aka long unsigned int} - | %lu -package.c: In function 'write_item': -package.c:490:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] - 490 | fprintf(stderr, "Writing %s (%llu bytes) to package.\n", i->name, l); - | ~~~^ ~ - | | | - | long long unsigned int uint64_t {aka long unsigned int} - | %lu gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syrep-0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -c -o syrep.o syrep.c +util.c: In function 'copy_fd': +util.c:307:46: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 307 | if ((n = loop_read(sfd, buf, m)) != m) { + | ^~ +util.c:318:47: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 318 | if ((n = loop_write(dfd, buf, m)) != m) { + | ^~ makepatch.c: In function 'cb': makepatch.c:82:40: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 82 | snprintf(path, sizeof(path), "%s/%s", cb_info->root, name->path); @@ -834,6 +834,32 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +util.c: In function 'snprint_off': +util.c:797:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] + 797 | snprintf(s, l, "%llu", (uint64_t) off); + | ~~~^ ~~~~~~~~~~~~~~ + | | | + | | long unsigned int + | long long unsigned int + | %lu +update.c: In function 'dbput': +update.c:52:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] + 52 | key.data = (void*) k; + | ^ +update.c:56:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] + 56 | data.data = (void*) d; + | ^ +update.c: In function 'iterate_dir': +update.c:193:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 193 | if(de->d_name[1] == '\0' || de->d_name[1] == '.' && de->d_name[2] == '\0') + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +package.c: In function 'read_item': +package.c:426:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] + 426 | fprintf(stderr, "Reading %s (%llu) from package.\n", name, l); + | ~~~^ ~ + | | | + | long long unsigned int uint64_t {aka long unsigned int} + | %lu merge.c: In function 'copy_phase': merge.c:194:40: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 194 | snprintf(path, sizeof(path), "%s/%s", cb_info->root, name->path); @@ -876,6 +902,7 @@ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ merge.c: In function 'copy_phase': +package.c: In function 'write_item': merge.c:258:50: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 258 | snprintf(spath, sizeof(spath), "%s/%s", cb_info->sroot, name->path); | ^ @@ -888,6 +915,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +package.c:490:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] + 490 | fprintf(stderr, "Writing %s (%llu bytes) to package.\n", i->name, l); + | ~~~^ ~ + | | | + | long long unsigned int uint64_t {aka long unsigned int} + | %lu merge.c: In function 'delete_phase': merge.c:297:40: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 297 | snprintf(path, sizeof(path), "%s/%s", cb_info->root, name->path); @@ -942,12 +975,20 @@ | | | int | %li -merge.c: In function 'conflict_phase': -merge.c:77:40: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 77 | snprintf(path, sizeof(path), "%s/%s", cb_info->root, name->path); - | ^ +update.c:120:5: warning: '__builtin_strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] + 120 | strncpy(name.path, path, PATH_MAX-1); + | ^ +diff.c: In function 'list_cb': +diff.c:336:54: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 336 | snprintf(cpath, sizeof(cpath), "%s/%s", root, name->path); + | ^ +In file included from /usr/include/stdio.h:964, + from /usr/include/db.h:28, + from context.h:24, + from diff.h:24, + from diff.c:29: In function 'snprintf', - inlined from 'conflict_phase' at merge.c:77:5: + inlined from 'list_cb' at diff.c:336:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -968,17 +1009,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -diff.c: In function 'list_cb': -diff.c:336:54: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 336 | snprintf(cpath, sizeof(cpath), "%s/%s", root, name->path); - | ^ -In file included from /usr/include/stdio.h:964, - from /usr/include/db.h:28, - from context.h:24, - from diff.h:24, - from diff.c:29: +merge.c: In function 'conflict_phase': +merge.c:77:40: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 77 | snprintf(path, sizeof(path), "%s/%s", cb_info->root, name->path); + | ^ In function 'snprintf', - inlined from 'list_cb' at diff.c:336:17: + inlined from 'conflict_phase' at merge.c:77:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1005,7 +1041,7 @@ make[2]: Leaving directory '/build/reproducible-path/syrep-0.9' make[1]: Leaving directory '/build/reproducible-path/syrep-0.9' dh_auto_test - make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/syrep-0.9' Making check in src make[2]: Entering directory '/build/reproducible-path/syrep-0.9/src' @@ -1041,7 +1077,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/syrep/ - make -j20 install DESTDIR=/build/reproducible-path/syrep-0.9/debian/syrep AM_UPDATE_INFO_DIR=no + make -j42 install DESTDIR=/build/reproducible-path/syrep-0.9/debian/syrep AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/syrep-0.9' Making install in src make[2]: Entering directory '/build/reproducible-path/syrep-0.9/src' @@ -1109,8 +1145,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'syrep' in '../syrep_0.9-5_amd64.deb'. dpkg-deb: building package 'syrep-dbgsym' in '../syrep-dbgsym_0.9-5_amd64.deb'. +dpkg-deb: building package 'syrep' in '../syrep_0.9-5_amd64.deb'. dpkg-genbuildinfo --build=binary -O../syrep_0.9-5_amd64.buildinfo dpkg-genchanges --build=binary -O../syrep_0.9-5_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1118,12 +1154,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/1644241/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1644241/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/2618691 and its subdirectories -I: Current time: Sat May 25 00:59:15 -12 2024 -I: pbuilder-time-stamp: 1716641955 +I: removing directory /srv/workspace/pbuilder/1644241 and its subdirectories +I: Current time: Sat Jun 28 09:22:56 +14 2025 +I: pbuilder-time-stamp: 1751052176