Diff of the two buildlogs: -- --- b1/build.log 2023-05-10 03:41:38.202722665 +0000 +++ b2/build.log 2023-05-10 03:42:40.308003818 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 10 22:03:06 -12 2024 -I: pbuilder-time-stamp: 1718100186 +I: Current time: Wed May 10 17:41:41 +14 2023 +I: pbuilder-time-stamp: 1683690101 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 [./abook_0.6.1.orig.tar.gz] I: copying [./abook_0.6.1-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Nov 26 22:18:48 2021 -12 +gpgv: Signature made Sun Nov 28 00:18:48 2021 +14 gpgv: using RSA key 2C72F328ED1707204FB34994DEE8043EE17EBB30 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./abook_0.6.1-2.dsc: no acceptable signature found @@ -28,52 +28,84 @@ dpkg-source: info: applying fix_spelling_error_in_binary.diff I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21473/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/15756/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 10 17:41 /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/15756/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/15756/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='21473' - 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=15756 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.QqPYxWlU/pbuilderrc_LZ2f --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.QqPYxWlU/b1 --logfile b1/build.log abook_0.6.1-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.QqPYxWlU/pbuilderrc_mSpq --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.QqPYxWlU/b2 --logfile b2/build.log --extrapackages usrmerge abook_0.6.1-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 codethink13-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 9 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21473/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 9 00:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/15756/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -157,7 +189,7 @@ Get: 37 http://deb.debian.org/debian bookworm/main arm64 libreadline8 arm64 8.2-1.3 [155 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 libreadline-dev arm64 8.2-1.3 [151 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 quilt all 0.67+really0.66-1 [303 kB] -Fetched 19.5 MB in 1s (37.1 MB/s) +Fetched 19.5 MB in 0s (48.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (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.) @@ -330,10 +362,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/abook-0.6.1/ && 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 > ../abook_0.6.1-2_source.changes +I: user script /srv/workspace/pbuilder/15756/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/15756/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/abook-0.6.1/ && 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 > ../abook_0.6.1-2_source.changes dpkg-buildpackage: info: source package abook dpkg-buildpackage: info: source version 0.6.1-2 dpkg-buildpackage: info: source distribution unstable @@ -567,18 +604,18 @@ make[4]: Entering directory '/build/abook-0.6.1/po' rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po /usr/bin/msgmerge --update --lang=it it.po abook.pot +rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po rm -f fr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po -/usr/bin/msgmerge --update --lang=ja ja.po abook.pot de.po: 191 translated messages, 9 fuzzy translations, 10 untranslated messages. -rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po -fr.po: 189 translated messages, 9 fuzzy translations, 12 untranslated messages. -........................ done. +.......................................... done. sv.po: 141 translated messages, 29 fuzzy translations, 40 untranslated messages. -........................ done. -rm -f ja.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po +fr.po: 189 translated messages, 9 fuzzy translations, 12 untranslated messages. +/usr/bin/msgmerge --update --lang=ja ja.po abook.pot rm -f it.gmo && /usr/bin/msgfmt -c --statistics --verbose -o it.gmo it.po +.....................................it.po: 181 translated messages, 12 fuzzy translations, 17 untranslated messages. +.. done. +rm -f ja.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po ja.po: 146 translated messages, 27 fuzzy translations, 37 untranslated messages. -it.po: 181 translated messages, 12 fuzzy translations, 17 untranslated messages. make[4]: Leaving directory '/build/abook-0.6.1/po' touch stamp-po make[3]: Leaving directory '/build/abook-0.6.1/po' @@ -591,12 +628,6 @@ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o getname.o getname.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o getopt.o getopt.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o getopt1.o getopt1.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o gettext.o gettext.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o ldif.o ldif.c -In file included from database.c:19: -database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] - 47 | FIELD_DATE, - | ^ In file included from edit.c:17: database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] 47 | FIELD_DATE, @@ -609,7 +640,6 @@ edit.c:56:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 56 | int width = strwidth(tab_name) + 5; | ^~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o list.o list.c edit.c: In function 'editor_print_data': edit.c:209:16: warning: variable 'x' set but not used [-Wunused-but-set-variable] 209 | int y, x; @@ -618,20 +648,22 @@ edit.c:592:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 592 | int i = 0, number, idx; | ^~~ +edit.c: In function 'edit_loop': +edit.c:681:47: warning: variable 'window_x' set but not used [-Wunused-but-set-variable] + 681 | int window_y, window_x; + | ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o gettext.o gettext.c In file included from filter.h:4, from filter.c:20: database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] 47 | FIELD_DATE, | ^ -edit.c: In function 'edit_loop': -edit.c:681:47: warning: variable 'window_x' set but not used [-Wunused-but-set-variable] - 681 | int window_y, window_x; - | ^~~~~~~~ filter.c:38:1: warning: C++ style comments are not allowed in ISO C90 38 | // see also enum field_types @database.h | ^ filter.c:38:1: note: (this will be reported only once per input file) -In file included from abook.c:28: +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o ldif.o ldif.c +In file included from database.c:19: database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] 47 | FIELD_DATE, | ^ @@ -639,15 +671,43 @@ filter.c:716:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 716 | int i, index; | ^~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o mbswidth.o mbswidth.c -abook.c:53:1: warning: C++ style comments are not allowed in ISO C90 - 53 | // custom formatting - | ^ -abook.c:53:1: note: (this will be reported only once per input file) filter.c: In function 'mutt_read_line': filter.c:841:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 841 | int n_groups; | ^~~ +filter.c: At top level: +filter.c:1600:20: warning: comma at end of enumerator list [-Wpedantic] + 1600 | VCARD_VALUE, + | ^ +filter.c: In function 'vcard_parse_name': +filter.c:1732:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] + 1732 | int i = -1; + | ^~~ +filter.c:1738:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] + 1738 | char *original = item[0], *p = original; + | ^~~~ +In file included from abook.c:28: +database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] + 47 | FIELD_DATE, + | ^ +filter.c: In function 'allcsv_export_database': +filter.c:1939:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] + 1939 | int i = 0; + | ^~~ +filter.c:1956:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] + 1956 | int append_field = ITEM_FIELDS; + | ^~~ +abook.c:53:1: warning: C++ style comments are not allowed in ISO C90 + 53 | // custom formatting + | ^ +abook.c:53:1: note: (this will be reported only once per input file) +filter.c: In function 'parse_custom_format': +filter.c:2598:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] + 2598 | char tmp[1] = { 0 }; + | ^~~~ +filter.c:2661:63: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] + 2661 | fprintf(stderr, _("%s: invalid format, index %ld\n"), __FUNCTION__, (start - s)); + | ^~~~~~~~~~~~ abook.c: In function 'launch_mutt': abook.c:592:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 592 | system(cmd); @@ -656,6 +716,7 @@ abook.c:617:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 617 | system(cmd); | ^~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o list.o list.c abook.c: In function 'mutt_query': abook.c:492:17: warning: 'export_file' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 492 | export_file("muttq", "-"); @@ -665,6 +726,13 @@ filter.h:34:17: note: in a call to function 'export_file' 34 | int export_file(char filtname[FILTNAME_LEN], char *filename); | ^~~~~~~~~~~ +filter.c: In function 'pine_parse_file': +filter.c:1250:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 1250 | fgets(line, LINESIZE, in); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +filter.c:1257:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 1257 | fgets(line, LINESIZE, in); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ abook.c: In function 'parse_command_line': abook.c:310:32: warning: 'select_output_item_filter' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 310 | selected_item_filter = select_output_item_filter("muttq"); @@ -680,54 +748,26 @@ filter.h:37:17: note: in a call to function 'select_output_item_filter' 37 | select_output_item_filter(char filtname[FILTNAME_LEN]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -filter.c: At top level: -filter.c:1600:20: warning: comma at end of enumerator list [-Wpedantic] - 1600 | VCARD_VALUE, - | ^ -filter.c: In function 'vcard_parse_name': -filter.c:1732:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] - 1732 | int i = -1; - | ^~~ -filter.c:1738:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] - 1738 | char *original = item[0], *p = original; - | ^~~~ -filter.c: In function 'allcsv_export_database': -filter.c:1939:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] - 1939 | int i = 0; - | ^~~ -filter.c:1956:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] - 1956 | int append_field = ITEM_FIELDS; - | ^~~ +getname.c: In function 'getname': +getname.c:280:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 280 | name[--i] = '\0'; + | ~~~~~~~~~~^~~~~~ +getname.c:144:14: note: at offset -1 into destination object 'name' of size 80 + 144 | char name[NAMESTRLEN]; + | ^~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o mbswidth.o mbswidth.c In file included from list.c:15: database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] 47 | FIELD_DATE, | ^ -filter.c: In function 'parse_custom_format': -filter.c:2598:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] - 2598 | char tmp[1] = { 0 }; - | ^~~~ -filter.c:2661:63: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] - 2661 | fprintf(stderr, _("%s: invalid format, index %ld\n"), __FUNCTION__, (start - s)); - | ^~~~~~~~~~~~ -filter.c: In function 'pine_parse_file': -filter.c:1250:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 1250 | fgets(line, LINESIZE, in); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -filter.c:1257:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 1257 | fgets(line, LINESIZE, in); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +edit.c: In function 'parse_date_string': +edit.c:501:17: warning: '__builtin_strncpy' specified bound 12 equals destination size [-Wstringop-truncation] + 501 | p = s = strncpy(buf, str, sizeof(buf)); + | ^ In file included from list.c:22: color.h:17:23: warning: comma at end of enumerator list [-Wpedantic] 17 | CP_FIELD_VALUE, | ^ -getname.c: In function 'getname': -getname.c:280:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 280 | name[--i] = '\0'; - | ~~~~~~~~~~^~~~~~ -getname.c:144:14: note: at offset -1 into destination object 'name' of size 80 - 144 | char name[NAMESTRLEN]; - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o misc.o misc.c In function 'parse_command_line', inlined from 'main' at abook.c:206:2: abook.c:310:32: warning: 'select_output_item_filter' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] @@ -759,7 +799,13 @@ filter.h:34:17: note: in a call to function 'export_file' 34 | int export_file(char filtname[FILTNAME_LEN], char *filename); | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o options.o options.c +filter.c: In function 'ldif_add_item': +filter.c:684:15: warning: array subscript 18 is outside array bounds of 'char *[18]' [-Warray-bounds] + 684 | if(!li[LDIF_OBJECTCLASS]) + | ~~^~~~~~~~~~~~~~~~~~ +filter.c:677:25: note: at offset 144 into object 'li' of size [0, 144] + 677 | ldif_add_item(ldif_item li) + | ~~~~~~~~~~^~ In function 'parse_command_line', inlined from 'main' at abook.c:206:2: abook.c:310:32: warning: 'select_output_item_filter' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] @@ -791,25 +837,24 @@ filter.h:34:17: note: in a call to function 'export_file' 34 | int export_file(char filtname[FILTNAME_LEN], char *filename); | ^~~~~~~~~~~ -edit.c: In function 'parse_date_string': -edit.c:501:17: warning: '__builtin_strncpy' specified bound 12 equals destination size [-Wstringop-truncation] - 501 | p = s = strncpy(buf, str, sizeof(buf)); - | ^ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o misc.o misc.c +filter.c: In function 'pine_parse_file': +filter.c:1225:25: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] + 1225 | strncpy(tmp, start, len); + | ^ +In function 'pine_parse_buf', + inlined from 'pine_parse_file' at filter.c:1273:3: +filter.c:1220:30: note: length computed here + 1220 | len = last ? strlen(start) : (int) (end-start); + | ^~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o options.o options.c In file included from views.h:4, from options.c:20: database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] 47 | FIELD_DATE, | ^ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o ui.o ui.c -filter.c: In function 'ldif_add_item': -filter.c:684:15: warning: array subscript 18 is outside array bounds of 'char *[18]' [-Warray-bounds] - 684 | if(!li[LDIF_OBJECTCLASS]) - | ~~^~~~~~~~~~~~~~~~~~ -filter.c:677:25: note: at offset 144 into object 'li' of size [0, 144] - 677 | ldif_add_item(ldif_item li) - | ~~~~~~~~~~^~ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o views.o views.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o xmalloc.o xmalloc.c In file included from ui.c:21: database.h:47:19: warning: comma at end of enumerator list [-Wpedantic] 47 | FIELD_DATE, @@ -836,34 +881,7 @@ filter.h:45:17: note: in a call to function 'fexport' 45 | int fexport(char filtname[FILTNAME_LEN], FILE *handle, | ^~~~~~~ -filter.c: In function 'pine_parse_file': -filter.c:1225:25: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] - 1225 | strncpy(tmp, start, len); - | ^ -In function 'pine_parse_buf', - inlined from 'pine_parse_file' at filter.c:1273:3: -filter.c:1220:30: note: length computed here - 1220 | len = last ? strlen(start) : (int) (end-start); - | ^~~~~~~~~~~~~ -ui.c: In function 'ui_find': -ui.c:710:25: warning: '__builtin_strncpy' specified bound 81 equals destination size [-Wstringop-truncation] - 710 | strncpy(findstr, s, MAX_FIELD_LEN); - | ^ -ui.c: In function 'ui_print_database': -ui.c:790:9: warning: 'fexport' accessing 8 bytes in a region of size 5 [-Wstringop-overflow=] - 790 | fexport("text", handle, mode); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ui.c:790:9: note: referencing argument 1 of type 'char[8]' -filter.h:45:17: note: in a call to function 'fexport' - 45 | int fexport(char filtname[FILTNAME_LEN], FILE *handle, - | ^~~~~~~ -ui.c:790:9: warning: 'fexport' accessing 8 bytes in a region of size 5 [-Wstringop-overflow=] - 790 | fexport("text", handle, mode); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ui.c:790:9: note: referencing argument 1 of type 'char[8]' -filter.h:45:17: note: in a call to function 'fexport' - 45 | int fexport(char filtname[FILTNAME_LEN], FILE *handle, - | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -c -o xmalloc.o xmalloc.c In file included from /usr/include/string.h:535, from filter.c:14: In function 'strcat', @@ -886,6 +904,25 @@ filter.c:2191:14: note: 'groupstr' declared here 2191 | char groupstr[7] = "-group "; | ^~~~~~~~ +ui.c: In function 'ui_find': +ui.c:710:25: warning: '__builtin_strncpy' specified bound 81 equals destination size [-Wstringop-truncation] + 710 | strncpy(findstr, s, MAX_FIELD_LEN); + | ^ +ui.c: In function 'ui_print_database': +ui.c:790:9: warning: 'fexport' accessing 8 bytes in a region of size 5 [-Wstringop-overflow=] + 790 | fexport("text", handle, mode); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ui.c:790:9: note: referencing argument 1 of type 'char[8]' +filter.h:45:17: note: in a call to function 'fexport' + 45 | int fexport(char filtname[FILTNAME_LEN], FILE *handle, + | ^~~~~~~ +ui.c:790:9: warning: 'fexport' accessing 8 bytes in a region of size 5 [-Wstringop-overflow=] + 790 | fexport("text", handle, mode); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ui.c:790:9: note: referencing argument 1 of type 'char[8]' +filter.h:45:17: note: in a call to function 'fexport' + 45 | int fexport(char filtname[FILTNAME_LEN], FILE *handle, + | ^~~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/abook-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -pedantic -std=gnu89 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o abook abook.o abook_rl.o database.o edit.o filter.o getname.o getopt.o getopt1.o gettext.o ldif.o list.o mbswidth.o misc.o options.o ui.o views.o xmalloc.o -lncursesw -lreadline make[3]: Leaving directory '/build/abook-0.6.1' make[2]: Leaving directory '/build/abook-0.6.1' @@ -936,11 +973,11 @@ make[3]: Leaving directory '/build/abook-0.6.1/po' make[3]: Entering directory '/build/abook-0.6.1' make[4]: Entering directory '/build/abook-0.6.1' +/bin/sh ./mkinstalldirs /build/abook-0.6.1/debian/abook/usr/share/man/man1 /build/abook-0.6.1/debian/abook/usr/share/man/man5 /usr/bin/mkdir -p '/build/abook-0.6.1/debian/abook/usr/bin' -/bin/bash ./mkinstalldirs /build/abook-0.6.1/debian/abook/usr/share/man/man1 /build/abook-0.6.1/debian/abook/usr/share/man/man5 - /usr/bin/install -c abook '/build/abook-0.6.1/debian/abook/usr/bin' mkdir -p -- /build/abook-0.6.1/debian/abook/usr/share/man/man1 /build/abook-0.6.1/debian/abook/usr/share/man/man5 /usr/bin/install -c -m 644 ./abook.1 /build/abook-0.6.1/debian/abook/usr/share/man/man1/ + /usr/bin/install -c abook '/build/abook-0.6.1/debian/abook/usr/bin' /usr/bin/install -c -m 644 ./abookrc.5 /build/abook-0.6.1/debian/abook/usr/share/man/man5/ make[4]: Leaving directory '/build/abook-0.6.1' make[3]: Leaving directory '/build/abook-0.6.1' @@ -961,8 +998,8 @@ Normalized debian/abook/usr/share/locale/sv/LC_MESSAGES/abook.mo Normalized debian/abook/usr/share/locale/ja/LC_MESSAGES/abook.mo Normalized debian/abook/usr/share/locale/it/LC_MESSAGES/abook.mo - Normalized debian/abook/usr/share/locale/de/LC_MESSAGES/abook.mo Normalized debian/abook/usr/share/locale/fr/LC_MESSAGES/abook.mo + Normalized debian/abook/usr/share/locale/de/LC_MESSAGES/abook.mo dh_compress dh_fixperms dh_missing @@ -983,12 +1020,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/15756/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/15756/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/21473 and its subdirectories -I: Current time: Mon Jun 10 22:04:36 -12 2024 -I: pbuilder-time-stamp: 1718100276 +I: removing directory /srv/workspace/pbuilder/15756 and its subdirectories +I: Current time: Wed May 10 17:42:39 +14 2023 +I: pbuilder-time-stamp: 1683690159