Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/s/scanssh/scanssh_2.0-4.2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/scanssh-2.0-4.20yunwekf/scanssh_2.0-4.2_amd64.buildinfo Get source package info: scanssh=2.0-4.2 Source URL: http://snapshot.notset.fr/mr/package/scanssh/2.0-4.2/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.3 autopoint=0.21-6 autotools-dev=20220109.1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6 binutils=2.38-3 binutils-common=2.38-3 binutils-x86-64-linux-gnu=2.38-3 bsdextrautils=2.37.3-1+b1 bsdutils=1:2.37.3-1+b1 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-19 dash=0.5.11+git20210903+057cd650a4ed-8 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.7 dpkg-dev=1.21.7 dwz=0.14-1 file=1:5.41-3 findutils=4.9.0-2 g++=4:11.2.0-2 g++-11=11.2.0-19 gcc=4:11.2.0-2 gcc-11=11.2.0-19 gcc-11-base=11.2.0-19 gcc-12-base=12-20220319-1 gettext=0.21-6 gettext-base=0.21-6 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-19 libatomic1=12-20220319-1 libattr1=1:2.5.1-1 libaudit-common=1:3.0.7-1 libaudit1=1:3.0.7-1+b1 libbinutils=2.38-3 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+b2 libcap2=1:2.44-1 libcc1-0=12-20220319-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-3 libctf0=2.38-3 libdb5.3=5.3.28+dfsg1-0.8 libdbus-1-3=1.14.0-1 libdbus-1-dev=1.14.0-1 libdebconfclient0=0.261 libdebhelper-perl=13.6 libdpkg-perl=1.21.7 libdumbnet-dev=1.14-2 libdumbnet1=1.14-2 libelf1=0.186-1 libevent-2.1-7=2.1.12-stable-3 libevent-core-2.1-7=2.1.12-stable-3 libevent-dev=2.1.12-stable-3 libevent-extra-2.1-7=2.1.12-stable-3 libevent-openssl-2.1-7=2.1.12-stable-3 libevent-pthreads-2.1-7=2.1.12-stable-3 libffi8=3.4.2-4 libfile-stripnondeterminism-perl=1.13.0-1 libgcc-11-dev=11.2.0-19 libgcc-s1=12-20220319-1 libgcrypt20=1.10.1-2 libgdbm-compat4=1.23-1 libgdbm6=1.23-1 libglib2.0-0=2.72.0-1+b1 libgmp10=2:6.2.1+dfsg-3 libgomp1=12-20220319-1 libgpg-error0=1.43-3 libgssapi-krb5-2=1.19.2-2+b1 libicu67=67.1-7 libisl23=0.24-2 libitm1=12-20220319-1 libk5crypto3=1.19.2-2+b1 libkeyutils1=1.6.1-3 libkrb5-3=1.19.2-2+b1 libkrb5support0=1.19.2-2+b1 liblsan0=12-20220319-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-3 libmagic1=1:5.41-3 libmount1=2.37.3-1+b1 libmpc3=1.2.1-2 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 libpcap0.8=1.10.1-4 libpcap0.8-dev=1.10.1-4 libpcre2-8-0=10.39-3 libpcre3=2:8.39-14 libperl5.34=5.34.0-3 libpipeline1=1.5.5-1 libquadmath0=12-20220319-1 libseccomp2=2.5.3-2 libselinux1=3.3-1+b2 libsigsegv2=2.14-1 libsmartcols1=2.37.3-1+b1 libssl1.1=1.1.1n-1 libstdc++-11-dev=11.2.0-19 libstdc++6=12-20220319-1 libsub-override-perl=0.09-2 libsystemd0=250.4-1 libtinfo6=6.3-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.7-3 libtsan0=11.2.0-19 libubsan1=12-20220319-1 libuchardet0=0.0.7-1 libudev1=250.4-1 libunistring2=1.0-1 libuuid1=2.37.3-1+b1 libxml2=2.9.13+dfsg-1 libzstd1=1.4.10+dfsg-1 linux-libc-dev=5.16.18-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.2-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 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sgml-base=1.30 sysvinit-utils=3.01-1 tar=1.34+dfsg-1 util-linux=2.37.3-1+b1 xml-core=0.18+nmu1 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-4 --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/20220413T031740Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220413T031740Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220408T211210Z/ 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 scanssh=2.0-4.2 && mkdir -p /build/scanssh-zkxXME && dpkg-source --no-check -x /*.dsc /build/scanssh-zkxXME/scanssh-2.0 && chown -R builduser:builduser /build/scanssh-zkxXME" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/scanssh-zkxXME/scanssh-2.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1649191808" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/scanssh-zkxXME /tmp/scanssh-2.0-4.20yunwekf bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220408T211210Z 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.ixX6arXsf8 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.ixX6arXsf8 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/20220408T211210Z unstable/main amd64 libfakeroot amd64 1.28-1 [48.2 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z 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 (1049 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 ... 4701 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/20220413T031740Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220413T031740Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220408T211210Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ixX6arXsf8 Get:1 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm InRelease [130 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main Sources [12.0 MB] Get:4 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main amd64 Packages [11.4 MB] Fetched 23.5 MB in 20s (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.ixX6arXsf8 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d scanssh=2.0-4.2 && mkdir -p /build/scanssh-zkxXME && dpkg-source --no-check -x /*.dsc /build/scanssh-zkxXME/scanssh-2.0 && chown -R builduser:builduser /build/scanssh-zkxXME"' exec /tmp/mmdebstrap.ixX6arXsf8 Reading package lists... Need to get 91.1 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main scanssh 2.0-4.2 (dsc) [1694 B] Get:2 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main scanssh 2.0-4.2 (tar) [85.7 kB] Get:3 http://snapshot.notset.fr/archive/debian/20220413T031740Z bookworm/main scanssh 2.0-4.2 (diff) [3760 B] Fetched 91.1 kB in 0s (1055 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'scanssh_2.0-4.2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting scanssh in /build/scanssh-zkxXME/scanssh-2.0 dpkg-source: info: unpacking scanssh_2.0.orig.tar.gz dpkg-source: info: applying scanssh_2.0-4.2.diff.gz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/scanssh-zkxXME/scanssh-2.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1649191808" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.ixX6arXsf8 dpkg-buildpackage: info: source package scanssh dpkg-buildpackage: info: source version 2.0-4.2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Joao Eriberto Mota Filho dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make distclean make[1]: Entering directory '/build/scanssh-zkxXME/scanssh-2.0' make[1]: *** No rule to make target 'distclean'. Stop. make[1]: Leaving directory '/build/scanssh-zkxXME/scanssh-2.0' make: [debian/rules:41: clean] Error 2 (ignored) rm -f config.log dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh_testdir # Add here commands to configure the package. ./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for inet_aton... yes checking for inet_pton... yes checking for strsep... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for strlcpy... no checking for strlcat... no checking for arc4random... no checking for MD5Update... no checking for warnx... yes checking for libpcap... yes checking for dnet-config... /usr/bin/dnet-config checking whether libdnet is a libdumbnet... yes checking for working addr_pton in libdnet... yes checking for libevent... yes checking for bufferevent in libevent... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for sys/select.h... yes checking for fd_mask in sys/select.h... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... (cached) yes checking for pid_t... yes checking for size_t... yes checking for u_int64_t... yes checking for u_int32_t... yes checking for u_int16_t... yes checking for u_int8_t... yes checking whether time.h and sys/time.h may both be included... yes checking for struct sockaddr_storage in sys/socket.h... yes checking for struct addrinfo in netdb.h... yes checking for timeradd in sys/time.h... yes checking for byte order of raw socket I/O... good byte order checking for sin_len in struct sockaddr_in... no checking for sa_family_t... yes checking for socklen_t... yes checking for NI_NUMERICHOST... yes checking for NI_MAXSERV... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for seteuid... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h touch configure-stamp dh_testdir # Add here commands to compile the package. /usr/bin/make make[1]: Entering directory '/build/scanssh-zkxXME/scanssh-2.0' gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c scanssh.c scanssh.c: In function ‘generate_random’: scanssh.c:779:33: warning: pointer targets in passing argument 2 of ‘MD5Update’ differ in signedness [-Wpointer-sign] 779 | MD5Update(&ctx, seed, strlen(seed)); | ^~~~ | | | char * In file included from scanssh.c:56: ./compat/md5.h:20:65: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 20 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); | ~~~~~~~~~~~~~~~~~~~~~^~~ scanssh.c: In function ‘ports_parse’: scanssh.c:1322:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration] 1322 | strlcpy(buf, argument, sizeof(buf)); | ^~~~~~~ | strncpy gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c atomicio.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c exclude.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c connecter.c connecter.c: In function ‘ssh_process_line’: connecter.c:223:27: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 223 | char *p = EVBUFFER_DATA(input); | ^~~~~~~~~~~~~ connecter.c:240:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 240 | p = EVBUFFER_DATA(input); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c xmalloc.c xmalloc.c: In function ‘xstrdup’: xmalloc.c:67:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration] 67 | strlcpy(cp, str, len); | ^~~~~~~ | strncpy gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c interface.c interface.c: In function ‘interface_new’: interface.c:97:17: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 97 | if ((dev = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from interface.c:54: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ interface.c:104:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration] 104 | strlcpy(inter->if_ent.intf_name, dev, sizeof(inter->if_ent.intf_name)); | ^~~~~~~ | strncpy interface.c: In function ‘interface_expandips’: interface.c:254:29: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration] 254 | if (strlcat(filter, " or ", sizeof(filter)) >= sizeof(filter)) | ^~~~~~~ | strncat gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c socks.c socks.c: In function ‘socks_bufferanalyse’: socks.c:190:50: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /usr/include/event.h:72, from socks.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:190:27: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ socks.c:196:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 196 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from socks.c:43: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ socks.c:211:34: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 211 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * In file included from /usr/include/event.h:72, from socks.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:214:39: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 214 | if (evbuffer_find(input, socks->word, strlen(socks->word)) != NULL) { | ~~~~~^~~~~~ | | | char * In file included from /usr/include/event.h:72, from socks.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c http.c http.c: In function ‘http_getheaders’: http.c:94:42: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /usr/include/event.h:72, from http.c:46: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c:94:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ http.c:100:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 100 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from http.c:43: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:111:43: warning: pointer targets in passing argument 1 of ‘http_response’ differ in signedness [-Wpointer-sign] 111 | if (http_response(EVBUFFER_DATA(input)) == -1) { | ^~~~~~~~~~~~~ | | | unsigned char * http.c:78:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 78 | http_response(char *line) | ~~~~~~^~~~ http.c: In function ‘http_bufferanalyse’: http.c:136:42: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 136 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * In file included from /usr/include/event.h:72, from http.c:46: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c: In function ‘http_makeconnect’: http.c:173:13: warning: too many arguments for format [-Wformat-extra-args] 173 | "CONNECT %s:80 HTTP/1.0\r\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c telnet.c telnet.c: In function ‘telnet_makeconnect’: telnet.c:80:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 80 | #define CCPROXY "CCProxy Telnet>" | ^~~~~~~~~~~~~~~~~ | | | char * telnet.c:95:34: note: in expansion of macro ‘CCPROXY’ 95 | if (evbuffer_find(input, CCPROXY, strlen(CCPROXY)) != NULL) { | ^~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:81:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 81 | #define GATEWAY1 "host_name:port" | ^~~~~~~~~~~~~~~~ | | | char * telnet.c:102:41: note: in expansion of macro ‘GATEWAY1’ 102 | } else if (evbuffer_find(input, GATEWAY1, strlen(GATEWAY1)) != NULL) { | ^~~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:82:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 82 | #define GATEWAY2 "host[:port]:" | ^~~~~~~~~~~~~~ | | | char * telnet.c:109:41: note: in expansion of macro ‘GATEWAY2’ 109 | } else if (evbuffer_find(input, GATEWAY2, strlen(GATEWAY2)) != NULL) { | ^~~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:83:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 83 | #define WINGATE "WinGate>" | ^~~~~~~~~~ | | | char * telnet.c:120:41: note: in expansion of macro ‘WINGATE’ 120 | } else if (evbuffer_find(input, WINGATE, strlen(WINGATE)) != NULL) { | ^~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c: In function ‘telnet_readcb’: telnet.c:179:29: warning: pointer targets in passing argument 3 of ‘printres’ differ in signedness [-Wpointer-sign] 179 | EVBUFFER_DATA(input)); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from telnet.c:50: scanssh.h:126:44: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 126 | void printres(struct argument *, uint16_t, char *); | ^~~~~~ telnet.c:187:47: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 187 | if (evbuffer_find(input, state->connect_wait, | ~~~~~^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c strlcpy.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c strlcat.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c arc4random.c arc4random.c: In function ‘arc4random’: arc4random.c:19:25: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 19 | srandom(time(NULL)); | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/include -I/usr/include -O2 -Wall -g -c md5.c md5.c: In function ‘MD5Update’: md5.c:104:25: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] 104 | memcpy(p, buf, len); | ^~~~~~ md5.c:33:1: note: include ‘’ or provide a declaration of ‘memcpy’ 32 | #include "md5.h" +++ |+#include 33 | md5.c:104:25: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 104 | memcpy(p, buf, len); | ^~~~~~ md5.c:104:25: note: include ‘’ or provide a declaration of ‘memcpy’ md5.c:107:17: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 107 | memcpy(p, buf, t); | ^~~~~~ md5.c:107:17: note: include ‘’ or provide a declaration of ‘memcpy’ md5.c:116:17: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 116 | memcpy(ctx->in, buf, 64); | ^~~~~~ md5.c:116:17: note: include ‘’ or provide a declaration of ‘memcpy’ md5.c:124:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 124 | memcpy(ctx->in, buf, len); | ^~~~~~ md5.c:124:9: note: include ‘’ or provide a declaration of ‘memcpy’ md5.c: In function ‘MD5Final’: md5.c:153:17: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 153 | memset(p, 0, count); | ^~~~~~ md5.c:153:17: note: include ‘’ or provide a declaration of ‘memset’ md5.c:153:17: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] md5.c:153:17: note: include ‘’ or provide a declaration of ‘memset’ md5.c:160:17: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] 160 | memset(p, 0, count-8); | ^~~~~~ md5.c:160:17: note: include ‘’ or provide a declaration of ‘memset’ md5.c:172:9: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^~~~~~ md5.c:172:9: note: include ‘’ or provide a declaration of ‘memset’ md5.c:172:30: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ gcc -O2 -Wall -g -o scanssh scanssh.o atomicio.o exclude.o connecter.o xmalloc.o interface.o socks.o http.o telnet.o strlcpy.o strlcat.o arc4random.o md5.o -L/usr/lib -lpcap -L/usr/lib -levent -ldumbnet make[1]: Leaving directory '/build/scanssh-zkxXME/scanssh-2.0' #/usr/bin/docbook-to-man debian/scanssh.sgml > scanssh.1 touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_clean -k dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) 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 dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) # Add here commands to install the package into debian/scanssh. /usr/bin/make install prefix=/build/scanssh-zkxXME/scanssh-2.0/debian/scanssh/usr make[1]: Entering directory '/build/scanssh-zkxXME/scanssh-2.0' make[2]: Entering directory '/build/scanssh-zkxXME/scanssh-2.0' /bin/sh ./mkinstalldirs /build/scanssh-zkxXME/scanssh-2.0/debian/scanssh/usr/bin /usr/bin/install -c scanssh /build/scanssh-zkxXME/scanssh-2.0/debian/scanssh/usr/bin/scanssh /usr/bin/make install-man1 make[3]: Entering directory '/build/scanssh-zkxXME/scanssh-2.0' /bin/sh ./mkinstalldirs /build/scanssh-zkxXME/scanssh-2.0/debian/scanssh/usr/share/man/man1 /usr/bin/install -c -m 644 ./scanssh.1 /build/scanssh-zkxXME/scanssh-2.0/debian/scanssh/usr/share/man/man1/scanssh.1 make[3]: Leaving directory '/build/scanssh-zkxXME/scanssh-2.0' make[2]: Leaving directory '/build/scanssh-zkxXME/scanssh-2.0' make[1]: Leaving directory '/build/scanssh-zkxXME/scanssh-2.0' dh_testdir dh_testroot dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installexamples dh_installexamples: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installmenu dh_installcron dh_installman dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installinfo dh_installinfo: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_link dh_strip dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms # You may want to make some executables suid here. dh_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'scanssh' in '../scanssh_2.0-4.2_amd64.deb'. dpkg-deb: building package 'scanssh-dbgsym' in '../scanssh-dbgsym_2.0-4.2_amd64.deb'. dpkg-genbuildinfo --build=any -O../scanssh_2.0-4.2_amd64.buildinfo dpkg-genchanges --build=any -O../scanssh_2.0-4.2_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/scanssh-zkxXME /tmp/scanssh-2.0-4.20yunwekf I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.ixX6arXsf8... I: success in 264.5031 seconds md5: scanssh-dbgsym_2.0-4.2_amd64.deb: OK md5: scanssh_2.0-4.2_amd64.deb: OK sha1: scanssh-dbgsym_2.0-4.2_amd64.deb: OK sha1: scanssh_2.0-4.2_amd64.deb: OK sha256: scanssh-dbgsym_2.0-4.2_amd64.deb: OK sha256: scanssh_2.0-4.2_amd64.deb: OK Checksums: OK