Diff of the two buildlogs: -- --- b1/build.log 2024-05-11 12:18:13.809851741 +0000 +++ b2/build.log 2024-05-11 12:20:54.910998051 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 11 00:15:10 -12 2024 -I: pbuilder-time-stamp: 1715429710 +I: Current time: Sun May 12 02:18:24 +14 2024 +I: pbuilder-time-stamp: 1715429904 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 03_fix_testsuite.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24727/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10630/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 11 12:18 /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/10630/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10630/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='97962db80d9f4ba085a9ca2f091e55ab' - 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='24727' - PS1='# ' - PS2='> ' + INVOCATION_ID=8afe6da52c974a01b1f1a255bdbffd21 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=10630 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.vC23hK4S/pbuilderrc_ojfe --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.vC23hK4S/b1 --logfile b1/build.log libgringotts_1.2.1-16.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.vC23hK4S/pbuilderrc_Q5Xt --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.vC23hK4S/b2 --logfile b2/build.log libgringotts_1.2.1-16.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 9 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/24727/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/10630/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -155,7 +187,7 @@ Get: 34 http://deb.debian.org/debian unstable/main armhf libmhash2 armhf 0.9.9.9-9+b1 [99.4 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf libmhash-dev armhf 0.9.9.9-9+b1 [113 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1 [904 kB] -Fetched 19.7 MB in 0s (47.6 MB/s) +Fetched 19.7 MB in 2s (9842 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19445 files and directories currently installed.) @@ -319,7 +351,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/libgringotts-1.2.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 > ../libgringotts_1.2.1-16_source.changes +I: user script /srv/workspace/pbuilder/10630/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/10630/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/libgringotts-1.2.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 > ../libgringotts_1.2.1-16_source.changes dpkg-buildpackage: info: source package libgringotts dpkg-buildpackage: info: source version 1:1.2.1-16 dpkg-buildpackage: info: source distribution unstable @@ -517,37 +553,20 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/libgringotts-1.2.1' make all-recursive make[2]: Entering directory '/build/reproducible-path/libgringotts-1.2.1' Making all in src make[3]: Entering directory '/build/reproducible-path/libgringotts-1.2.1/src' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_crypt.lo libgrg_crypt.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_structs.lo libgrg_structs.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_utils.lo libgrg_utils.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_crypt.lo libgrg_crypt.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_structs.lo libgrg_structs.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_utils.lo libgrg_utils.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_tmp.lo libgrg_tmp.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_crypt.c -fPIC -DPIC -o .libs/libgrg_crypt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_structs.c -fPIC -DPIC -o .libs/libgrg_structs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_utils.c -fPIC -DPIC -o .libs/libgrg_utils.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_crypt.c -fPIC -DPIC -o .libs/libgrg_crypt.o -libgrg_structs.c: In function 'grg_context_initialize': -libgrg_structs.c:84:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 84 | if (!header || (strlen (header) != HEADER_LEN)) - | ^~~~~~ - | | - | const unsigned char * -In file included from libgrg_structs.c:26: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -libgrg_structs.c: In function 'grg_key_gen': -libgrg_structs.c:207:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 207 | real_pwd_len = strlen (pwd); - | ^~~ - | | - | const unsigned char * -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_tmp.c -fPIC -DPIC -o .libs/libgrg_tmp.o libgrg_crypt.c: In function 'grg2mcrypt': libgrg_crypt.c:141:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 141 | return MCRYPT_RIJNDAEL_128; @@ -711,6 +730,16 @@ /usr/include/zlib.h:1247:54: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *' 1247 | ZEXTERN int ZEXPORT compress2(Bytef *dest, uLongf *destLen, | ~~~~~~~~^~~~~~~ +libgrg_structs.c: In function 'grg_context_initialize': +libgrg_structs.c:84:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 84 | if (!header || (strlen (header) != HEADER_LEN)) + | ^~~~~~ + | | + | const unsigned char * +In file included from libgrg_structs.c:26: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ libgrg_crypt.c:479:35: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] 479 | mod = mcrypt_module_open (grg2mcrypt (gctx->crypt_algo), NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -738,6 +767,15 @@ /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ +libgrg_structs.c: In function 'grg_key_gen': +libgrg_structs.c:207:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 207 | real_pwd_len = strlen (pwd); + | ^~~ + | | + | const unsigned char * +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ libgrg_crypt.c: In function 'grg_update_gctx_from_file': libgrg_crypt.c:656:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 656 | fd = open (path, O_RDONLY); @@ -756,6 +794,63 @@ /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ +libgrg_crypt.c: In function 'grg_encrypt_file': +libgrg_crypt.c:761:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] + 761 | fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, + | ^~~~ + | | + | const unsigned char * +/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' + 41 | open (const char *__path, int __oflag, ...) + | ~~~~~~~~~~~~^~~~~~ +libgrg_crypt.c:769:25: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] + 769 | unlink (path); + | ^~~~ + | | + | const unsigned char * +In file included from libgrg_crypt.c:24: +/usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'const unsigned char *' + 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); + | ~~~~~~~~~~~~^~~~~~ +libgrg_crypt.c: In function 'grg_encrypt_file_direct': +libgrg_crypt.c:741:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 741 | write (fd, mem, memDim); + | ^~~~~~~~~~~~~~~~~~~~~~~ +libgrg_tmp.c: In function 'grg_tmpfile_gen': +libgrg_tmp.c:62:37: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] + 62 | mcrypt_module_open (grg2mcrypt (ca), NULL, MCRYPT_CFB, NULL); + | ^~~~~~~~~~~~~~~ + | | + | unsigned char * +In file included from /usr/include/mcrypt.h:4, + from libgrg_structs.h:27, + from libgrg_tmp.c:26: +/usr/include/mutils/mcrypt.h:38:41: note: expected 'char *' but argument is of type 'unsigned char *' + 38 | MCRYPT mcrypt_module_open(char *algorithm, + | ~~~~~~^~~~~~~~~ +libgrg_tmp.c: In function 'grg_tmpfile_write': +libgrg_tmp.c:109:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 109 | dim = (data_len < 0) ? strlen (data) : data_len; + | ^~~~ + | | + | const unsigned char * +In file included from libgrg_tmp.c:22: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +libgrg_tmp.c:122:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 122 | write (tf->tmpfd, &dim, sizeof (long)); //without considering endianity, since we + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libgrg_tmp.c:123:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 123 | write (tf->tmpfd, tocrypt, dim + HEADER_LEN); //read and write on the same system. + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libgrg_tmp.c: In function 'grg_tmpfile_read': +libgrg_tmp.c:152:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 152 | read (tf->tmpfd, &dim, sizeof (long)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libgrg_tmp.c:158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 158 | read (tf->tmpfd, enc_data, dim + HEADER_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libgrg_utils.c: In function 'grg_rnd_seq_direct': libgrg_utils.c:225:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 225 | csize = strlen (toOverwrite); @@ -766,33 +861,15 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -libgrg_crypt.c: In function 'grg_encrypt_file': -libgrg_crypt.c:761:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] - 761 | fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, - | ^~~~ - | | - | const unsigned char * -/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' - 41 | open (const char *__path, int __oflag, ...) - | ~~~~~~~~~~~~^~~~~~ libgrg_utils.c: In function 'grg_free': libgrg_utils.c:307:43: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] 307 | grg_rnd_seq_direct (gctx, pntr, (dim >= 0) ? dim : strlen (pntr)); | ^~~~ | | | char * -libgrg_crypt.c:769:25: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] - 769 | unlink (path); - | ^~~~ - | | - | const unsigned char * libgrg_utils.c:216:56: note: expected 'unsigned char *' but argument is of type 'char *' 216 | grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ -In file included from libgrg_crypt.c:24: -/usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'const unsigned char *' - 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); - | ~~~~~~~~~~~~^~~~~~ libgrg_utils.c: In function 'grg_file_pwd_quality': libgrg_utils.c:442:21: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 442 | pdf = open (pwd_path, O_RDONLY); @@ -822,10 +899,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -libgrg_crypt.c: In function 'grg_encrypt_file_direct': -libgrg_crypt.c:741:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 741 | write (fd, mem, memDim); - | ^~~~~~~~~~~~~~~~~~~~~~~ libgrg_utils.c:589:16: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 589 | return ret; | ^~~ @@ -856,47 +929,10 @@ 284 | read (gctx->rnd, &rnd, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_structs.c -o libgrg_structs.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_utils.c -o libgrg_utils.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_crypt.c -o libgrg_crypt.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o libgrg_tmp.lo libgrg_tmp.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_tmp.c -fPIC -DPIC -o .libs/libgrg_tmp.o -libgrg_tmp.c: In function 'grg_tmpfile_gen': -libgrg_tmp.c:62:37: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] - 62 | mcrypt_module_open (grg2mcrypt (ca), NULL, MCRYPT_CFB, NULL); - | ^~~~~~~~~~~~~~~ - | | - | unsigned char * -In file included from /usr/include/mcrypt.h:4, - from libgrg_structs.h:27, - from libgrg_tmp.c:26: -/usr/include/mutils/mcrypt.h:38:41: note: expected 'char *' but argument is of type 'unsigned char *' - 38 | MCRYPT mcrypt_module_open(char *algorithm, - | ~~~~~~^~~~~~~~~ -libgrg_tmp.c: In function 'grg_tmpfile_write': -libgrg_tmp.c:109:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 109 | dim = (data_len < 0) ? strlen (data) : data_len; - | ^~~~ - | | - | const unsigned char * -In file included from libgrg_tmp.c:22: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -libgrg_tmp.c:122:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 122 | write (tf->tmpfd, &dim, sizeof (long)); //without considering endianity, since we - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libgrg_tmp.c:123:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 123 | write (tf->tmpfd, tocrypt, dim + HEADER_LEN); //read and write on the same system. - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libgrg_tmp.c: In function 'grg_tmpfile_read': -libgrg_tmp.c:152:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 152 | read (tf->tmpfd, &dim, sizeof (long)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libgrg_tmp.c:158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 158 | read (tf->tmpfd, enc_data, dim + HEADER_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_tmp.c -o libgrg_tmp.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -version-info 2:7:0 -Wl,-z,relro -Wl,-z,now -o libgringotts.la -rpath /usr/lib/arm-linux-gnueabihf libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -L/usr/lib/arm-linux-gnueabihf -lmcrypt -lmhash -lm +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_crypt.c -o libgrg_crypt.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c libgrg_utils.c -o libgrg_utils.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -version-info 2:7:0 -Wl,-z,relro -Wl,-z,now -o libgringotts.la -rpath /usr/lib/arm-linux-gnueabihf libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -L/usr/lib/arm-linux-gnueabihf -lmcrypt -lmhash -lm libtool: link: gcc -shared -fPIC -DPIC .libs/libgrg_crypt.o .libs/libgrg_structs.o .libs/libgrg_utils.o .libs/libgrg_tmp.o -lz -lbz2 -L/usr/lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf/libmcrypt.so -lmhash -lm -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libgringotts.so.2 -o .libs/libgringotts.so.2.0.7 libtool: link: (cd ".libs" && rm -f "libgringotts.so.2" && ln -s "libgringotts.so.2.0.7" "libgringotts.so.2") libtool: link: (cd ".libs" && rm -f "libgringotts.so" && ln -s "libgringotts.so.2.0.7" "libgringotts.so") @@ -913,7 +949,7 @@ make[2]: Leaving directory '/build/reproducible-path/libgringotts-1.2.1' make[1]: Leaving directory '/build/reproducible-path/libgringotts-1.2.1' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/libgringotts-1.2.1' Making check in src make[2]: Entering directory '/build/reproducible-path/libgringotts-1.2.1/src' @@ -1279,7 +1315,7 @@ make[2]: Entering directory '/build/reproducible-path/libgringotts-1.2.1/src' make[3]: Entering directory '/build/reproducible-path/libgringotts-1.2.1/src' /usr/bin/mkdir -p '/build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/arm-linux-gnueabihf' - /bin/bash ../libtool --mode=install /usr/bin/install -c libgringotts.la '/build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/arm-linux-gnueabihf' + /bin/sh ../libtool --mode=install /usr/bin/install -c libgringotts.la '/build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/libgringotts.so.2.0.7 /build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/arm-linux-gnueabihf/libgringotts.so.2.0.7 libtool: install: (cd /build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/arm-linux-gnueabihf && { ln -s -f libgringotts.so.2.0.7 libgringotts.so.2 || { rm -f libgringotts.so.2 && ln -s libgringotts.so.2.0.7 libgringotts.so.2; }; }) libtool: install: (cd /build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/arm-linux-gnueabihf && { ln -s -f libgringotts.so.2.0.7 libgringotts.so || { rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so; }; }) @@ -1366,10 +1402,10 @@ dh_compress cd debian/libgringotts2 cd debian/libgringotts-dev - chmod a-x usr/share/doc/libgringotts2/changelog usr/share/doc/libgringotts2/changelog.Debian chmod a-x usr/share/doc/libgringotts-dev/changelog usr/share/doc/libgringotts-dev/changelog.Debian - gzip -9nf usr/share/doc/libgringotts2/changelog usr/share/doc/libgringotts2/changelog.Debian + chmod a-x usr/share/doc/libgringotts2/changelog usr/share/doc/libgringotts2/changelog.Debian gzip -9nf usr/share/doc/libgringotts-dev/changelog usr/share/doc/libgringotts-dev/changelog.Debian + gzip -9nf usr/share/doc/libgringotts2/changelog usr/share/doc/libgringotts2/changelog.Debian cd '/build/reproducible-path/libgringotts-1.2.1' cd '/build/reproducible-path/libgringotts-1.2.1' dh_fixperms @@ -1379,8 +1415,8 @@ find debian/libgringotts-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/libgringotts2/usr/share/doc -type f -a -true -a ! -regex 'debian/libgringotts2/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/libgringotts-dev/usr/share/doc -type f -a -true -a ! -regex 'debian/libgringotts-dev/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 - find debian/libgringotts2/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/libgringotts-dev/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 + find debian/libgringotts2/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/libgringotts2 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/libgringotts-dev/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/libgringotts2/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w @@ -1424,11 +1460,11 @@ echo misc:Pre-Depends= >> debian/libgringotts2.substvars install -m0755 -d debian/.debhelper/libgringotts2/dbgsym-root/DEBIAN dpkg-gencontrol -plibgringotts2 -ldebian/changelog -Tdebian/libgringotts2.substvars -cdebian/control -Pdebian/.debhelper/libgringotts2/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -DAuto-Built-Package=debug-symbols -UProtected -UBuilt-Using -UStatic-Built-Using -DPackage=libgringotts2-dbgsym "-DDepends=libgringotts2 (= \${binary:Version})" "-DDescription=debug symbols for libgringotts2" -DBuild-Ids=7d8df39048d9696a20c7954cd9ff99d6d012e6e0 -DSection=debug -UReplaces -UBreaks + chmod 0644 -- debian/libgringotts-dev/DEBIAN/control + chown 0:0 -- debian/libgringotts-dev/DEBIAN/control chmod 0644 -- debian/.debhelper/libgringotts2/dbgsym-root/DEBIAN/control chown 0:0 -- debian/.debhelper/libgringotts2/dbgsym-root/DEBIAN/control dpkg-gencontrol -plibgringotts2 -ldebian/changelog -Tdebian/libgringotts2.substvars -cdebian/control -Pdebian/libgringotts2 - chmod 0644 -- debian/libgringotts-dev/DEBIAN/control - chown 0:0 -- debian/libgringotts-dev/DEBIAN/control chmod 0644 -- debian/libgringotts2/DEBIAN/control chown 0:0 -- debian/libgringotts2/DEBIAN/control dh_md5sums @@ -1447,9 +1483,9 @@ dh_builddeb dpkg-deb --build debian/libgringotts-dev .. dpkg-deb --build debian/libgringotts2 .. + dpkg-deb --root-owner-group --build debian/.debhelper/libgringotts2/dbgsym-root .. dpkg-deb: building package 'libgringotts-dev' in '../libgringotts-dev_1.2.1-16_armhf.deb'. dpkg-deb: building package 'libgringotts2' in '../libgringotts2_1.2.1-16_armhf.deb'. - dpkg-deb --root-owner-group --build debian/.debhelper/libgringotts2/dbgsym-root .. dpkg-deb: building package 'libgringotts2-dbgsym' in '../libgringotts2-dbgsym_1.2.1-16_armhf.deb'. dpkg-genbuildinfo --build=binary -O../libgringotts_1.2.1-16_armhf.buildinfo dpkg-genchanges --build=binary -O../libgringotts_1.2.1-16_armhf.changes @@ -1458,12 +1494,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/10630/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10630/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/24727 and its subdirectories -I: Current time: Sat May 11 00:18:08 -12 2024 -I: pbuilder-time-stamp: 1715429888 +I: removing directory /srv/workspace/pbuilder/10630 and its subdirectories +I: Current time: Sun May 12 02:20:50 +14 2024 +I: pbuilder-time-stamp: 1715430050