Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/postfix-gld/postfix-gld_1.7-8+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/postfix-gld-1.7-8+b1whtabv5y/postfix-gld_1.7-8+b1_amd64.buildinfo Get source package info: postfix-gld=1.7-8 Source URL: http://snapshot.notset.fr/mr/package/postfix-gld/1.7-8/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=base-files=10.1 base-passwd=3.5.45 bash=5.0-2 binutils=2.31.1-11 binutils-common=2.31.1-11 binutils-x86-64-linux-gnu=2.31.1-11 bsdutils=1:2.33.1-0.1 build-essential=12.5 bzip2=1.0.6-9 coreutils=8.30-1 cpp=4:8.2.0-2 cpp-8=8.2.0-15 dash=0.5.10.2-5 debconf=1.5.70 debianutils=4.8.6.1 default-libmysqlclient-dev=1.0.5 diffutils=1:3.6-1 dpkg=1.19.4 dpkg-dev=1.19.4 fdisk=2.33.1-0.1 findutils=4.6.0+git+20190105-2 g++=4:8.2.0-2 g++-8=8.2.0-15 gcc=4:8.2.0-2 gcc-8=8.2.0-15 gcc-8-base=8.2.0-15 grep=3.3-1 gzip=1.9-3 hostname=3.21 init-system-helpers=1.56+nmu1 libacl1=2.2.52-3+b1 libasan5=8.2.0-15 libatomic1=8.2.0-15 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.8.4-2 libaudit1=1:2.8.4-2 libbinutils=2.31.1-11 libblkid1=2.33.1-0.1 libbz2-1.0=1.0.6-9 libc-bin=2.28-5 libc-dev-bin=2.28-5 libc6=2.28-5 libc6-dev=2.28-5 libcap-ng0=0.7.9-2 libcc1-0=8.2.0-15 libdb5.3=5.3.28+dfsg1-0.2 libdebconfclient0=0.246 libdpkg-perl=1.19.4 libfdisk1=2.33.1-0.1 libgcc-8-dev=8.2.0-15 libgcc1=1:8.2.0-15 libgcrypt20=1.8.4-5 libgdbm-compat4=1.18.1-2 libgdbm6=1.18.1-2 libgmp10=2:6.1.2+dfsg-4 libgomp1=8.2.0-15 libgpg-error0=1.33-3 libisl19=0.20-2 libitm1=8.2.0-15 liblsan0=8.2.0-15 liblz4-1=1.8.3-1 liblzma5=5.2.2-1.3 libmariadb-dev=1:10.3.12-2 libmariadb-dev-compat=1:10.3.12-2 libmariadb3=1:10.3.12-2 libmount1=2.33.1-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2~rc1-1 libmpx2=8.2.0-15 libncursesw6=6.1+20181013-1 libpam-modules=1.1.8-4 libpam-modules-bin=1.1.8-4 libpam-runtime=1.1.8-4 libpam0g=1.1.8-4 libpcre3=2:8.39-11 libperl5.28=5.28.1-3 libquadmath0=8.2.0-15 libselinux1=2.8-1+b1 libsmartcols1=2.33.1-0.1 libssl-dev=1.1.1a-1 libssl1.1=1.1.1a-1 libstdc++-8-dev=8.2.0-15 libstdc++6=8.2.0-15 libsystemd0=240-4 libtinfo6=6.1+20181013-1 libtsan0=8.2.0-15 libubsan1=8.2.0-15 libudev1=240-4 libuuid1=2.33.1-0.1 linux-libc-dev=4.19.16-1 login=1:4.5-1.1 make=4.2.1-1.2 mariadb-common=1:10.3.12-2 mawk=1.3.3-17+b3 mysql-common=5.8+1.0.5 ncurses-base=6.1+20181013-1 ncurses-bin=6.1+20181013-1 patch=2.7.6-3 perl=5.28.1-3 perl-base=5.28.1-3 perl-modules-5.28=5.28.1-3 sed=4.7-1 sysvinit-utils=2.93-6 tar=1.30+dfsg-4 util-linux=2.33.1-0.1 xz-utils=5.2.2-1.3 zlib1g=1:1.2.11.dfsg-1 zlib1g-dev=1:1.2.11.dfsg-1 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20190127T210549Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d postfix-gld=1.7-8 && mkdir -p /build/postfix-gld-dchVax && dpkg-source --no-check -x /*.dsc /build/postfix-gld-dchVax/postfix-gld-1.7 && cd /build/postfix-gld-dchVax/postfix-gld-1.7 && { printf '%s' 'postfix-gld (1.7-8+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libmariadb3. -- amd64 / i386 Build Daemon (x86-csail-01) Mon, 28 Jan 2019 18:26:25 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/postfix-gld-dchVax" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/postfix-gld-dchVax/postfix-gld-1.7 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1548699985" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/postfix-gld-dchVax /tmp/postfix-gld-1.7-8+b1whtabv5y buster /dev/null deb http://snapshot.notset.fr/archive/debian/20190127T210549Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.6bo7Gv9zjv as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.6bo7Gv9zjv Reading package lists... Building dependency tree... util-linux is already the newest version (2.33.1-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20190127T210549Z unstable/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20190127T210549Z unstable/main amd64 fakeroot amd64 1.23-1 [85.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (770 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4351 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_amd64.deb ... Unpacking fakeroot (1.23-1) ... Setting up libfakeroot:amd64 (1.23-1) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.28-5) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20190127T210549Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.6bo7Gv9zjv Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20190127T210549Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 20s (1144 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.6bo7Gv9zjv I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d postfix-gld=1.7-8 && mkdir -p /build/postfix-gld-dchVax && dpkg-source --no-check -x /*.dsc /build/postfix-gld-dchVax/postfix-gld-1.7 && cd /build/postfix-gld-dchVax/postfix-gld-1.7 && { printf '%s' 'postfix-gld (1.7-8+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libmariadb3. -- amd64 / i386 Build Daemon (x86-csail-01) Mon, 28 Jan 2019 18:26:25 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/postfix-gld-dchVax"' exec /tmp/mmdebstrap.6bo7Gv9zjv Reading package lists... Need to get 51.0 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main postfix-gld 1.7-8 (dsc) [1377 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main postfix-gld 1.7-8 (tar) [40.2 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main postfix-gld 1.7-8 (diff) [9344 B] Fetched 51.0 kB in 0s (571 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'postfix-gld_1.7-8.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting postfix-gld in /build/postfix-gld-dchVax/postfix-gld-1.7 dpkg-source: info: unpacking postfix-gld_1.7.orig.tar.gz dpkg-source: info: unpacking postfix-gld_1.7-8.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01 dpkg-source: info: applying 02 dpkg-source: info: applying 03 dpkg-source: info: applying 04 dpkg-source: info: applying 05 dpkg-source: info: applying 06 dpkg-source: info: applying 07 dpkg-source: info: applying 08 I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/postfix-gld-dchVax/postfix-gld-1.7 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1548699985" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.6bo7Gv9zjv dpkg-buildpackage: info: source package postfix-gld dpkg-buildpackage: info: source version 1.7-8+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean rm -f build [ ! -f Makefile ] || /usr/bin/make distclean rm -f `find . -name "*~"` rm -rf debian/tmp debian/files* core debian/substvars debian/rules build-arch ./configure --prefix=/usr --with-mysql creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for sys/time.h... yes checking for syslog.h... yes checking for netdb.h... yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking for select... yes checking for socket... yes checking for inet_addr... yes checking for strstr... yes checking for fork... yes checking for accept... yes checking for wait... yes checking for shutdown... yes checking for gethostbyname... yes checking for bzero... yes checking for bcopy... yes checking for connect... yes checking for bind... yes checking for sendto... yes checking for gethostbyaddr... yes checking for getpeername... yes checking for setsockopt... yes checking for waitpid... yes checking for sscanf... yes checking for inet_aton... yes updating cache ./config.cache creating ./config.status creating Makefile /usr/bin/make CFLAGS="`dpkg-buildflags --get CFLAGS` -Wall" CPPFLAGS="`dpkg-buildflags --get CPPFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`" make[1]: Entering directory '/build/postfix-gld-dchVax/postfix-gld-1.7' gcc -g -O2 -fdebug-prefix-map=/build/postfix-gld-dchVax/postfix-gld-1.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1 -c cnf.c gcc -g -O2 -fdebug-prefix-map=/build/postfix-gld-dchVax/postfix-gld-1.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1 -c server.c server.c: In function 'HandleChild': server.c:226:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] snprintf(buff,sizeof(buff)-1,"Rejected New incoming connexion from %s (%s)\n",buff,ip); ^~~~ ~~~~ server.c:199:6: warning: variable 'ts' set but not used [-Wunused-but-set-variable] long ts; ^~ server.c: In function 'MyDaemon': server.c:396:20: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] if(!nochdir) (void)chdir("/"); ^~~~~~~~~~ server.c: In function 'HandleChild': server.c:316:59: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2020 [-Wformat-truncation=] snprintf(buff,sizeof(buff)-1,"Received invalid data req=(%s) sender=(%s) recipient=(%s) ip=(%s)",request,sender,recipient,ip); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from gld.h:1, from server.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 58 and 8246 bytes into a destination of size 2047 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:226:70: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2010 [-Wformat-truncation=] snprintf(buff,sizeof(buff)-1,"Rejected New incoming connexion from %s (%s)\n",buff,ip); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from gld.h:1, from server.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 42 and 4136 bytes into a destination of size 2047 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/postfix-gld-dchVax/postfix-gld-1.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1 -I/usr/include -D_DB_MYSQL_ -c sql.c gcc -g -O2 -fdebug-prefix-map=/build/postfix-gld-dchVax/postfix-gld-1.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1 -c sockets.c sockets.c: In function 'ReadSocket': sockets.c:141:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(s<0) return(S_SOCK_ERR); ^~ sockets.c:143:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' timeout.tv_sec=tout; ^~~~~~~ sockets.c: In function 'ReadUdpData': sockets.c:494:68: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] nbytes=recvfrom(s,buffer,maxsize,0,(struct sockaddr *)0,(int *)0); ^~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from sockets.h:17, from sockets.c:31: /usr/include/x86_64-linux-gnu/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ sockets.c: In function 'CloseSocket': sockets.c:518:23: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] if ( (s && close(s)) < 0 ) return(S_CLOS_ERR); ^ sockets.c: In function 'GetPeerIp': sockets.c:643:48: warning: passing argument 3 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] if (getpeername(sock,(struct sockaddr *)&from, &foo) == 0) ^~~~ In file included from sockets.h:17, from sockets.c:31: /usr/include/x86_64-linux-gnu/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} socklen_t *__restrict __len) __THROW; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ sockets.c: In function 'WaitTcpServer': sockets.c:726:54: warning: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] return(accept(serv.sd,(struct sockaddr *)&(serv.sin),&foo)); ^~~~ In file included from sockets.h:17, from sockets.c:31: /usr/include/x86_64-linux-gnu/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} socklen_t *__restrict __addr_len); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/postfix-gld-dchVax/postfix-gld-1.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1 -c greylist.c gcc -g -O2 -fdebug-prefix-map=/build/postfix-gld-dchVax/postfix-gld-1.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_NETDB_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -DHAVE_FORK=1 -DHAVE_ACCEPT=1 -DHAVE_WAIT=1 -DHAVE_SHUTDOWN=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_CONNECT=1 -DHAVE_BIND=1 -DHAVE_SENDTO=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETPEERNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_WAITPID=1 -DHAVE_SSCANF=1 server.o sql.o sockets.o cnf.o greylist.o -L /usr/lib -L /lib -L/usr/lib/mysql -lmysqlclient -o gld make[1]: Leaving directory '/build/postfix-gld-dchVax/postfix-gld-1.7' touch build fakeroot debian/rules binary-arch rm -rf debian/tmp install -d debian/tmp/DEBIAN debian/tmp/usr/share/doc/postfix-gld cd debian/tmp && install -d etc/init.d usr/sbin usr/share/gld \ etc/default usr/share/man/man8 etc/logcheck/ignore.d.server install -m 755 gld debian/tmp/usr/sbin install -m 644 debian/logcheck \ debian/tmp/etc/logcheck/ignore.d.server/postfix-gld install -m 644 gld.conf debian/tmp/etc install -m 755 debian/gld.init debian/tmp/etc/init.d/gld install -m 644 debian/conffiles debian/tmp/DEBIAN install -m 755 debian/prerm debian/postinst debian/postrm \ debian/tmp/DEBIAN cp -p debian/default debian/tmp/etc/default/gld cp -p tables.mysql debian/tmp/usr/share/gld cp -p table-whitelist.sql debian/tmp/usr/share/gld install -m 644 debian/gld.8 debian/tmp/usr/share/man/man8 cp -p debian/changelog debian/tmp/usr/share/doc/postfix-gld/changelog.Debian cp -p HISTORY README debian/README.Debian debian/tmp/usr/share/doc/postfix-gld cp -p debian/copyright debian/tmp/usr/share/doc/postfix-gld cd debian/tmp/usr/share/doc/postfix-gld && gzip -9n HISTORY changelog.Debian ln -s HISTORY.gz debian/tmp/usr/share/doc/postfix-gld/changelog.gz gzip -r9n debian/tmp/usr/share/man strip --remove-section=.comment --remove-section=.note debian/tmp/usr/sbin/* dpkg-shlibdeps debian/tmp/usr/sbin/* dpkg-gencontrol chown -R 0:0 debian/tmp chmod -R go=rX debian/tmp find debian/tmp -newermt 'Mon, 28 Jan 2019 18:26:25 +0000' -print0 |\ xargs -0r touch -h --date='Mon, 28 Jan 2019 18:26:25 +0000' dpkg --build debian/tmp .. dpkg-deb: building package 'postfix-gld' in '../postfix-gld_1.7-8+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../postfix-gld_1.7-8+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/postfix-gld-dchVax /tmp/postfix-gld-1.7-8+b1whtabv5y I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.6bo7Gv9zjv... I: success in 180.4456 seconds md5: postfix-gld_1.7-8+b1_amd64.deb: OK sha1: postfix-gld_1.7-8+b1_amd64.deb: OK sha256: postfix-gld_1.7-8+b1_amd64.deb: OK Checksums: OK