Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/netcat/netcat_1.10-46_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/netcat-1.10-46yqttz1sx/netcat_1.10-46_amd64.buildinfo Get source package info: netcat=1.10-46 Source URL: http://snapshot.notset.fr/mr/package/netcat/1.10-46/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-7 binutils=2.35-2 binutils-common=2.35-2 binutils-x86-64-linux-gnu=2.35-2 bsdextrautils=2.36-3 bsdutils=1:2.36-2 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-5 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11.1 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-5 gcc=4:10.1.0-1 gcc-10=10.2.0-5 gcc-10-base=10.2.0-5 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-5 libatomic1=10.2.0-5 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35-2 libblkid1=2.36-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-3 libc-dev-bin=2.31-3 libc6=2.31-3 libc6-dev=2.31-3 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-5 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35-2 libctf0=2.35-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdpkg-perl=1.20.5 libelf1=0.180-1+b1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-5 libgcc-s1=10.2.0-5 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.64.4-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-5 libgpg-error0=1.38-2 libicu67=67.1-4 libisl22=0.22.1-1 libitm1=10.2.0-5 liblsan0=10.2.0-5 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-2 libmpc3=1.2.0~rc1-1 libmpfr6=4.1.0-3 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libquadmath0=10.2.0-5 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsmartcols1=2.36-2 libstdc++-10-dev=10.2.0-5 libstdc++6=10.2.0-5 libsub-override-perl=0.09-2 libsystemd0=246.2-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.2.0-5 libubsan1=10.2.0-5 libuchardet0=0.0.7-1 libudev1=246.2-1 libunistring2=0.9.10-4 libuuid1=2.36-2 libxml2=2.9.10+dfsg-5+b1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.7.17-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-4 tar=1.30+dfsg-7 util-linux=2.36-2 xz-utils=5.2.4-1+b1 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/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200924T084650Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200829T084349Z/ 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 netcat=1.10-46 && mkdir -p /build/netcat-39dq1i && dpkg-source --no-check -x /*.dsc /build/netcat-39dq1i/netcat-1.10 && chown -R builduser:builduser /build/netcat-39dq1i" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/netcat-39dq1i/netcat-1.10 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1598740038" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/netcat-39dq1i /tmp/netcat-1.10-46yqttz1sx bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200829T084349Z 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.MnxSAOiMrL 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.MnxSAOiMrL Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-2). 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, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200829T084349Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200829T084349Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1051 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 ... 4577 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-3) ... 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/20200924T084650Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200829T084349Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.MnxSAOiMrL Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200924T084650Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200829T084349Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20200924T084650Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200924T084650Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200924T084650Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200924T084650Z unstable/main amd64 Packages [11.4 MB] Fetched 34.1 MB in 29s (1194 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.MnxSAOiMrL I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d netcat=1.10-46 && mkdir -p /build/netcat-39dq1i && dpkg-source --no-check -x /*.dsc /build/netcat-39dq1i/netcat-1.10 && chown -R builduser:builduser /build/netcat-39dq1i"' exec /tmp/mmdebstrap.MnxSAOiMrL Reading package lists... NOTICE: 'netcat' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/netcat.git Please use: git clone https://salsa.debian.org/debian/netcat.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 87.0 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main netcat 1.10-46 (dsc) [1922 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main netcat 1.10-46 (tar) [64.4 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main netcat 1.10-46 (diff) [20.7 kB] Fetched 87.0 kB in 0s (887 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'netcat_1.10-46.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting netcat in /build/netcat-39dq1i/netcat-1.10 dpkg-source: info: unpacking netcat_1.10.orig.tar.bz2 dpkg-source: info: unpacking netcat_1.10-46.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying unstripped.patch dpkg-source: info: applying glibc-resolv-h.patch dpkg-source: info: applying arm-timer.patch dpkg-source: info: applying posix-setjmp.patch dpkg-source: info: applying no-sleep-punt.patch dpkg-source: info: applying single-verbose.patch dpkg-source: info: applying use-getservbyport.patch dpkg-source: info: applying read-overflow.patch dpkg-source: info: applying inet-aton.patch dpkg-source: info: applying udp-broadcast.patch dpkg-source: info: applying quit.patch dpkg-source: info: applying dash-port.patch dpkg-source: info: applying sh-c.patch dpkg-source: info: applying tos.patch dpkg-source: info: applying rservice-buf.patch dpkg-source: info: applying so-keepalive.patch dpkg-source: info: applying nodup-stderr.patch dpkg-source: info: applying help-exit-failure.patch dpkg-source: info: applying select-nfds.patch dpkg-source: info: applying proxy-doc.patch dpkg-source: info: applying 655881-Makefile-LDFLAGS.patch dpkg-source: info: applying 655881-netcat.c.format.patch dpkg-source: info: applying 545579-send-crlf.patch dpkg-source: info: applying no-static.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/netcat-39dq1i/netcat-1.10 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1598740038" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.MnxSAOiMrL dpkg-buildpackage: info: source package netcat dpkg-buildpackage: info: source version 1.10-46 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Chris Hofstaedtler dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/netcat-39dq1i/netcat-1.10' rm -f nc *.o *.obj make[1]: Leaving directory '/build/netcat-39dq1i/netcat-1.10' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a debian/rules override_dh_auto_build-arch make[1]: Entering directory '/build/netcat-39dq1i/netcat-1.10' make linux \ CC="x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/netcat-39dq1i/netcat-1.10=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro -Wl,-z,now" STATIC='' \ DFLAGS='-DLINUX -DTELNET -DGAPING_SECURITY_HOLE -DIP_TOS -DDEBIAN_VERSION=\"1.10-46\"' make[2]: Entering directory '/build/netcat-39dq1i/netcat-1.10' make -e nc -w XFLAGS='-DLINUX' STATIC= make[3]: Entering directory '/build/netcat-39dq1i/netcat-1.10' x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/netcat-39dq1i/netcat-1.10=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DLINUX -DTELNET -DGAPING_SECURITY_HOLE -DIP_TOS -DDEBIAN_VERSION=\"1.10-46\" -DLINUX -o nc netcat.c netcat.c:33:26: warning: "/*" within comment [-Wcomment] 33 | /* #undef _POSIX_SOURCE /* might need this for something? */ | netcat.c:36:19: warning: "/*" within comment [-Wcomment] 36 | /* #define ANAL /* if you want case-sensitive DNS matching */ | netcat.c:62:26: warning: "/*" within comment [-Wcomment] 62 | /* #define POSIX_SETJMP /* If you want timeouts to work under the */ | netcat.c:609:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 609 | doexec (fd) | ^~~~~~ netcat.c: In function ‘dolisten’: netcat.c:877:46: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 877 | rr = getsockname (nnetfd, (SA *) lclend, &x); | ^~ | | | int * In file included from netcat.c:73: /usr/include/x86_64-linux-gnu/sys/socket.h:117:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ netcat.c:904:56: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 904 | (nnetfd, bigbuf_net, BIGSIZ, MSG_PEEK, (SA *) remend, &x); | ^~ | | | int * In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from netcat.c:73: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ netcat.c:929:40: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 929 | rr = accept (nnetfd, (SA *)remend, &x); | ^~ | | | int * In file included from netcat.c:73: /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 ‘int *’ 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ netcat.c:956:60: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] 956 | rr = getsockopt (nnetfd, IPPROTO_IP, IP_OPTIONS, optbuf, &x); | ^~ | | | int * In file included from netcat.c:73: /usr/include/x86_64-linux-gnu/sys/socket.h:210:32: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ netcat.c:983:44: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 983 | rr = getsockname (nnetfd, (SA *) lclend, &x); | ^~ | | | int * In file included from netcat.c:73: /usr/include/x86_64-linux-gnu/sys/socket.h:117:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ netcat.c: At top level: netcat.c:1032:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1032 | udptest (fd, where) | ^~~~~~~ netcat.c: In function ‘oprint’: netcat.c:1127:14: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1127 | sprintf (&stage[2], "%8.8x ", obc); /* xxx: still slow? */ | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from netcat.c:39: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ netcat.c: In function ‘unescape’: netcat.c:1409:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1409 | while (next = strstr (next+1, "\\-")) { | ^~~~ netcat.c:1412:10: warning: operation on ‘p’ may be undefined [-Wsequence-point] 1412 | *(p++) = *(p+1); | ~~^~~ netcat.c: At top level: netcat.c:1421:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1421 | main (argc, argv) | ^~~~ netcat.c: In function ‘main’: netcat.c:1557:2: warning: implicit declaration of function ‘helpme’ [-Wimplicit-function-declaration] 1557 | helpme(); /* exits by itself */ | ^~~~~~ netcat.c:1637:12: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 1637 | SRAND (time (0)); | ^~~~ netcat.c:1648:17: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign] 1648 | ofd = open (stage, O_WRONLY | O_CREAT | O_TRUNC, 0664); | ^~~~~ | | | unsigned char * In file included from /usr/include/fcntl.h:301, from netcat.c:83: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:41:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ netcat.c: At top level: netcat.c:1801:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1801 | helpme() | ^~~~~~ netcat.c: In function ‘doexec’: netcat.c:632:1: warning: control reaches end of non-void function [-Wreturn-type] 632 | } /* doexec */ | ^ netcat.c: In function ‘atelnet’: netcat.c:1189:14: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1189 | (void) write (netfd, obuf, 3); | ^~~~~~~~~~~~~~~~~~~~~~ netcat.c: In function ‘readwrite’: netcat.c:1362:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1362 | write (fd, "\r\n", 2); /* \r\n */ | ^~~~~~~~~~~~~~~~~~~~~ netcat.c: In function ‘helpme’: netcat.c:1848:1: warning: control reaches end of non-void function [-Wreturn-type] 1848 | } /* helpme */ | ^ netcat.c: In function ‘comparehosts’: netcat.c:337:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] 337 | int comparehosts (poop, hp) | ^~~~~~~~~~~~ netcat.c:337:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:337:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:337:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c: In function ‘gethostpoop’: netcat.c:362:8: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] 362 | HINF * gethostpoop (name, numeric) | ^~~~~~~~~~~ netcat.c:362:8: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:362:8: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from /usr/include/string.h:495, from netcat.c:80: In function ‘strncpy’, inlined from ‘getportpoop’ at netcat.c:511:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘getportpoop’ at netcat.c:492:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netcat.c: In function ‘getportpoop’: netcat.c:463:8: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] 463 | USHORT getportpoop (pstring, pnum) | ^~~~~~~~~~~ netcat.c:463:8: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:463:8: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:463:8: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c: In function ‘doconnect’: netcat.c:642:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] 642 | int doconnect (rad, rp, lad, lp) | ^~~~~~~~~ netcat.c:642:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:642:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c: In function ‘dolisten’: netcat.c:839:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] 839 | int dolisten (rad, rp, lad, lp) | ^~~~~~~~ netcat.c:839:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:839:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c: In function ‘udptest’: netcat.c:1032:1: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1032 | udptest (fd, where) | ^~~~~~~ netcat.c:1032:1: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1032:1: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1032:1: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1032:1: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c: In function ‘readwrite’: netcat.c:1202:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1202 | int readwrite (fd) | ^~~~~~~~~ netcat.c:1202:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p4’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p5’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1202:5: warning: ‘p6’ may be used uninitialized in this function [-Wmaybe-uninitialized] netcat.c:1207:19: warning: ‘np’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1207 | register char * np; /* net-in buf ptr */ | ^~ netcat.c:321:20: warning: ‘zp’ may be used uninitialized in this function [-Wmaybe-uninitialized] 321 | x = (int) (p - buf); | ~~~^~~~~~ netcat.c:1206:19: note: ‘zp’ was declared here 1206 | register char * zp; /* stdin buf ptr */ | ^~ make[3]: Leaving directory '/build/netcat-39dq1i/netcat-1.10' make[2]: Leaving directory '/build/netcat-39dq1i/netcat-1.10' make[1]: Leaving directory '/build/netcat-39dq1i/netcat-1.10' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_installdirs -a debian/rules override_dh_auto_install-arch make[1]: Entering directory '/build/netcat-39dq1i/netcat-1.10' install -m 0755 nc /build/netcat-39dq1i/netcat-1.10/debian/netcat-traditional/bin/nc.traditional cp debian/man/nc.1 /build/netcat-39dq1i/netcat-1.10/debian/netcat-traditional/usr/share/man/man1/nc.traditional.1 make[1]: Leaving directory '/build/netcat-39dq1i/netcat-1.10' dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'netcat-traditional' in '../netcat-traditional_1.10-46_amd64.deb'. dpkg-deb: building package 'netcat-traditional-dbgsym' in '../netcat-traditional-dbgsym_1.10-46_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../netcat_1.10-46_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/netcat-39dq1i /tmp/netcat-1.10-46yqttz1sx I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.MnxSAOiMrL... I: success in 277.1791 seconds md5: netcat-traditional-dbgsym_1.10-46_amd64.deb: OK md5: netcat-traditional_1.10-46_amd64.deb: OK sha1: netcat-traditional-dbgsym_1.10-46_amd64.deb: OK sha1: netcat-traditional_1.10-46_amd64.deb: OK sha256: netcat-traditional-dbgsym_1.10-46_amd64.deb: OK sha256: netcat-traditional_1.10-46_amd64.deb: OK Checksums: OK