From nobody Fri Dec 16 20:39:51 2022 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NYgvW6zpRz1GQ1K for ; Fri, 16 Dec 2022 20:39:51 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NYgvW50Xjz3v6J; Fri, 16 Dec 2022 20:39:51 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671223191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=ZrpLxN27GhjKqQSJvsduk9PqmNOb59nDNcymronlFok=; b=axdU+TVvO+9e0xx+KzyO8vmQilx/ndw9K+zoAdiyBkdYidrVVRDh2L5gVv0JUREfiTl8ij 8Z088nQAOOG1BPCxWzm0Hr1gUjfq8F1FmUvK1MkboUTgg/paW6c/rHuHLvS5482Ym6f8f+ 0WJnADZ3gzmdXT5NiXZ3GksZQvEmQu5B0IG9Cg13KMH3+8wKrKHyEAlkXk7l5qGQN+HD3s J5Nx0LkRMGwm3yJe8pJHBnXHnDPjuaLT4JKBNYwk/Bt5S7GKUDg6oebwcMIVAjyrLCVsfU INpZd8gSFyLWDJPTKtwHRzWPFSzCpcwrHzTIUWIZCA2LJGEdsRU89YjyRHql5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671223191; a=rsa-sha256; cv=none; b=gIuAM5hyH2pttBOO7f3ITLZokKyxEsFP6+CxhEYTtP2k00stMtxdNnjT7Duo2gVCuM+uvc VnhRxmX1Qe4WKMClxvPNT+ES3Oo/gkl5+nbMWsMpPwghLwAGPvdON4n4Fd1vvAlylnUIoF SrfgOix1Vwhz5+g9p9LqJA+NSVBaczq6EXshi46TaGge+kwndZDLhGJLFX9yMawO3/9fiO YLip3OCFGKWySA73rdkMlilcKtcqdeyyZdKxl9vvbtsBAD3myz/Ys1UP2SMGXPFe84jRXE 5LVf0752hlC3jzKwgCYl9AWcVzfmBSFP5GN/D40gcwwpADkekMGhw/1axBLB2Q== Received: from beefy5.nyi.freebsd.org (beefy5.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NYgvW3xV8zR0f; Fri, 16 Dec 2022 20:39:51 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy5.nyi.freebsd.org (localhost [127.0.0.1]) by beefy5.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BGKdpKX017668; Fri, 16 Dec 2022 20:39:51 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy5.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 2BGKdpf0017667; Fri, 16 Dec 2022 20:39:51 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Fri, 16 Dec 2022 20:39:51 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202212162039.2BGKdpf0017667@beefy5.nyi.freebsd.org> To: sbz@FreeBSD.org Subject: [package - 123i386-default][security/dsniff] Failed for dsniff-2.4.b1_7 in build Cc: pkg-fallout@FreeBSD.org X-ThisMailContainsUnwantedMimeParts: N List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: sbz@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy5/data/123i386-default/f79db40f6c1d/logs/dsniff-2.4.b1_7.log Build URL: https://pkg-status.freebsd.org/beefy5/build.html?mastername=123i386-default&build=f79db40f6c1d Log: =>> Building security/dsniff build started at Fri Dec 16 20:33:40 UTC 2022 port directory: /usr/ports/security/dsniff package name: dsniff-2.4.b1_7 building for: FreeBSD 123i386-default-job-07 12.3-RELEASE-p10 FreeBSD 12.3-RELEASE-p10 i386 maintained by: sbz@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1203000 Job Id: 07 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1203000 UNAME_v=FreeBSD 12.3-RELEASE-p10 UNAME_r=12.3-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/123i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=123i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for dsniff-2.4.b1_7: X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- sbz@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-libnet=/usr/local --with-x --with-openssl=/wrkdirs/usr/ports/security/dsniff/work/libressl --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/dsniff/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/dsniff/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/dsniff/work/.cache HOME=/wrkdirs/usr/ports/security/dsniff/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/dsniff/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/dsniff/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/dsniff/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/dsniff/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/dsniff/work/.cache HOME=/wrkdirs/usr/ports/security/dsniff/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/dsniff/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/dsniff/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-nostdinc -I/usr/include -I/wrkdirs/usr/ports/security/dsniff/work/libressl/include" LDFLAGS=" -L/wrkdirs/usr/ports/security/dsniff/work/libressl/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-ali asing " 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" --End MAKE_ENV-- --PLIST_SUB-- X11="" NO_X11="@comment " GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dsniff" EXAMPLESDIR="share/examples/dsniff" DATADIR="share/dsniff" WWWDIR="www/dsniff" ETCDIR="etc/dsniff" --End PLIST_SUB-- --SUB_LIST-- X11="" NO_X11="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dsniff DOCSDIR=/usr/local/share/doc/dsniff EXAMPLESDIR=/usr/local/share/examples/dsniff WWWDIR=/usr/local/www/dsniff ETCDIR=/usr/local/etc/dsniff --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=12.3-RELEASE-p10 OSREL=12.3 OSVERSION=1203000 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===> dsniff-2.4.b1_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.0.pkg [123i386-default-job-07] Installing pkg-1.19.0... [123i386-default-job-07] Extracting pkg-1.19.0: .......... done ===> dsniff-2.4.b1_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dsniff-2.4.b1_7 =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by dsniff-2.4.b1_7 for building ===> License BSD4CLAUSE accepted by the user ===> Fetching all distfiles required by libressl-3.5.3 for building =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by dsniff-2.4.b1_7 for building ===> License BSD4CLAUSE accepted by the user ===> Fetching all distfiles required by libressl-3.5.3 for building => SHA256 Checksum OK for dsniff-2.4b1.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by dsniff-2.4.b1_7 for building ===> License BSD4CLAUSE accepted by the user ===> Fetching all distfiles required by libressl-3.5.3 for building ===> Extracting for dsniff-2.4.b1_7 => SHA256 Checksum OK for dsniff-2.4b1.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for dsniff-2.4.b1_7 ===> Applying FreeBSD patches for dsniff-2.4.b1_7 from /usr/ports/security/dsniff/files =========================================================================== =================================================== ===> dsniff-2.4.b1_7 depends on file: /usr/local/lib/libnids.a - not found ===> Installing existing package /packages/All/libnids-1.24_5.pkg p = buf_strdup(msg); ^ ~~~~~~~~~~~~~~~ ./msgsnarf.c:147:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:66:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./msgsnarf.c:161:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = buf_strdup(msg); ^ ~~~~~~~~~~~~~~~ ./msgsnarf.c:163:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:66:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./msgsnarf.c:197:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = buf_strdup(msg); ^ ~~~~~~~~~~~~~~~ ./msgsnarf.c:199:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./msgsnarf.c:199:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ ./msgsnarf.c:66:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./msgsnarf.c:597:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = process_msgs(c, ts->server.data, ^~~~~~~~~~~~~~~ ./msgsnarf.c:602:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = process_msgs(c, ts->client.data, ^~~~~~~~~~~~~~~ ./msgsnarf.c:613:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] process_msgs(c, ts->server.data, ^~~~~~~~~~~~~~~ ./msgsnarf.c:616:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] process_msgs(c, ts->client.data, ^~~~~~~~~~~~~~~ 11 warnings generated. cc -L/wrkdirs/usr/ports/security/dsniff/work/libressl/lib -fstack-protector-strong -o msgsnarf msgsnarf.o buf.o pcaputil.o -lrpcsvc -L. -lmd -L/usr/local/lib -lnids `pkg-config --libs gthread-2.0` -lpcap -L/usr/local/lib -lnet cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -I/wrkdirs/usr/ports/security/dsniff/work/libressl/include -I/usr/local/include -c ./sshmitm.c ./sshmitm.c:201:42: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1); ^~~~~~~ ./sshmitm.c:56:40: note: passing argument to parameter 'src' here ssh_strlcat(char *dst, int size, char *src, int len) ^ ./sshmitm.c:234:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf + 1, i - 1); ^~~~~~~ ./sshmitm.c:56:40: note: passing argument to parameter 'src' here ssh_strlcat(char *dst, int size, char *src, int len) ^ ./sshmitm.c:245:13: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] userpass, strlen(userpass)); ^~~~~~~~ ./record.h:17:44: note: passing argument to parameter 'buf' here u_short dport, char *name, u_char *buf, int len); ^ ./sshmitm.c:339:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&_________csin, &i); ^~ /usr/include/sys/socket.h:661:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -I/wrkdirs/usr/ports/security/dsniff/work/libressl/include -I/usr/local/include -c ./ssh.c ./ssh.c:137:2: warning: implicit declaration of function 'MD5' is invalid in C99 [-Wimplicit-function-declaration] MD5(p, i + j + 8, sessid); ^ ./ssh.c:244:26: error: incomplete definition of type 'struct rsa_st' put_bn(ssh->ctx->servkey->e, &p); /* servkey exponent */ ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:245:26: error: incomplete definition of type 'struct rsa_st' put_bn(ssh->ctx->servkey->n, &p); /* servkey modulus */ ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:247:26: error: incomplete definition of type 'struct rsa_st' put_bn(ssh->ctx->hostkey->e, &p); /* hostkey exponent */ ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:248:26: error: incomplete definition of type 'struct rsa_st' put_bn(ssh->ctx->hostkey->n, &p); /* hostkey modulus */ ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:299:30: error: incomplete definition of type 'struct rsa_st' if (BN_cmp(ssh->ctx->servkey->n, ssh->ctx->hostkey->n) > 0) { ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:299:52: error: incomplete definition of type 'struct rsa_st' if (BN_cmp(ssh->ctx->servkey->n, ssh->ctx->hostkey->n) > 0) { ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:319:51: error: incomplete definition of type 'struct rsa_st' if ((p = ssh_session_id(cookie, ssh->ctx->hostkey->n, ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:320:22: error: incomplete definition of type 'struct rsa_st' ssh->ctx->servkey->n)) == NULL) { ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:380:19: error: incomplete definition of type 'struct rsa_st' ssh->ctx->servkey->n = BN_new(); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:381:19: error: incomplete definition of type 'struct rsa_st' ssh->ctx->servkey->e = BN_new(); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:384:26: error: incomplete definition of type 'struct rsa_st' get_bn(ssh->ctx->servkey->e, &p, &i); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:385:26: error: incomplete definition of type 'struct rsa_st' get_bn(ssh->ctx->servkey->n, &p, &i); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:389:19: error: incomplete definition of type 'struct rsa_st' ssh->ctx->hostkey->n = BN_new(); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:390:19: error: incomplete definition of type 'struct rsa_st' ssh->ctx->hostkey->e = BN_new(); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:393:26: error: incomplete definition of type 'struct rsa_st' get_bn(ssh->ctx->hostkey->e, &p, &i); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:394:26: error: incomplete definition of type 'struct rsa_st' get_bn(ssh->ctx->hostkey->n, &p, &i); ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:406:51: error: incomplete definition of type 'struct rsa_st' if ((p = ssh_session_id(cookie, ssh->ctx->hostkey->n, ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:407:22: error: incomplete definition of type 'struct rsa_st' ssh->ctx->servkey->n)) == NULL) { ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ./ssh.c:423:30: error: incomplete definition of type 'struct rsa_st' if (BN_cmp(ssh->ctx->servkey->n, ssh->ctx->hostkey->n) < 0) { ~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/security/dsniff/work/libressl/include/openssl/ossl_typ.h:138:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/security/dsniff/work/dsniff-2.4 *** Error code 1 Stop. make: stopped in /usr/ports/security/dsniff