[package - 123i386-quarterly][security/dsniff] Failed for dsniff-2.4.b1_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 15 Feb 2023 06:34:42 UTC
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/beefy4/data/123i386-quarterly/1451b0c82073/logs/dsniff-2.4.b1_7.log
Build URL:      https://pkg-status.freebsd.org/beefy4/build.html?mastername=123i386-quarterly&build=1451b0c82073
Log:

=>> Building security/dsniff
build started at Wed Feb 15 06:30:25 UTC 2023
port directory: /usr/ports/security/dsniff
package name: dsniff-2.4.b1_7
building for: FreeBSD 123i386-quarterly-job-03 12.3-RELEASE-p11 FreeBSD 12.3-RELEASE-p11 i386
maintained by: sbz@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400078
Jail OSVERSION: 1203000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p11
UNAME_r=12.3-RELEASE-p11
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-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123i386-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123i386-quarterly/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-p11
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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--
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   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-quarterly-job-03] Installing pkg-1.19.0...
[123i386-quarterly-job-03] 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
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  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.4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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.4 for building
=> SHA256 Checksum OK for dsniff-2.4b1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  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.4 for building
===>  Extracting for dsniff-2.4.b1_7
=> SHA256 Checksum OK for dsniff-2.4b1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dsniff-2.4.b1_7
===>  Applying FreeBSD patches for dsniff-2.4.b1_7 from /usr/ports/security/dsniff/files
===========================================================================
=======================<phase: build-depends  >============================
===>   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
[123i386-quarterly-job-03] Installing libnids-1.24_5...
<snip>
                  ^
./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.
--- ssh.o ---
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
--- sshmitm.o ---
./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);
                                                                        ^
--- ssh.o ---
./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.
*** [ssh.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/security/dsniff/work/dsniff-2.4
--- sshmitm.o ---
4 warnings generated.
1 error

make[1]: stopped in /wrkdirs/usr/ports/security/dsniff/work/dsniff-2.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/dsniff