Diff of the two buildlogs: -- --- b1/build.log 2025-11-04 23:36:43.720960162 +0000 +++ b2/build.log 2025-11-04 23:37:55.469045062 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 4 11:35:54 -12 2025 -I: pbuilder-time-stamp: 1762299354 +I: Current time: Tue Dec 8 19:59:45 +14 2026 +I: pbuilder-time-stamp: 1796709585 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,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/1753220/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1996853/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Dec 8 05:59 /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/1996853/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1996853/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=12 ' - DISTRIBUTION='forky' - 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(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=16 nocheck' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='cb5777d6c5b9409db0f57c35a5c0fa3c' - 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='1753220' - PS1='# ' - PS2='> ' + INVOCATION_ID=fc2d1864f9d149a4877692566c59bcae + 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=1996853 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.ie0Cz4Q8/pbuilderrc_GzSn --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ie0Cz4Q8/b1 --logfile b1/build.log libgringotts_1.2.1-16.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.ie0Cz4Q8/pbuilderrc_b7by --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ie0Cz4Q8/b2 --logfile b2/build.log libgringotts_1.2.1-16.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.12.48+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1753220/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1996853/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -151,7 +183,7 @@ Get: 33 http://deb.debian.org/debian forky/main amd64 libmhash2 amd64 0.9.9.9-10 [92.4 kB] Get: 34 http://deb.debian.org/debian forky/main amd64 libmhash-dev amd64 0.9.9.9-10 [106 kB] Get: 35 http://deb.debian.org/debian forky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1+b1 [920 kB] -Fetched 12.6 MB in 1s (12.1 MB/s) +Fetched 12.6 MB in 2s (6280 kB/s) Preconfiguring packages ... 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 ... 19862 files and directories currently installed.) @@ -312,7 +344,11 @@ Solving dependencies... 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/1996853/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/1996853/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 @@ -399,8 +435,8 @@ checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes -checking whether UID '1111' is supported by ustar format... yes -checking whether GID '1111' is supported by ustar format... yes +checking whether UID '2222' is supported by ustar format... yes +checking whether GID '2222' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu @@ -513,20 +549,20 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j12 + make -j16 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 -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 -fcf-protection -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 -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 -fcf-protection -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 -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 -fcf-protection -c -o libgrg_utils.lo libgrg_utils.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -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 -fcf-protection -c -o libgrg_tmp.lo libgrg_tmp.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -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 -fcf-protection -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 -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 -fcf-protection -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 -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 -fcf-protection -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 -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 -fcf-protection -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 -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 -fcf-protection -c libgrg_tmp.c -fPIC -DPIC -o .libs/libgrg_tmp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -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 -fcf-protection -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 -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 -fcf-protection -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 -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 -fcf-protection -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 -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 -fcf-protection -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); @@ -581,6 +617,75 @@ /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_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); + | ^~~~~~~~~~~ + | | + | unsigned char * +In file included from libgrg_utils.c:29: +/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_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_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, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~ +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); + | ^~~~~~~~ + | | + | const unsigned char * +In file included from /usr/include/fcntl.h:341, + from libgrg_utils.c:35: +/usr/include/x86_64-linux-gnu/bits/fcntl2.h:43:19: note: expected 'const char *' but argument is of type 'const unsigned char *' + 43 | open (const char *__path, int __oflag, ...) + | ~~~~~~~~~~~~^~~~~~ +libgrg_utils.c: In function 'grg_encode64': +libgrg_utils.c:490:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 490 | origlen = (inlen >= 0) ? inlen : strlen (in); + | ^~ + | | + | 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_utils.c: In function 'grg_decode64': +libgrg_utils.c:536:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 536 | tmpinlen = (inlen >= 0) ? inlen : strlen (in); + | ^~ + | | + | 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_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; + | ^~~ +libgrg_utils.c: In function 'grg_file_shred': +libgrg_utils.c:631:49: warning: pointer targets in passing argument 1 of 'grg_context_initialize_defaults' differ in signedness [-Wpointer-sign] + 631 | gctx = grg_context_initialize_defaults ("GRG"); + | ^~~~~ + | | + | char * +In file included from libgrg_utils.c:23: +libgringotts.h:140:63: note: expected 'const unsigned char *' but argument is of type 'char *' + 140 | GRG_CTX grg_context_initialize_defaults (const unsigned char *header); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ +libgrg_utils.c:646:43: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] + 646 | grg_rnd_seq_direct (gctx, mem, dim); + | ^~~ + | | + | 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, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~ 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; @@ -615,6 +720,7 @@ | ^~~ | | | char * +libgrg_utils.c: In function 'grg_rnd_seq_direct': libgrg_crypt.c:114:37: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, | ~~~~~~~~~~~~~~~~~~~~~^~~ @@ -623,7 +729,14 @@ libgrg_crypt.c:114:63: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +libgrg_utils.c:228:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 228 | read (gctx->rnd, toOverwrite, csize); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libgrg_utils.c: In function 'grg_rnd_chr': libgrg_crypt.c: In function 'select_key': +libgrg_utils.c:284:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 284 | read (gctx->rnd, &rnd, 1); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ libgrg_crypt.c:226:49: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] 224 | key = grg_memdup (((*dim == | ~~~~~~~~~ @@ -811,93 +924,16 @@ 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: 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); - | ^~~~~~~~~~~ - | | - | unsigned char * -In file included from libgrg_utils.c:29: -/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) - | ~~~~~~~~~~~~^~~ In function 'reinit_random', inlined from 'grg_context_initialize' at libgrg_structs.c:77:7: libgrg_structs.c:44:17: warning: '*ret.sec_lvl' may be used uninitialized [-Wmaybe-uninitialized] 44 | if (gctx->sec_lvl == GRG_SEC_PARANOIA) | ~~~~^~~~~~~~~ -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_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, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~ -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); - | ^~~~~~~~ - | | - | const unsigned char * -In file included from /usr/include/fcntl.h:341, - from libgrg_utils.c:35: -/usr/include/x86_64-linux-gnu/bits/fcntl2.h:43:19: note: expected 'const char *' but argument is of type 'const unsigned char *' - 43 | open (const char *__path, int __oflag, ...) - | ~~~~~~~~~~~~^~~~~~ -libgrg_utils.c: In function 'grg_encode64': -libgrg_utils.c:490:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 490 | origlen = (inlen >= 0) ? inlen : strlen (in); - | ^~ - | | - | 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_utils.c: In function 'grg_decode64': -libgrg_utils.c:536:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 536 | tmpinlen = (inlen >= 0) ? inlen : strlen (in); - | ^~ - | | - | 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_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; - | ^~~ -libgrg_utils.c: In function 'grg_file_shred': -libgrg_utils.c:631:49: warning: pointer targets in passing argument 1 of 'grg_context_initialize_defaults' differ in signedness [-Wpointer-sign] - 631 | gctx = grg_context_initialize_defaults ("GRG"); - | ^~~~~ - | | - | char * -In file included from libgrg_utils.c:23: -libgringotts.h:140:63: note: expected 'const unsigned char *' but argument is of type 'char *' - 140 | GRG_CTX grg_context_initialize_defaults (const unsigned char *header); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ -libgrg_utils.c:646:43: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] - 646 | grg_rnd_seq_direct (gctx, mem, dim); - | ^~~ - | | - | 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, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~ -libgrg_utils.c: In function 'grg_rnd_seq_direct': -libgrg_utils.c:228:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 228 | read (gctx->rnd, toOverwrite, csize); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libgrg_utils.c: In function 'grg_rnd_chr': -libgrg_utils.c:284:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 284 | read (gctx->rnd, &rnd, 1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -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 -fcf-protection -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 -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 -fcf-protection -c libgrg_tmp.c -o libgrg_tmp.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -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 -fcf-protection -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 -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 -fcf-protection -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 -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 -fcf-protection -c libgrg_crypt.c -o libgrg_crypt.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 -fcf-protection -version-info 2:7:0 -Wl,-z,relro -Wl,-z,now -o libgringotts.la -rpath /usr/lib/x86_64-linux-gnu libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -L/usr/lib/x86_64-linux-gnu -lmcrypt -lmhash -lm +/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 -fcf-protection -version-info 2:7:0 -Wl,-z,relro -Wl,-z,now -o libgringotts.la -rpath /usr/lib/x86_64-linux-gnu libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -L/usr/lib/x86_64-linux-gnu -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/x86_64-linux-gnu -lmcrypt -lmhash -lm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgringotts-1.2.1=. -fstack-protector-strong -Werror=format-security -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") @@ -914,352 +950,6 @@ 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 -j12 check TESTSUITEFLAGS="-j12 --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' -make check-local -make[3]: Entering directory '/build/reproducible-path/libgringotts-1.2.1/src' -test.c: In function 'test1': -test.c:77:40: warning: pointer targets in passing argument 1 of 'grg_context_initialize' differ in signedness [-Wpointer-sign] - 77 | gctx = grg_context_initialize ("TST", GRG_TWOFISH, GRG_RIPEMD_160, GRG_BZIP, GRG_LVL_GOOD, GRG_SEC_PARANOIA); - | ^~~~~ - | | - | char * -In file included from test.c:38: -libgringotts.h:136:54: note: expected 'const unsigned char *' but argument is of type 'char *' - 136 | GRG_CTX grg_context_initialize (const unsigned char *header, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ -test.c: In function 'test4': -test.c:118:28: warning: pointer targets in passing argument 1 of 'grg_key_gen' differ in signedness [-Wpointer-sign] - 118 | key = grg_key_gen ("password", 8); - | ^~~~~~~~~~ - | | - | char * -libgringotts.h:163:43: note: expected 'const unsigned char *' but argument is of type 'char *' - 163 | GRG_KEY grg_key_gen (const unsigned char *pwd, const int pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c: In function 'test5': -test.c:128:37: warning: pointer targets in passing argument 1 of 'grg_key_gen' differ in signedness [-Wpointer-sign] - 128 | GRG_KEY key2 = grg_key_gen ("password", -1); - | ^~~~~~~~~~ - | | - | char * -libgringotts.h:163:43: note: expected 'const unsigned char *' but argument is of type 'char *' - 163 | GRG_KEY grg_key_gen (const unsigned char *pwd, const int pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c: In function 'test6': -test.c:153:44: warning: pointer targets in passing argument 3 of 'grg_decode64' differ in signedness [-Wpointer-sign] - 153 | debased = grg_decode64 (based, -1, &olen); - | ^~~~~ - | | - | int * -libgringotts.h:211:61: note: expected 'unsigned int *' but argument is of type 'int *' - 211 | const int inlen, unsigned int *outlen); - | ~~~~~~~~~~~~~~^~~~~~ -test.c:155:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 155 | if (strncmp (orig, debased, olen) == 0) - | ^~~~ - | | - | unsigned char * -In file included from test.c:33: -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -test.c:155:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 155 | if (strncmp (orig, debased, olen) == 0) - | ^~~~~~~ - | | - | unsigned char * -/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -test.c: In function 'test7': -test.c:180:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 180 | rs1 = grg_rnd_seq (gctx, TEST_DIM); - | ^ -test.c:181:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 181 | rs2 = grg_rnd_seq (gctx, TEST_DIM); - | ^ -test.c:190:35: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] - 190 | grg_rnd_seq_direct (gctx, rs1, TEST_DIM); - | ^~~ - | | - | char * -libgringotts.h:127:61: note: expected 'unsigned char *' but argument is of type 'char *' - 127 | void grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~ -test.c: In function 'testA': -test.c:239:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 239 | #define PWD1 "aaaaab" - | ^~~~~~~~ - | | - | char * -test.c:249:44: note: in expansion of macro 'PWD1' - 249 | double p1 = grg_ascii_pwd_quality (PWD1, -1), - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c:240:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 240 | #define PWD2 "qwerty" - | ^~~~~~~~ - | | - | char * -test.c:250:45: note: in expansion of macro 'PWD2' - 250 | p2 = grg_ascii_pwd_quality (PWD2, -1), - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c:241:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 241 | #define PWD3 "qWerty" - | ^~~~~~~~ - | | - | char * -test.c:251:45: note: in expansion of macro 'PWD3' - 251 | p3 = grg_ascii_pwd_quality (PWD3, -1), - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c:242:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 242 | #define PWD4 "q2w3e4" - | ^~~~~~~~ - | | - | char * -test.c:252:45: note: in expansion of macro 'PWD4' - 252 | p4 = grg_ascii_pwd_quality (PWD4, -1), - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c:243:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 243 | #define PWD5 "de3456" - | ^~~~~~~~ - | | - | char * -test.c:253:45: note: in expansion of macro 'PWD5' - 253 | p5 = grg_ascii_pwd_quality (PWD5, -1), - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c:244:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 244 | #define PWD6 "dE3456" - | ^~~~~~~~ - | | - | char * -test.c:254:45: note: in expansion of macro 'PWD6' - 254 | p6 = grg_ascii_pwd_quality (PWD6, -1), - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c:245:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 245 | #define PWD7 "q123456" - | ^~~~~~~~~ - | | - | char * -test.c:255:45: note: in expansion of macro 'PWD7' - 255 | p7 = grg_ascii_pwd_quality (PWD7, -1), - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c:246:22: warning: pointer targets in passing argument 1 of 'grg_ascii_pwd_quality' differ in signedness [-Wpointer-sign] - 246 | #define PWD8 "23.23k2" - | ^~~~~~~~~ - | | - | char * -test.c:256:45: note: in expansion of macro 'PWD8' - 256 | p8 = grg_ascii_pwd_quality (PWD8, -1); - | ^~~~ -libgringotts.h:131:52: note: expected 'const unsigned char *' but argument is of type 'char *' - 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -test.c: In function 'testB': -test.c:300:36: warning: pointer targets in passing argument 1 of 'grg_file_pwd_quality' differ in signedness [-Wpointer-sign] - 300 | p1 = grg_file_pwd_quality (name1); unlink (name1); - | ^~~~~ - | | - | char * -libgringotts.h:132:51: note: expected 'const unsigned char *' but argument is of type 'char *' - 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -test.c:301:36: warning: pointer targets in passing argument 1 of 'grg_file_pwd_quality' differ in signedness [-Wpointer-sign] - 301 | p2 = grg_file_pwd_quality (name2); unlink (name2); - | ^~~~~ - | | - | char * -libgringotts.h:132:51: note: expected 'const unsigned char *' but argument is of type 'char *' - 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -test.c:302:36: warning: pointer targets in passing argument 1 of 'grg_file_pwd_quality' differ in signedness [-Wpointer-sign] - 302 | p3 = grg_file_pwd_quality (name3); unlink (name3); - | ^~~~~ - | | - | char * -libgringotts.h:132:51: note: expected 'const unsigned char *' but argument is of type 'char *' - 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -test.c: In function 'testE': -test.c:339:24: warning: variable 'd' set but not used [-Wunused-but-set-variable] - 339 | int ret, rval, d; - | ^ -test.c: In function 'testI': -test.c:465:42: warning: pointer targets in passing argument 3 of 'grg_encrypt_file' differ in signedness [-Wpointer-sign] - 465 | ret=grg_encrypt_file (gctx, key, name, data, TEST_DIM); - | ^~~~ - | | - | char * -libgringotts.h:175:44: note: expected 'const unsigned char *' but argument is of type 'char *' - 175 | const unsigned char *path, - | ~~~~~~~~~~~~~~~~~~~~~^~~~ -test.c:471:42: warning: pointer targets in passing argument 3 of 'grg_decrypt_file' differ in signedness [-Wpointer-sign] - 471 | ret=grg_decrypt_file (gctx, key, name, &data2, &ffdim); - | ^~~~ - | | - | char * -libgringotts.h:172:44: note: expected 'const unsigned char *' but argument is of type 'char *' - 172 | const unsigned char *path, unsigned char **origData, - | ~~~~~~~~~~~~~~~~~~~~~^~~~ -test.c: In function 'testL': -test.c:499:38: warning: pointer targets in passing argument 3 of 'grg_encrypt_file' differ in signedness [-Wpointer-sign] - 499 | grg_encrypt_file (gctx, key, name, data, TEST_DIM); - | ^~~~ - | | - | char * -libgringotts.h:175:44: note: expected 'const unsigned char *' but argument is of type 'char *' - 175 | const unsigned char *path, - | ~~~~~~~~~~~~~~~~~~~~~^~~~ -test.c:501:38: warning: pointer targets in passing argument 2 of 'grg_validate_file' differ in signedness [-Wpointer-sign] - 501 | ret=grg_validate_file (gctx, name); - | ^~~~ - | | - | char * -libgringotts.h:169:65: note: expected 'const unsigned char *' but argument is of type 'char *' - 169 | int grg_validate_file (const GRG_CTX gctx, const unsigned char *path); - | ~~~~~~~~~~~~~~~~~~~~~^~~~ -test.c: In function 'testM': -test.c:513:20: warning: pointer targets in passing argument 1 of 'grg_decode64' differ in signedness [-Wpointer-sign] - 513 | #define ENC_STRING "VFNUM/Q2e5UfEC+5qi4MGcgHx6MYh8BLY0OjeYVq6sN8db1Hg15ZmxOUu5JN1yg2R7XBYRLvI1/eSTXUQ4dbLub+yIc2QU5TQ2TskJJHrg==" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -test.c:520:44: note: in expansion of macro 'ENC_STRING' - 520 | unsigned char *data = grg_decode64(ENC_STRING, -1, &fdim), *data2; - | ^~~~~~~~~~ -libgringotts.h:210:51: note: expected 'const unsigned char *' but argument is of type 'char *' - 210 | unsigned char *grg_decode64 (const unsigned char *in, - | ~~~~~~~~~~~~~~~~~~~~~^~ -test.c: In function 'main': -test.c:542:25: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] - 542 | char *version = grg_get_version(); - | ^~~~~~~~~~~~~~~ - -libGringotts 1.2.1 starting tests... - - -= GRG_CTX structure =- - -1) Context creation... Ok - -2) Context init sets valid parameters... Ok - -3) Context changes parameters correctly... Ok - - - -= Utility functions =- - -4) Random number generators... Ok - -5) grg_free() function... Ok - -6) Base64 conversions... Ok - -7) File shredding... Ok - -8) Password quality test (strings)... Ok - -9) Password quality test (files)... Ok - - - -= GRG_KEY structure =- - -10) Key creation... Ok - -11) Key cloning and comparison... Ok - - - -= Encryption/decryption =- - -12) Data encryption and decryption in memory... Ok - -13) Data format validation in memory... Ok - -14) Data encryption and decryption in files (using file descriptor)... Ok - -15) Data format validation in files (using file descriptor)... Ok - -16) Data encryption and decryption in files (using filename)... Ok - -17) Data format validation in files (using filename)... Ok - - - -= Enc/decryption details =- - -18) AES (Rijndael 128) encryption... Ok - -19) Serpent encryption... Ok - -20) Twofish encryption... Ok - -21) CAST-256 encryption... Ok - -22) Safer+ encryption... Ok - -23) Loki97 encryption... Ok - -24) Triple-DES encryption... Ok - -25) Rijndael 256 encryption... Ok - - -26) SHA-1 hashing... Ok - -27) Ripemd 160 hashing... Ok - - -28) ZLib compression... Ok - -29) BZip2 compression... Ok - -30) No compression... Ok - - - -= Encrypted Temp Files =- - -31) Tmpfile creation... Ok - -32) Tmpfile reading and writing... Ok - - - -= Other tests =- - -33) Backwards compatibility... Ok - - -...all tests executed Ok! :o) - -make[3]: Leaving directory '/build/reproducible-path/libgringotts-1.2.1/src' -make[2]: Leaving directory '/build/reproducible-path/libgringotts-1.2.1/src' -Making check in docs -make[2]: Entering directory '/build/reproducible-path/libgringotts-1.2.1/docs' -make[2]: Nothing to be done for 'check'. -make[2]: Leaving directory '/build/reproducible-path/libgringotts-1.2.1/docs' -make[2]: Entering directory '/build/reproducible-path/libgringotts-1.2.1' -make[2]: Leaving directory '/build/reproducible-path/libgringotts-1.2.1' -make[1]: Leaving directory '/build/reproducible-path/libgringotts-1.2.1' create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/libgringotts-dev.substvars debian/libgringotts2.substvars @@ -1277,7 +967,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/x86_64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libgringotts.la '/build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libgringotts.la '/build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libgringotts.so.2.0.7 /build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/x86_64-linux-gnu/libgringotts.so.2.0.7 libtool: install: (cd /build/reproducible-path/libgringotts-1.2.1/debian/tmp/usr/lib/x86_64-linux-gnu && { 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/x86_64-linux-gnu && { ln -s -f libgringotts.so.2.0.7 libgringotts.so || { rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so; }; }) @@ -1364,8 +1054,8 @@ cd debian/libgringotts2 chmod a-x usr/share/doc/libgringotts-dev/changelog usr/share/doc/libgringotts-dev/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 + gzip -9nf usr/share/doc/libgringotts-dev/changelog usr/share/doc/libgringotts-dev/changelog.Debian cd '/build/reproducible-path/libgringotts-1.2.1' cd '/build/reproducible-path/libgringotts-1.2.1' dh_fixperms @@ -1421,13 +1111,13 @@ chmod 0644 -- debian/libgringotts-dev/DEBIAN/control chmod 0644 -- debian/libgringotts2/DEBIAN/control dh_md5sums - install -m0755 -d debian/libgringotts-dev/DEBIAN install -m0755 -d debian/libgringotts2/DEBIAN - cd debian/libgringotts-dev >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums + install -m0755 -d debian/libgringotts-dev/DEBIAN cd debian/libgringotts2 >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums + cd debian/libgringotts-dev >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums + chmod 0644 -- debian/libgringotts-dev/DEBIAN/md5sums chmod 0644 -- debian/libgringotts2/DEBIAN/md5sums install -m0755 -d debian/.debhelper/libgringotts2/dbgsym-root/DEBIAN - chmod 0644 -- debian/libgringotts-dev/DEBIAN/md5sums cd debian/.debhelper/libgringotts2/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/libgringotts2/dbgsym-root/DEBIAN/md5sums dh_builddeb @@ -1435,8 +1125,8 @@ dpkg-deb --root-owner-group --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_amd64.deb'. -dpkg-deb: building package 'libgringotts2' in '../libgringotts2_1.2.1-16_amd64.deb'. dpkg-deb: building package 'libgringotts2-dbgsym' in '../libgringotts2-dbgsym_1.2.1-16_amd64.deb'. +dpkg-deb: building package 'libgringotts2' in '../libgringotts2_1.2.1-16_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libgringotts_1.2.1-16_amd64.buildinfo dpkg-genchanges --build=binary -O../libgringotts_1.2.1-16_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1444,12 +1134,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/1996853/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1996853/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/1753220 and its subdirectories -I: Current time: Tue Nov 4 11:36:43 -12 2025 -I: pbuilder-time-stamp: 1762299403 +I: removing directory /srv/workspace/pbuilder/1996853 and its subdirectories +I: Current time: Tue Dec 8 20:00:55 +14 2026 +I: pbuilder-time-stamp: 1796709655