=> Building security/scanssh Started : Friday, 20 APR 2018 at 07:02:44 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/scanssh XDG_CONFIG_HOME=/construction/security/scanssh HOME=/construction/security/scanssh TMPDIR="/tmp" PATH=/construction/security/scanssh/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/scanssh XDG_CONFIG_HOME=/construction/security/scanssh HOME=/construction/security/scanssh TMPDIR="/tmp" PATH=/construction/security/scanssh/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/scanssh/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/scanssh" EXAMPLESDIR="share/examples/scanssh" DATADIR="share/scanssh" WWWDIR="www/scanssh" ETCDIR="etc/scanssh" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/scanssh DOCSDIR=/usr/local/share/doc/scanssh EXAMPLESDIR=/usr/local/share/examples/scanssh WWWDIR=/usr/local/www/scanssh ETCDIR=/usr/local/etc/scanssh -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The scanssh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> scanssh-2.1_11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> scanssh-2.1_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of scanssh-2.1_11 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The scanssh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by scanssh-2.1_11 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The scanssh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by scanssh-2.1_11 for building => SHA256 Checksum OK for scanssh-2.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The scanssh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by scanssh-2.1_11 for building ===> Extracting for scanssh-2.1_11 => SHA256 Checksum OK for scanssh-2.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for scanssh-2.1_11 ===> Applying ports patches for scanssh-2.1_11 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> scanssh-2.1_11 depends on shared library: libdnet.so - not found ===> Installing existing package /packages/All/libdnet-1.12_1.txz Installing libdnet-1.12_1... Extracting libdnet-1.12_1: .......... done ===> scanssh-2.1_11 depends on shared library: libdnet.so - found (/usr/local/lib/libdnet.so) ===> Returning to build of scanssh-2.1_11 ===> scanssh-2.1_11 depends on shared library: libevent.so - not found ===> Installing existing package /packages/All/libevent-2.1.8_1.txz Installing libevent-2.1.8_1... `-- Installing libressl-2.6.4... `-- Extracting libressl-2.6.4: .......... done Extracting libevent-2.1.8_1: .......... done ===> scanssh-2.1_11 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so) ===> Returning to build of scanssh-2.1_11 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for scanssh-2.1_11 configure: loading site script /xports/Templates/config.site 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... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking build system type... x86_64-portbld-dragonfly5.0 checking host system type... x86_64-portbld-dragonfly5.0 checking for gcc... cc 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 cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for inet_aton... (cached) yes checking for inet_pton... yes checking for strsep... (cached) yes checking for getaddrinfo... (cached) yes checking for getnameinfo... (cached) yes checking for strlcpy... (cached) yes checking for strlcat... (cached) yes checking for arc4random... (cached) yes checking for MD5Update... no checking for warnx... (cached) yes checking for libpcap... yes checking for dnet-config... /usr/local/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... cpp checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/select.h... (cached) yes checking for fd_mask in sys/select.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for u_int64_t... yes checking for u_int32_t... (cached) yes checking for u_int16_t... (cached) yes checking for u_int8_t... (cached) 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... bad byte order checking for sin_len in struct sockaddr_in... yes 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... (cached) yes checking for select... (cached) yes checking for socket... yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strtol... (cached) yes checking for seteuid... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for scanssh-2.1_11 --- scanssh.o --- --- atomicio.o --- --- exclude.o --- --- connecter.o --- --- xmalloc.o --- --- scanssh.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c scanssh.c --- atomicio.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c atomicio.c --- exclude.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c exclude.c --- connecter.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c connecter.c --- xmalloc.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c xmalloc.c --- interface.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c interface.c --- scanssh.o --- 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); ^ --- connecter.o --- In file included from /usr/local/include/event.h:72:0, from connecter.c:51: connecter.c: In function 'ssh_process_line': /usr/local/include/event2/buffer_compat.h:112:26: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) ^ connecter.c:236:13: note: in expansion of macro 'EVBUFFER_DATA' char *p = EVBUFFER_DATA(input); ^ connecter.c:253:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = EVBUFFER_DATA(input); ^ --- socks.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c socks.c --- http.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c http.c --- socks.o --- 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/local/include/event.h:72:0, from socks.c:47: /usr/local/include/event2/buffer_compat.h:107: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) { ^ In file included from /usr/local/include/event.h:72:0, from socks.c:47: /usr/local/include/event2/buffer_compat.h:112:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) ^ socks.c:196:15: note: in expansion of macro 'EVBUFFER_DATA' if (strlen(EVBUFFER_DATA(input)) == 0) { ^ In file included from socks.c:43:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ 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/local/include/event.h:72:0, from socks.c:47: /usr/local/include/event2/buffer_compat.h:107: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/local/include/event.h:72:0, from socks.c:47: /usr/local/include/event2/buffer_compat.h:107: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.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c telnet.c --- md5.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -g -c md5.c --- http.o --- 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/local/include/event.h:72:0, from http.c:46: /usr/local/include/event2/buffer_compat.h:107: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) { ^ In file included from /usr/local/include/event.h:72:0, from http.c:46: /usr/local/include/event2/buffer_compat.h:112:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) ^ http.c:100:14: note: in expansion of macro 'EVBUFFER_DATA' if (strlen(EVBUFFER_DATA(input)) == 0) { ^ In file included from http.c:43:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ In file included from /usr/local/include/event.h:72:0, from http.c:46: /usr/local/include/event2/buffer_compat.h:112:26: warning: pointer targets in passing argument 1 of 'http_response' differ in signedness [-Wpointer-sign] #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) ^ http.c:111:22: note: in expansion of macro 'EVBUFFER_DATA' 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/local/include/event.h:72:0, from http.c:46: /usr/local/include/event2/buffer_compat.h:107: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" ^ --- md5.o --- 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 '' 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 '' 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 '' 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 '' 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 '' 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 '' 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 '' 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 */ ^ --- telnet.o --- 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/local/include/event.h:72:0, from telnet.c:47: /usr/local/include/event2/buffer_compat.h:107: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/local/include/event.h:72:0, from telnet.c:47: /usr/local/include/event2/buffer_compat.h:107: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/local/include/event.h:72:0, from telnet.c:47: /usr/local/include/event2/buffer_compat.h:107: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/local/include/event.h:72:0, from telnet.c:47: /usr/local/include/event2/buffer_compat.h:107: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': /usr/local/include/event2/buffer_compat.h:112:26: warning: pointer targets in passing argument 3 of 'printres' differ in signedness [-Wpointer-sign] #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) ^ telnet.c:179:8: note: in expansion of macro 'EVBUFFER_DATA' 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/local/include/event.h:72:0, from telnet.c:47: /usr/local/include/event2/buffer_compat.h:107: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); ^ --- scanssh --- cc -pipe -O2 -fno-strict-aliasing -Wall -g -o scanssh scanssh.o atomicio.o exclude.o connecter.o xmalloc.o interface.o socks.o http.o telnet.o md5.o -lpcap -L/usr/local/lib -levent -L/usr/local/lib -ldnet -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for scanssh-2.1_11 ===> Generating temporary packing list install -s -m 555 /construction/security/scanssh/scanssh-2.1/scanssh /construction/security/scanssh/stage/usr/local/bin install -m 444 /construction/security/scanssh/scanssh-2.1/scanssh.1 /construction/security/scanssh/stage/usr/local/man/man1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for scanssh-2.1_11 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 20 APR 2018 at 07:02:58 UTC Duration: 00:00:14