Diff of the two buildlogs: -- --- b1/build.log 2024-04-05 00:41:35.394175703 +0000 +++ b2/build.log 2024-04-05 00:42:13.592552438 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 4 12:38:59 -12 2024 -I: pbuilder-time-stamp: 1712277539 +I: Current time: Thu May 8 21:04:38 +14 2025 +I: pbuilder-time-stamp: 1746687878 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -41,54 +41,86 @@ dpkg-source: info: applying remove-install-chown.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/8071/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25318/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 8 07:04 /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/25318/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25318/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='142359744c2348359ee26ae7e23760cc' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='8071' - PS1='# ' - PS2='> ' + INVOCATION_ID=8327831841da4882a7a91d02ac96e4e8 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=25318 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.uRygTko0/pbuilderrc_ehXK --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uRygTko0/b1 --logfile b1/build.log up-imapproxy_1.2.8~svn20171105-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.uRygTko0/pbuilderrc_z0bc --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uRygTko0/b2 --logfile b2/build.log up-imapproxy_1.2.8~svn20171105-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 4 11:26 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/8071/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 5 17:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/25318/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -167,7 +199,7 @@ Get: 33 http://deb.debian.org/debian trixie/main i386 libssl-dev i386 3.1.5-1 [2502 kB] Get: 34 http://deb.debian.org/debian trixie/main i386 libwrap0 i386 7.6.q-32+b1 [56.3 kB] Get: 35 http://deb.debian.org/debian trixie/main i386 libwrap0-dev i386 7.6.q-32+b1 [23.6 kB] -Fetched 22.4 MB in 1s (22.3 MB/s) +Fetched 22.4 MB in 0s (64.1 MB/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 ... 19876 files and directories currently installed.) @@ -322,7 +354,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/up-imapproxy-1.2.8~svn20171105/ && 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 > ../up-imapproxy_1.2.8~svn20171105-2_source.changes +I: user script /srv/workspace/pbuilder/25318/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/25318/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/up-imapproxy-1.2.8~svn20171105/ && 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 > ../up-imapproxy_1.2.8~svn20171105-2_source.changes dpkg-buildpackage: info: source package up-imapproxy dpkg-buildpackage: info: source version 1.2.8~svn20171105-2 dpkg-buildpackage: info: source distribution unstable @@ -481,7 +517,7 @@ make[1]: Entering directory '/build/reproducible-path/up-imapproxy-1.2.8~svn20171105' mkdir -p bin dh_auto_build - make -j11 + make -j21 make[2]: Entering directory '/build/reproducible-path/up-imapproxy-1.2.8~svn20171105' i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/up-imapproxy-1.2.8~svn20171105=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/openssl/include -c -o src/icc.o src/icc.c i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/up-imapproxy-1.2.8~svn20171105=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/openssl/include -c -o src/main.o src/main.c @@ -494,6 +530,12 @@ i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/up-imapproxy-1.2.8~svn20171105=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/openssl/include -c -o src/threads.o src/threads.c i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/up-imapproxy-1.2.8~svn20171105=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/openssl/include -c -o src/select.o src/select.c i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/up-imapproxy-1.2.8~svn20171105=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/openssl/include -c -o src/pimpstat.o src/pimpstat.c +src/threads.c:93:15: warning: 'id_function' defined but not used [-Wunused-function] + 93 | unsigned long id_function(void) { + | ^~~~~~~~~~~ +src/threads.c:86:6: warning: 'locking_function' defined but not used [-Wunused-function] + 86 | void locking_function(int mode, int n, const char *file, int line) { + | ^~~~~~~~~~~~~~~~ src/config.c: In function 'SetConfigOptions': src/config.c:570:14: warning: the comparison will always evaluate as 'true' for the address of 'Keyword' will never be NULL [-Waddress] 570 | if ( ! ConfigTable[i].Keyword ) @@ -501,83 +543,26 @@ src/config.c:129:10: note: 'Keyword' declared here 129 | char Keyword[MAX_KEYWORD_LEN]; /* The configuration keyword */ | ^~~~~~~ -src/threads.c:93:15: warning: 'id_function' defined but not used [-Wunused-function] - 93 | unsigned long id_function(void) { - | ^~~~~~~~~~~ -src/threads.c:86:6: warning: 'locking_function' defined but not used [-Wunused-function] - 86 | void locking_function(int mode, int n, const char *file, int line) { - | ^~~~~~~~~~~~~~~~ -src/select.c: In function 'Handle_Select_Command': -src/select.c:286:43: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] - 286 | snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from src/select.c:53: -In function 'snprintf', - inlined from 'Handle_Select_Command' at src/select.c:286:2: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] -src/select.c: In function 'Handle_Select_Command': -src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 124 | char Buf[ BUFSIZE ]; - | ^~~ -src/select.c:250:47: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] - 250 | snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from 'Handle_Select_Command' at src/select.c:250:6: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] -src/select.c: In function 'Handle_Select_Command': -src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 124 | char Buf[ BUFSIZE ]; - | ^~~ -src/select.c:216:47: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] - 216 | snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from 'Handle_Select_Command' at src/select.c:216:6: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] -src/select.c: In function 'Handle_Select_Command': -src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 124 | char Buf[ BUFSIZE ]; - | ^~~ -src/select.c:177:43: warning: ' BAD missing required argume...' directive output may be truncated writing 50 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] - 177 | snprintf( Buf, sizeof Buf - 1, "%s BAD missing required argument to SELECT command\r\n", Tag ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from 'Handle_Select_Command' at src/select.c:177:2: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 51 and 8242 bytes into a destination of size 8191 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] -src/select.c: In function 'Handle_Select_Command': -src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 124 | char Buf[ BUFSIZE ]; - | ^~~ +src/main.c: In function 'main': +src/main.c:394:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 394 | if (service = strrchr(argv[0], '/')) + | ^~~~~~~ +src/main.c:546:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 546 | ecdh = EC_KEY_new_by_curve_name( NID_X9_62_prime256v1 ); + | ^~~~ +In file included from /usr/include/openssl/x509.h:33, + from /usr/include/openssl/ssl.h:31, + from ./include/imapproxy.h:150, + from src/main.c:232: +/usr/include/openssl/ec.h:1001:31: note: declared here + 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +src/main.c:548:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 548 | EC_KEY_free( ecdh ); + | ^~~~~~~~~~~ +/usr/include/openssl/ec.h:1006:28: note: declared here + 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ src/request.c: In function 'cmd_authenticate_login': src/request.c:720:22: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] 720 | EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); @@ -596,6 +581,12 @@ /usr/include/openssl/evp.h:864:60: note: expected 'const unsigned char *' but argument is of type 'char *' 864 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ +src/imapcommon.c: In function 'Get_Server_conn': +src/imapcommon.c:992:26: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] + 992 | EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); + | ^~~~~~~~~~~~~~ + | | + | char * src/request.c:769:27: warning: pointer targets in passing argument 1 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign] 769 | rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 ); | ^~~~~~~~ @@ -617,6 +608,10 @@ | ^~~~~~~~~~~~~~~ | | | char * +In file included from src/imapcommon.c:137: +/usr/include/openssl/evp.h:864:36: note: expected 'unsigned char *' but argument is of type 'char *' + 864 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); + | ~~~~~~~~~~~~~~~^ /usr/include/openssl/evp.h:864:36: note: expected 'unsigned char *' but argument is of type 'char *' 864 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ @@ -633,9 +628,17 @@ | ^~~~~~~~ | | | char * +src/imapcommon.c:992:42: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] + 992 | EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); + | ^~~~~~~ + | | + | char * /usr/include/openssl/evp.h:871:36: note: expected 'unsigned char *' but argument is of type 'char *' 871 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ +/usr/include/openssl/evp.h:864:60: note: expected 'const unsigned char *' but argument is of type 'char *' + 864 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); + | ~~~~~~~~~~~~~~~~~~~~~^ src/request.c:812:37: warning: pointer targets in passing argument 2 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign] 812 | rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); | ^~~~~~~~~~~~~~~ @@ -676,44 +679,92 @@ src/request.c:563:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 563 | write( Tracefd, SendBuf, strlen( SendBuf ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/imapcommon.c: In function 'Get_Server_conn': -src/imapcommon.c:992:26: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] - 992 | EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); - | ^~~~~~~~~~~~~~ - | | - | char * -In file included from src/imapcommon.c:137: -/usr/include/openssl/evp.h:864:36: note: expected 'unsigned char *' but argument is of type 'char *' - 864 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); - | ~~~~~~~~~~~~~~~^ -src/main.c: In function 'main': -src/main.c:394:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 394 | if (service = strrchr(argv[0], '/')) - | ^~~~~~~ -src/main.c:546:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 546 | ecdh = EC_KEY_new_by_curve_name( NID_X9_62_prime256v1 ); - | ^~~~ -In file included from /usr/include/openssl/x509.h:33, - from /usr/include/openssl/ssl.h:31, - from ./include/imapproxy.h:150, - from src/main.c:232: -/usr/include/openssl/ec.h:1001:31: note: declared here - 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -src/main.c:548:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 548 | EC_KEY_free( ecdh ); - | ^~~~~~~~~~~ -/usr/include/openssl/ec.h:1006:28: note: declared here - 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -src/imapcommon.c:992:42: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] - 992 | EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); - | ^~~~~~~ - | | - | char * -/usr/include/openssl/evp.h:864:60: note: expected 'const unsigned char *' but argument is of type 'char *' - 864 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); - | ~~~~~~~~~~~~~~~~~~~~~^ +src/select.c: In function 'Handle_Select_Command': +src/select.c:286:43: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] + 286 | snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from src/select.c:53: +In function 'snprintf', + inlined from 'Handle_Select_Command' at src/select.c:286:2: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] +src/select.c: In function 'Handle_Select_Command': +src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 124 | char Buf[ BUFSIZE ]; + | ^~~ +src/select.c:250:47: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] + 250 | snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'Handle_Select_Command' at src/select.c:250:6: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] +src/select.c: In function 'Handle_Select_Command': +src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 124 | char Buf[ BUFSIZE ]; + | ^~~ +src/select.c:216:47: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] + 216 | snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'Handle_Select_Command' at src/select.c:216:6: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] +src/select.c: In function 'Handle_Select_Command': +src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 124 | char Buf[ BUFSIZE ]; + | ^~~ +src/select.c:177:43: warning: ' BAD missing required argume...' directive output may be truncated writing 50 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] + 177 | snprintf( Buf, sizeof Buf - 1, "%s BAD missing required argument to SELECT command\r\n", Tag ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'Handle_Select_Command' at src/select.c:177:2: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 51 and 8242 bytes into a destination of size 8191 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'Buf' [-Wrestrict] +src/select.c: In function 'Handle_Select_Command': +src/select.c:124:10: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 124 | char Buf[ BUFSIZE ]; + | ^~~ +i686-linux-gnu-gcc -o bin/pimpstat ./src/pimpstat.o ./src/config.o -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -L/usr/include/openssl/lib -lcurses +src/imapcommon.c:994:62: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 8166 [-Wformat-truncation=] + 994 | snprintf( SendBuf, BufLen, "A0001 AUTHENTICATE PLAIN %s\r\n", EncodedAuthBuf ); + | ^~ ~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from src/imapcommon.c:131: +In function 'snprintf', + inlined from 'Get_Server_conn' at src/imapcommon.c:994:2: +/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 28 and 8219 bytes into a destination of size 8191 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ src/request.c: In function 'HandleRequest': src/request.c:722:35: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 8189 [-Wformat-truncation=] 722 | snprintf( SendBuf, BufLen, "+ %s\r\n", EncodedUsername ); @@ -761,21 +812,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -o bin/pimpstat ./src/pimpstat.o ./src/config.o -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -L/usr/include/openssl/lib -lcurses -src/imapcommon.c:994:62: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 8166 [-Wformat-truncation=] - 994 | snprintf( SendBuf, BufLen, "A0001 AUTHENTICATE PLAIN %s\r\n", EncodedAuthBuf ); - | ^~ ~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from src/imapcommon.c:131: -In function 'snprintf', - inlined from 'Get_Server_conn' at src/imapcommon.c:994:2: -/usr/include/i386-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 28 and 8219 bytes into a destination of size 8191 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -o bin/in.imapproxyd ./src/icc.o ./src/main.o ./src/imapcommon.o ./src/request.o ./src/hash.o ./src/becomenonroot.o ./src/config.o ./src/logging.o ./src/threads.o ./src/select.o -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -L/usr/include/openssl/lib -lssl -lcrypto -lwrap -lnsl -lpthread make[2]: Leaving directory '/build/reproducible-path/up-imapproxy-1.2.8~svn20171105' make[1]: Leaving directory '/build/reproducible-path/up-imapproxy-1.2.8~svn20171105' @@ -831,8 +867,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'imapproxy-dbgsym' in '../imapproxy-dbgsym_1.2.8~svn20171105-2_i386.deb'. dpkg-deb: building package 'imapproxy' in '../imapproxy_1.2.8~svn20171105-2_i386.deb'. +dpkg-deb: building package 'imapproxy-dbgsym' in '../imapproxy-dbgsym_1.2.8~svn20171105-2_i386.deb'. dpkg-genbuildinfo --build=binary -O../up-imapproxy_1.2.8~svn20171105-2_i386.buildinfo dpkg-genchanges --build=binary -O../up-imapproxy_1.2.8~svn20171105-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -840,12 +876,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/25318/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/25318/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/8071 and its subdirectories -I: Current time: Thu Apr 4 12:41:34 -12 2024 -I: pbuilder-time-stamp: 1712277694 +I: removing directory /srv/workspace/pbuilder/25318 and its subdirectories +I: Current time: Thu May 8 21:05:12 +14 2025 +I: pbuilder-time-stamp: 1746687912