Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/h/hpsockd/hpsockd_0.17+nmu1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/hpsockd-0.17+nmu1hazl2eth/hpsockd_0.17+nmu1_amd64.buildinfo Get source package info: hpsockd=0.17+nmu1 Source URL: http://snapshot.notset.fr/mr/package/hpsockd/0.17+nmu1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20220109.1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6 binutils=2.38-2 binutils-common=2.38-2 binutils-x86-64-linux-gnu=2.38-2 bsdextrautils=2.37.3-1+b1 bsdutils=1:2.37.3-1+b1 build-essential=12.9 byacc=1:2.0.20220114-1 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-18 dash=0.5.11+git20210903+057cd650a4ed-7 debconf=1.5.79 debhelper=13.6 debianutils=5.7-0.1 dh-autoreconf=20 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 file=1:5.41-2 findutils=4.9.0-2 flex=2.6.4-8 g++=4:11.2.0-2 g++-11=11.2.0-18 gcc=4:11.2.0-2 gcc-11=11.2.0-18 gcc-11-base=11.2.0-18 gcc-12-base=12-20220302-1 gettext=0.21-4 gettext-base=0.21-4 grep=3.7-1 groff-base=1.22.4-8 gzip=1.10-4 hostname=3.23 init-system-helpers=1.62 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-18 libatomic1=12-20220302-1 libattr1=1:2.5.1-1 libaudit-common=1:3.0.7-1 libaudit1=1:3.0.7-1 libbinutils=2.38-2 libblkid1=2.37.3-1+b1 libbz2-1.0=1.0.8-5 libc-bin=2.33-7 libc-dev-bin=2.33-7 libc6=2.33-7 libc6-dev=2.33-7 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=12-20220302-1 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1.1 libcrypt1=1:4.4.27-1.1 libctf-nobfd0=2.38-2 libctf0=2.38-2 libdb-dev=5.3.1+nmu1 libdb5.3=5.3.28+dfsg1-0.8 libdb5.3-dev=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.6 libdpkg-perl=1.21.1 libelf1=0.186-1 libfile-stripnondeterminism-perl=1.13.0-1 libgcc-11-dev=11.2.0-18 libgcc-s1=12-20220302-1 libgcrypt20=1.9.4-5 libgdbm-compat4=1.23-1 libgdbm6=1.23-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=12-20220302-1 libgpg-error0=1.43-3 libgssapi-krb5-2=1.19.2-2 libicu67=67.1-7 libisl23=0.24-2 libitm1=12-20220302-1 libk5crypto3=1.19.2-2 libkeyutils1=1.6.1-3 libkrb5-3=1.19.2-2 libkrb5support0=1.19.2-2 liblsan0=12-20220302-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmount1=2.37.3-1+b1 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.34=5.34.0-3 libpipeline1=1.5.5-1 libquadmath0=12-20220302-1 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.14-1 libsmartcols1=2.37.3-1+b1 libssl1.1=1.1.1m-1 libstdc++-11-dev=11.2.0-18 libstdc++6=12-20220302-1 libsub-override-perl=0.09-2 libsystemd0=250.3-2 libtinfo6=6.3-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-18 libubsan1=12-20220302-1 libuchardet0=0.0.7-1 libudev1=250.3-2 libunistring2=1.0-1 libuuid1=2.37.3-1+b1 libxml2=2.9.13+dfsg-1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.16.12-1 login=1:4.11.1+dfsg1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.10.1-1 mawk=1.3.4.20200120-3+b1 ncurses-base=6.3-2 ncurses-bin=6.3-2 patch=2.7.6-7 perl=5.34.0-3 perl-base=5.34.0-3 perl-modules-5.34=5.34.0-3 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.01-1 tar=1.34+dfsg-1 util-linux=2.37.3-1+b1 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --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/20220316T034435Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220316T034435Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220310T221404Z/ 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 hpsockd=0.17+nmu1 && mkdir -p /build/hpsockd-W9bZx0 && dpkg-source --no-check -x /*.dsc /build/hpsockd-W9bZx0/hpsockd-0.17+nmu1 && chown -R builduser:builduser /build/hpsockd-W9bZx0" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/hpsockd-W9bZx0/hpsockd-0.17+nmu1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1646953367" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/hpsockd-W9bZx0 /tmp/hpsockd-0.17+nmu1hazl2eth bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220310T221404Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.9tVZx7jyGM 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.9tVZx7jyGM Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.3-1+b1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 135 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220310T221404Z unstable/main amd64 libfakeroot amd64 1.28-1 [48.2 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220310T221404Z unstable/main amd64 fakeroot amd64 1.28-1 [87.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 135 kB in 0s (1073 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 ... 4691 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.28-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.28-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.28-1_amd64.deb ... Unpacking fakeroot (1.28-1) ... Setting up libfakeroot:amd64 (1.28-1) ... Setting up fakeroot (1.28-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-7) ... 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/20220316T034435Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220316T034435Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220310T221404Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.9tVZx7jyGM Get:1 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm InRelease [130 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20220310T221404Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main Sources [11.9 MB] Get:4 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main amd64 Packages [11.3 MB] Fetched 23.4 MB in 20s (1182 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.9tVZx7jyGM I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d hpsockd=0.17+nmu1 && mkdir -p /build/hpsockd-W9bZx0 && dpkg-source --no-check -x /*.dsc /build/hpsockd-W9bZx0/hpsockd-0.17+nmu1 && chown -R builduser:builduser /build/hpsockd-W9bZx0"' exec /tmp/mmdebstrap.9tVZx7jyGM Reading package lists... NOTICE: 'hpsockd' packaging is maintained in the 'Git' version control system at: git://git.debian.org/~lamont/hpsockd.git Please use: git clone git://git.debian.org/~lamont/hpsockd.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 76.0 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main hpsockd 0.17+nmu1 (dsc) [1553 B] Get:2 http://snapshot.notset.fr/archive/debian/20220316T034435Z bookworm/main hpsockd 0.17+nmu1 (tar) [74.5 kB] Fetched 76.0 kB in 0s (675 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'hpsockd_0.17+nmu1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting hpsockd in /build/hpsockd-W9bZx0/hpsockd-0.17+nmu1 dpkg-source: info: unpacking hpsockd_0.17+nmu1.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/hpsockd-W9bZx0/hpsockd-0.17+nmu1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1646953367" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.9tVZx7jyGM dpkg-buildpackage: info: source package hpsockd dpkg-buildpackage: info: source version 0.17+nmu1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Lucas Nussbaum dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. cd src && /usr/bin/make clobber make[1]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' for i in util sockd; do (cd $i && make clobber); done make[2]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/util' rm -f *.o rm -f libutil.a make[2]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/util' make[2]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/sockd' rm -f *.o gram.output gram.tab.c gram.tab.h lexer.c rm -f sockd sdc log2ascii usage vers.c make[2]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/sockd' make[1]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' dh_clean debian/rules build-arch dh_testdir # Add here commands to compile the package. cd src && /usr/bin/make make[1]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' /usr/bin/make `uname -s` make[2]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' /usr/bin/make CFLAGS="-O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\\\"/etc/hpsockd.conf\\\" -DSOCKD_PATH=\\\"/usr/sbin/hpsockd\\\" -I../util -DYYDEBUG=1" CLFLAGS="-ldl -ldb" all make[3]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' for i in util sockd; do (cd $i && make all); done make[4]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/util' cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o btree.o btree.c btree.c: In function ‘search’: btree.c:285:26: warning: type defaults to ‘int’ in declaration of ‘nix’ [-Wimplicit-int] 285 | register nix=ix; | ^~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o inetdsec.o inetdsec.c inetdsec.c:180:8: warning: return type defaults to ‘int’ [-Wimplicit-int] 180 | static internet_parse(char *string,byte *addr,char *service) | ^~~~~~~~~~~~~~ inetdsec.c: In function ‘internet_parse’: inetdsec.c:236:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 236 | *cp = (char)NULL; | ^ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o inet_ntoa.o inet_ntoa.c ar rv libutil.a btree.o inetdsec.o inet_ntoa.o ar: creating libutil.a a - btree.o a - inetdsec.o a - inet_ntoa.o ranlib libutil.a make[4]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/util' make[4]: Entering directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/sockd' cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o methods.o methods.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o sockd.o sockd.c sockd.c: In function ‘main’: sockd.c:94:5: warning: implicit declaration of function ‘negotInit’ [-Wimplicit-function-declaration] 94 | negotInit(); | ^~~~~~~~~ sockd.c:135:5: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration] 135 | gettimeofday(&lastAccept,(struct timezone*)NULL); /* make it something close... */ | ^~~~~~~~~~~~ sockd.c: In function ‘readConfig’: sockd.c:495:10: warning: implicit declaration of function ‘yyparse’; did you mean ‘pause’? [-Wimplicit-function-declaration] 495 | if (!yyparse()) { | ^~~~~~~ | pause sockd.c:502:9: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration] 502 | umask(config.daemon.umask); | ^~~~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o signal.o signal.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o util.o util.c util.c: In function ‘closeConnectionReal’: util.c:226:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 226 | footprint(3,info->fd,(int)info,(int)conn); | ^ util.c:226:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 226 | footprint(3,info->fd,(int)info,(int)conn); | ^ util.c: In function ‘spawnChild’: util.c:561:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 561 | footprint(0x16,highFd,(int)conn,0); | ^ util.c:572:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 572 | footprint(6,highFd,(int)conn,0); | ^ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o logging.o logging.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o dns.o dns.c dns.c: In function ‘dnsGlobalInit’: dns.c:107:27: warning: passing argument 2 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types] 107 | res=getsockname(s,&dnsAddr,&sinLen); | ^~~~~~~~ | | | struct sockaddr_in * In file included from sockd.h:29, from dns.c:1: /usr/include/x86_64-linux-gnu/sys/socket.h:116:50: note: expected ‘struct sockaddr * restrict’ but argument is of type ‘struct sockaddr_in *’ 116 | extern int getsockname (int __fd, __SOCKADDR_ARG __addr, | ^ dns.c: In function ‘dnsHandler’: dns.c:358:49: warning: passing argument 5 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 358 | ret=recvfrom(fd,sbuf,sizeof(sbuf),0,&from,&fromLen); | ^~~~~ | | | struct sockaddr_in * In file included from sockd.h:29, from dns.c:1: /usr/include/x86_64-linux-gnu/sys/socket.h:164:54: note: expected ‘struct sockaddr * restrict’ but argument is of type ‘struct sockaddr_in *’ 164 | int __flags, __SOCKADDR_ARG __addr, | ^ dns.c:394:43: warning: passing argument 5 of ‘sendto’ from incompatible pointer type [-Wincompatible-pointer-types] 394 | sendto(fd,dbuf,next-(char*)dbuf,0,&from,fromLen); | ^~~~~ | | | struct sockaddr_in * In file included from sockd.h:29, from dns.c:1: /usr/include/x86_64-linux-gnu/sys/socket.h:153:58: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’ 153 | int __flags, __CONST_SOCKADDR_ARG __addr, | ^ if [ -f /usr/bin/byacc ]; then \ byacc -b gram -d -v gram.y; \ else \ yacc -b gram -d -v gram.y; \ fi cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o gram.tab.o gram.tab.c gram.y:766:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 766 | yyerror(char *s) | ^~~~~~~ flex -p -s -t lexer.l > lexer.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o lexer.o lexer.c lexer.l: In function ‘zzlex’: lexer.l:122:15: warning: implicit declaration of function ‘strToTime’; did you mean ‘strftime’? [-Wimplicit-function-declaration] 122 | ({dec}[wdhms])+ { yylval.iVal=strToTime(yytext); return I_TIME; } | ^~~~~~~~~ | strftime sed -n '1,1s/.*(\(.*\)).*$/char *socks_version="@(#)sockd version \1";/p' < ../../debian/changelog > vers.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o vers.o vers.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o listen.o listen.c listen.c: In function ‘listenRecv1’: listen.c:90:5: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration] 90 | gettimeofday(&myTime,(struct timezone*)NULL); | ^~~~~~~~~~~~ listen.c:150:39: warning: implicit declaration of function ‘DoInetdSec’ [-Wimplicit-function-declaration] 150 | if (config.daemon.inetdSecFile && DoInetdSec(config.daemon.service,&sin,config.daemon.inetdSecFile)<0) { | ^~~~~~~~~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o v4.o v4.c In file included from v4.c:1: v4.c: In function ‘newV4Client’: sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:51:35: note: in expansion of macro ‘ofs’ 51 | register int l=ofs(v4HeadType,user); | ^~~ sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:97:49: note: in expansion of macro ‘ofs’ 97 | client->TCP_OUTPUT(client,(char*)&reply,ofs(v4HeadType,user),0); | ^~~ sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:112:49: note: in expansion of macro ‘ofs’ 112 | client->TCP_OUTPUT(client,(char*)&reply,ofs(v4HeadType,user),0); | ^~~ v4.c: In function ‘v4ConnectSendReply’: sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:201:45: note: in expansion of macro ‘ofs’ 201 | client->TCP_OUTPUT(client,(char*)&reply,ofs(v4HeadType,user),0); | ^~~ v4.c: In function ‘v4DoBind’: sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:238:49: note: in expansion of macro ‘ofs’ 238 | client->TCP_OUTPUT(client,(char*)&reply,ofs(v4HeadType,user),0); | ^~~ sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:253:45: note: in expansion of macro ‘ofs’ 253 | client->TCP_OUTPUT(client,(char*)&reply,ofs(v4HeadType,user),0); | ^~~ v4.c: In function ‘v4BindRecv’: sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:305:49: note: in expansion of macro ‘ofs’ 305 | client->TCP_OUTPUT(client,(char*)&reply,ofs(v4HeadType,user),0); | ^~~ sockd.h:123:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | #define ofs(tp,field) (int)(&(((tp*)0)->field)) | ^ v4.c:312:45: note: in expansion of macro ‘ofs’ 312 | client->TCP_OUTPUT(client,(char*)&reply,ofs(v4HeadType,user),0); | ^~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o v5.o v5.c v5.c: In function ‘v5Request’: v5.c:162:17: warning: ‘return’ with no value, in function returning non-void 162 | return; | ^~~~~~ v5.c:125:5: note: declared here 125 | int v5Request(fdInfoType *peer,void *buf,int len,unsigned int flags) | ^~~~~~~~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o userpass.o userpass.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o v5tcp.o v5tcp.c v5tcp.c: In function ‘v5ConnectSendReply’: v5tcp.c:154:42: warning: implicit declaration of function ‘v5ErrnoToResult’ [-Wimplicit-function-declaration] 154 | v5WriteReply(client,&client->sin,v5ErrnoToResult(errno),0); | ^~~~~~~~~~~~~~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o v5udp.o v5udp.c v5udp.c: In function ‘v5DoUdpAssociate’: v5udp.c:176:26: warning: implicit declaration of function ‘v5ErrnoToResult’ [-Wimplicit-function-declaration] 176 | register int ret=v5ErrnoToResult(errno); | ^~~~~~~~~~~~~~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o v5command.o v5command.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -o sockd methods.o sockd.o signal.o util.o logging.o dns.o gram.tab.o lexer.o vers.o listen.o v4.o v5.o userpass.o v5tcp.o v5udp.o v5command.o -ldl -ldb ../util/libutil.a cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o sdc.o sdc.c sdc.c: In function ‘main’: sdc.c:64:9: warning: implicit declaration of function ‘yyparse’; did you mean ‘pause’? [-Wimplicit-function-declaration] 64 | if (yyparse()) { | ^~~~~~~ | pause sdc.c:112:9: warning: implicit declaration of function ‘doStatus’; did you mean ‘logStartup’? [-Wimplicit-function-declaration] 112 | doStatus(wait); | ^~~~~~~~ | logStartup sdc.c: At top level: sdc.c:169:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 169 | doStatus(int wait) | ^~~~~~~~ sdc.c: In function ‘doStatus’: sdc.c:193:102: warning: passing argument 1 of ‘ctime’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | printf("%3d: %5d %5d %10s %s",i,nInfo->pid,nInfo->numConn,printFlags(nInfo->flags),ctime(&nInfo->lastChecked)); | ^~~~~~~~~~~~~~~~~~~ In file included from sockd.h:37, from sdc.c:1: /usr/include/time.h:142:35: note: expected ‘const time_t *’ {aka ‘const long int *’} but argument is of type ‘volatile time_t *’ {aka ‘volatile long int *’} 142 | extern char *ctime (const time_t *__timer) __THROW; | ~~~~~~~~~~~~~~^~~~~~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -o sdc sdc.o gram.tab.o lexer.o vers.o ../util/libutil.a cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o log2ascii.o log2ascii.c log2ascii.c:52:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 52 | main(int argc,char **argv) | ^~~~ cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -o log2ascii log2ascii.o vers.o ../util/libutil.a cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o usage.o usage.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -o usage usage.o vers.o ../util/libutil.a make[4]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src/sockd' make[3]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' make[2]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' make[1]: Leaving directory '/build/hpsockd-W9bZx0/hpsockd-0.17+nmu1/src' touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_clean -k dh_clean: warning: dh_clean -k is deprecated; use dh_prep instead dh_clean: warning: This feature will be removed in compat 12. dh_installdirs # Add here commands to install the package into debian/#PACKAGE#. install src/sockd/sockd debian/hpsockd/usr/sbin/hpsockd install src/sockd/sdc debian/hpsockd/usr/sbin install src/sockd/usage src/sockd/log2ascii debian/hpsockd/usr/lib/hpsockd install -m 444 doc/*.html debian/hpsockd/usr/share/doc/hpsockd/html install -m 444 src/sockd/ChangeLog debian/hpsockd/usr/share/doc/hpsockd/changelog install -m 444 src/sockd/sockd.conf.debian debian/hpsockd/usr/share/doc/hpsockd/examples/hpsockd.conf install debian/init.d debian/hpsockd/etc/init.d/hpsockd dh_testdir dh_testroot dh_installdocs dh_installexamples dh_installmenu dh_installcron dh_installmanpages dh_installmanpages: warning: This program is deprecated, switch to dh_installman. dh_installinfo dh_installchangelogs #CHANGELOGS# dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'hpsockd' in '../hpsockd_0.17+nmu1_amd64.deb'. dpkg-deb: building package 'hpsockd-dbgsym' in '../hpsockd-dbgsym_0.17+nmu1_amd64.deb'. dpkg-genbuildinfo --build=any -O../hpsockd_0.17+nmu1_amd64.buildinfo dpkg-genchanges --build=any -O../hpsockd_0.17+nmu1_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/hpsockd-W9bZx0 /tmp/hpsockd-0.17+nmu1hazl2eth I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.9tVZx7jyGM... I: success in 377.1230 seconds md5: hpsockd-dbgsym_0.17+nmu1_amd64.deb: OK md5: hpsockd_0.17+nmu1_amd64.deb: OK sha1: hpsockd-dbgsym_0.17+nmu1_amd64.deb: OK sha1: hpsockd_0.17+nmu1_amd64.deb: OK sha256: hpsockd-dbgsym_0.17+nmu1_amd64.deb: OK sha256: hpsockd_0.17+nmu1_amd64.deb: OK Checksums: OK