==> Creating clean working copy [build]...done ==> Making package: scanssh 2.1.1-2 (Fri Mar 24 16:35:28 UTC 2017) ==> Retrieving sources... -> Found scanssh-2.1.1.tar.gz -> Found config.guess-for-aarch64.patch ==> Validating source files with sha512sums... scanssh-2.1.1.tar.gz ... Passed config.guess-for-aarch64.patch ... Passed ==> Making package: scanssh 2.1.1-2 (Fri Mar 24 16:35:29 UTC 2017) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (15) dbus-1.10.16-1 hwids-20161103-1 iptables-1.6.0-1 kbd-2.0.4-1 kmod-24-1 libelf-0.168-1 libmnl-1.0.4-1 libnftnl-1.0.7-1 libnl-3.2.29-2 libseccomp-2.3.2-1 libusb-1.0.21-1 systemd-232-8 libdnet-1.12-9 libevent-2.0.22-2 libpcap-1.8.1-2 Total Installed Size: 30.82 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libevent... Optional dependencies for libevent python2: to use event_rpcgen.py installing libnl... installing dbus... installing libmnl... installing libnftnl... installing iptables... installing kbd... installing kmod... installing hwids... installing libelf... installing libseccomp... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group systemd-journal-remote with gid 999. Creating user systemd-journal-remote (systemd Journal Remote) with uid 999 and gid 999. Creating group systemd-journal-upload with gid 998. Creating user systemd-journal-upload (systemd Journal Upload) with uid 998 and gid 998. Creating group systemd-coredump with gid 997. Creating user systemd-coredump (systemd Core Dumper) with uid 997 and gid 997. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service -> /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target -> /usr/lib/systemd/system/remote-fs.target. :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd, or install systemd-sysvcompat Optional dependencies for systemd cryptsetup: required for encrypted block devices libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user installing libusb... installing libpcap... installing libdnet... Optional dependencies for libdnet python2 :: Running post-transaction hooks... (1/4) Updating udev hardware database... (2/4) Updating system user accounts... (3/4) Creating temporary files... (4/4) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found scanssh-2.1.1.tar.gz -> Found config.guess-for-aarch64.patch ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... scanssh-2.1.1.tar.gz ... Passed config.guess-for-aarch64.patch ... Passed ==> Extracting sources... -> Extracting scanssh-2.1.1.tar.gz with bsdtar ==> Starting prepare()... patching file config.guess patching file config.sub ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /build/scanssh/src/scanssh-2.1.1/missing: Unknown `--is-lightweight' option Try `/build/scanssh/src/scanssh-2.1.1/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none 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... no 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for fd_mask in sys/select.h... 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 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory '/build/scanssh/src/scanssh-2.1.1' gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c scanssh.c scanssh.c: In function 'generate_random': scanssh.c:792:19: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&ctx, seed, strlen(seed)); ^~~~ In file included from scanssh.c:56:0: ./compat/md5.h:20:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); ^~~~~~~~~ scanssh.c: In function 'ports_parse': scanssh.c:1405:2: warning: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] strlcpy(buf, argument, sizeof(buf)); ^~~~~~~ scanssh.c: In function 'main': scanssh.c:1180:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^~~~~~~~~~~~~~~~~ scanssh.c:1182:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c atomicio.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c exclude.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c connecter.c connecter.c: In function 'ssh_process_line': connecter.c:236:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *p = EVBUFFER_DATA(input); ^~~~~~~~~~~~~ connecter.c:253:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = EVBUFFER_DATA(input); ^ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c xmalloc.c xmalloc.c: In function 'xstrdup': xmalloc.c:72:2: warning: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] strlcpy(cp, str, len); ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c interface.c interface.c: In function 'interface_new': interface.c:104:2: warning: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] strlcpy(inter->if_ent.intf_name, dev, sizeof(inter->if_ent.intf_name)); ^~~~~~~ interface.c: In function 'interface_expandips': interface.c:254:8: warning: implicit declaration of function 'strlcat' [-Wimplicit-function-declaration] if (strlcat(filter, " or ", sizeof(filter)) >= sizeof(filter)) ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c socks.c socks.c: In function 'socks_bufferanalyse': socks.c:190:36: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] while ((p = evbuffer_find(input, "\n", 1)) != NULL) { ^~~~ In file included from /usr/include/event.h:74:0, from socks.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ socks.c:190:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((p = evbuffer_find(input, "\n", 1)) != NULL) { ^ socks.c:196:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(EVBUFFER_DATA(input)) == 0) { ^~~~~~~~~~~~~ In file included from socks.c:43:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ socks.c:211:27: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] if (evbuffer_find(input, "\r\n", 2) == NULL) ^~~~~~ In file included from /usr/include/event.h:74:0, from socks.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ socks.c:214:27: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] if (evbuffer_find(input, socks->word, strlen(socks->word)) != NULL) { ^~~~~ In file included from /usr/include/event.h:74:0, from socks.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c http.c http.c: In function 'http_getheaders': http.c:94:35: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] while ((p = evbuffer_find(input, "\n", 1)) != NULL) { ^~~~ In file included from /usr/include/event.h:74:0, from http.c:46: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ http.c:94:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((p = evbuffer_find(input, "\n", 1)) != NULL) { ^ http.c:100:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(EVBUFFER_DATA(input)) == 0) { ^~~~~~~~~~~~~ In file included from http.c:43:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:111:22: warning: pointer targets in passing argument 1 of 'http_response' differ in signedness [-Wpointer-sign] if (http_response(EVBUFFER_DATA(input)) == -1) { ^~~~~~~~~~~~~ http.c:78:1: note: expected 'char *' but argument is of type 'unsigned char *' http_response(char *line) ^~~~~~~~~~~~~ http.c: In function 'http_bufferanalyse': http.c:140:28: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] if (evbuffer_find(input, "\r\n", 2) == NULL) ^~~~~~ In file included from /usr/include/event.h:74:0, from http.c:46: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ http.c: In function 'http_makeconnect': http.c:177:6: warning: too many arguments for format [-Wformat-extra-args] "CONNECT %s:80 HTTP/1.0\r\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c telnet.c telnet.c: In function 'telnet_makeconnect': telnet.c:80:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] #define CCPROXY "CCProxy Telnet>" ^ telnet.c:95:27: note: in expansion of macro 'CCPROXY' if (evbuffer_find(input, CCPROXY, strlen(CCPROXY)) != NULL) { ^~~~~~~ In file included from /usr/include/event.h:74:0, from telnet.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ telnet.c:81:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] #define GATEWAY1 "host_name:port" ^ telnet.c:102:34: note: in expansion of macro 'GATEWAY1' } else if (evbuffer_find(input, GATEWAY1, strlen(GATEWAY1)) != NULL) { ^~~~~~~~ In file included from /usr/include/event.h:74:0, from telnet.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ telnet.c:82:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] #define GATEWAY2 "host[:port]:" ^ telnet.c:109:34: note: in expansion of macro 'GATEWAY2' } else if (evbuffer_find(input, GATEWAY2, strlen(GATEWAY2)) != NULL) { ^~~~~~~~ In file included from /usr/include/event.h:74:0, from telnet.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ telnet.c:83:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] #define WINGATE "WinGate>" ^ telnet.c:120:34: note: in expansion of macro 'WINGATE' } else if (evbuffer_find(input, WINGATE, strlen(WINGATE)) != NULL) { ^~~~~~~ In file included from /usr/include/event.h:74:0, from telnet.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ telnet.c: In function 'telnet_readcb': telnet.c:179:8: warning: pointer targets in passing argument 3 of 'printres' differ in signedness [-Wpointer-sign] EVBUFFER_DATA(input)); ^~~~~~~~~~~~~ In file included from telnet.c:50:0: scanssh.h:134:6: note: expected 'char *' but argument is of type 'unsigned char *' void printres(struct argument *, uint16_t, char *); ^~~~~~~~ telnet.c:187:28: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] if (evbuffer_find(input, state->connect_wait, ^~~~~ In file included from /usr/include/event.h:74:0, from telnet.c:47: /usr/include/event2/buffer_compat.h:102:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c strlcpy.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c strlcat.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c arc4random.c arc4random.c: In function 'arc4random': arc4random.c:19:11: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] srandom(time(NULL)); ^~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c md5.c md5.c: In function 'MD5Update': md5.c:104:4: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(p, buf, len); ^~~~~~ md5.c:104:4: warning: incompatible implicit declaration of built-in function 'memcpy' md5.c:104:4: note: include '<string.h>' or provide a declaration of 'memcpy' md5.c:107:3: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(p, buf, t); ^~~~~~ md5.c:107:3: note: include '<string.h>' or provide a declaration of 'memcpy' md5.c:116:3: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(ctx->in, buf, 64); ^~~~~~ md5.c:116:3: note: include '<string.h>' or provide a declaration of 'memcpy' md5.c:124:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(ctx->in, buf, len); ^~~~~~ md5.c:124:2: note: include '<string.h>' or provide a declaration of 'memcpy' md5.c: In function 'MD5Final': md5.c:153:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(p, 0, count); ^~~~~~ md5.c:153:3: warning: incompatible implicit declaration of built-in function 'memset' md5.c:153:3: note: include '<string.h>' or provide a declaration of 'memset' md5.c:160:3: warning: incompatible implicit declaration of built-in function 'memset' memset(p, 0, count-8); ^~~~~~ md5.c:160:3: note: include '<string.h>' or provide a declaration of 'memset' md5.c:172:2: warning: incompatible implicit declaration of built-in function 'memset' memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^~~~~~ md5.c:172:2: note: include '<string.h>' or provide a declaration of 'memset' md5.c:172:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ gcc -O2 -Wall -g -Wl,-O1,--sort-common,--as-needed,-z,relro -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 -L/usr/lib -ldnet make[1]: Leaving directory '/build/scanssh/src/scanssh-2.1.1' ==> Entering fakeroot environment... ==> Starting package()... make[1]: Entering directory '/build/scanssh/src/scanssh-2.1.1' /usr/bin/mkdir -p '/build/scanssh/pkg/scanssh/usr/bin' /usr/bin/install -c scanssh '/build/scanssh/pkg/scanssh/usr/bin' /usr/bin/mkdir -p '/build/scanssh/pkg/scanssh/usr/share/man/man1' /usr/bin/install -c -m 644 scanssh.1 '/build/scanssh/pkg/scanssh/usr/share/man/man1' make[1]: Leaving directory '/build/scanssh/src/scanssh-2.1.1' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "scanssh"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... error: invalid option '--noprogressbar' -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: scanssh 2.1.1-2 (Fri Mar 24 16:36:07 UTC 2017) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... :: glib2 optionally requires libelf: gresource inspection tool Packages (15) dbus-1.10.16-1 hwids-20161103-1 iptables-1.6.0-1 kbd-2.0.4-1 kmod-24-1 libdnet-1.12-9 libelf-0.168-1 libevent-2.0.22-2 libmnl-1.0.4-1 libnftnl-1.0.7-1 libnl-3.2.29-2 libpcap-1.8.1-2 libseccomp-2.3.2-1 libusb-1.0.21-1 systemd-232-8 Total Removed Size: 30.82 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libpcap... removing libusb... removing systemd... removing libseccomp... removing libnl... removing libevent... removing libelf... removing libdnet... removing kmod... removing kbd... removing iptables... removing libnftnl... removing libmnl... removing hwids... removing dbus...