Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 11:21:25 GMT
From:      pkg-fallout@FreeBSD.org
To:        acm@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 122amd64-default][devel/libzrtpcpp] Failed for libzrtpcpp-2.3.4_8 in build
Message-ID:  <202103031121.123BLPsj011590@beefy6.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     acm@FreeBSD.org
Last committer: tcberner@FreeBSD.org
Ident:          $FreeBSD: head/devel/libzrtpcpp/Makefile 444324 2017-06-25 21:07:58Z tcberner $
Log URL:        http://beefy6.nyi.freebsd.org/data/122amd64-default/566930/logs/libzrtpcpp-2.3.4_8.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=122amd64-default&build=566930
Log:

=>> Building devel/libzrtpcpp
build started at Wed Mar  3 11:20:41 UTC 2021
port directory: /usr/ports/devel/libzrtpcpp
package name: libzrtpcpp-2.3.4_8
building for: FreeBSD 122amd64-default-job-02 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 amd64
maintained by: acm@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/libzrtpcpp/Makefile 444324 2017-06-25 21:07:58Z tcberner $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300135
Jail OSVERSION: 1202000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p4
UNAME_r=12.2-RELEASE-p4
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/122amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122amd64-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---
---End OPTIONS List---

--MAINTAINER--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libzrtpcpp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libzrtpcpp/work  HOME=/wrkdirs/usr/ports/devel/libzrtpcpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libzrtpcpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libzrtpcpp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libzrtpcpp/work  HOME=/wrkdirs/usr/ports/devel/libzrtpcpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libzrtpcpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -L/usr/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include -I/usr/include "  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--
CMAKE_BUILD_TYPE="release" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libzrtpcpp"  EXAMPLESDIR="share/examples/libzrtpcpp"  DATADIR="share/libzrtpcpp"  WWWDIR="www/libzrtpcpp"  ETCDIR="etc/libzrtpcpp"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libzrtpcpp DOCSDIR=/usr/local/share/doc/libzrtpcpp EXAMPLESDIR=/usr/local/share/examples/libzrtpcpp  WWWDIR=/usr/local/www/libzrtpcpp ETCDIR=/usr/local/etc/libzrtpcpp
--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
#### /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: x86_64-unknown-freebsd12.2 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: x86_64-unknown-freebsd12.2 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" "-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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE-p4
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  33554432
stack size              (kbytes, -s)  524288
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libzrtpcpp-2.3.4_8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122amd64-default-job-02] Installing pkg-1.16.3...
[122amd64-default-job-02] Extracting pkg-1.16.3: .......... done
===>   libzrtpcpp-2.3.4_8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libzrtpcpp-2.3.4_8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by libzrtpcpp-2.3.4_8 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by libzrtpcpp-2.3.4_8 for building
=> SHA256 Checksum OK for libzrtpcpp-2.3.4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by libzrtpcpp-2.3.4_8 for building
===>  Extracting for libzrtpcpp-2.3.4_8
=> SHA256 Checksum OK for libzrtpcpp-2.3.4.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for libzrtpcpp-2.3.4_8
===>  Applying FreeBSD patches for libzrtpcpp-2.3.4_8 from /usr/ports/devel/libzrtpcpp/files
===========================================================================
=======================<phase: build-depends  >============================
===>   libzrtpcpp-2.3.4_8 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.19.5_2.txz
[122amd64-default-job-02] Installing cmake-3.19.5_2...
[122amd64-default-job-02] `-- Installing curl-7.75.0...
[122amd64-default-job-02] |   `-- Installing ca_root_nss-3.61...
[122amd64-default-job-02] |   `-- Extracting ca_root_nss-3.61: ........ done
[122amd64-default-job-02] |   `-- Installing libnghttp2-1.43.0...
[122amd64-default-job-02] |   `-- Extracting libnghttp2-1.43.0: .......... done
[122amd64-default-job-02] `-- Extracting curl-7.75.0: .......... done
[122amd64-default-job-02] `-- Installing expat-2.2.10...
[122amd64-default-job-02] `-- Extracting expat-2.2.10: .......... done
[122amd64-default-job-02] `-- Installing jsoncpp-1.9.4...
[122amd64-default-job-02] `-- Extracting jsoncpp-1.9.4: .......... done
[122amd64-default-job-02] `-- Installing libarchive-3.5.1,1...
[122amd64-default-job-02] |   `-- Installing liblz4-1.9.3,1...
[122amd64-default-job-02] |   `-- Extracting liblz4-1.9.3,1: .......... done
[122amd64-default-job-02] `-- Extracting libarchive-3.5.1,1: .......... done
[122amd64-default-job-02] `-- Installing libuv-1.41.0...
[122amd64-default-job-02] `-- Extracting libuv-1.41.0: .......... done
[122amd64-default-job-02] `-- Installing rhash-1.4.1...
[122amd64-default-job-02] |   `-- Installing gettext-runtime-0.21...
[122amd64-default-job-02] |   | `-- Installing indexinfo-0.3.1...
[122amd64-default-job-02] |   | `-- Extracting indexinfo-0.3.1: .... done
<snip>
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZRtp.h:31:
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZrtpPacketCommit.h:124:42: warning: 'memcpy' will always overflow; destination buffer has size 0, but size argument is 8 [-Wfortify-source]
    void setHMACMulti(uint8_t* hash)   { memcpy(commitHeader->hmac-4*ZRTP_WORD_SIZE, hash, sizeof(commitHeader->hmac)); };
                                         ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpCWrapper.cpp:279:16: warning: address of stack memory associated with local variable 'rn' returned [-Wreturn-stack-address]
        return rn.c_str();
               ^~
2 warnings generated.
[ 66%] Building CXX object src/CMakeFiles/zrtpcpp.dir/Base32.cpp.o
[ 69%] Building CXX object src/CMakeFiles/zrtpcpp.dir/ZrtpQueue.cpp.o
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:25:
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZrtpQueue.h:21:
In file included from /usr/local/include/ccrtp/cqueue.h:47:
In file included from /usr/local/include/ccrtp/ioqueue.h:47:
In file included from /usr/local/include/ccrtp/iqueue.h:47:
In file included from /usr/local/include/ccrtp/queuebase.h:47:
In file included from /usr/local/include/commoncpp/pointer.h:51:
In file included from /usr/local/include/commoncpp/config.h:42:
In file included from /usr/local/include/ucommon/ucommon.h:92:
In file included from /usr/local/include/ucommon/typeref.h:52:
In file included from /usr/local/include/ucommon/thread.h:63:
/usr/local/include/ucommon/condition.h:568:18: warning: 'exclusive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void exclusive(void);
                 ^
/usr/local/include/ucommon/access.h:214:18: note: overridden virtual function is here
    virtual void exclusive(void);
                 ^
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:25:
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZrtpQueue.h:21:
In file included from /usr/local/include/ccrtp/cqueue.h:47:
In file included from /usr/local/include/ccrtp/ioqueue.h:47:
In file included from /usr/local/include/ccrtp/iqueue.h:47:
In file included from /usr/local/include/ccrtp/queuebase.h:47:
In file included from /usr/local/include/commoncpp/pointer.h:51:
In file included from /usr/local/include/commoncpp/config.h:42:
In file included from /usr/local/include/ucommon/ucommon.h:92:
In file included from /usr/local/include/ucommon/typeref.h:52:
In file included from /usr/local/include/ucommon/thread.h:63:
/usr/local/include/ucommon/condition.h:573:18: warning: 'share' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void share(void);
                 ^
/usr/local/include/ucommon/access.h:205:18: note: overridden virtual function is here
    virtual void share(void);
                 ^
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:25:
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZrtpQueue.h:21:
In file included from /usr/local/include/ccrtp/cqueue.h:47:
In file included from /usr/local/include/ccrtp/ioqueue.h:47:
In file included from /usr/local/include/ccrtp/iqueue.h:47:
In file included from /usr/local/include/ccrtp/queuebase.h:47:
In file included from /usr/local/include/commoncpp/pointer.h:51:
In file included from /usr/local/include/commoncpp/config.h:42:
In file included from /usr/local/include/ucommon/ucommon.h:103:
/usr/local/include/ucommon/datetime.h:1008:17: warning: '_print' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    const char *_print(void) const;
                ^
/usr/local/include/ucommon/protocols.h:142:25: note: overridden virtual function is here
    virtual const char *_print(void) const = 0;
                        ^
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:25:
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZrtpQueue.h:21:
In file included from /usr/local/include/ccrtp/cqueue.h:47:
In file included from /usr/local/include/ccrtp/ioqueue.h:47:
In file included from /usr/local/include/ccrtp/iqueue.h:47:
In file included from /usr/local/include/ccrtp/queuebase.h:47:
In file included from /usr/local/include/commoncpp/pointer.h:51:
In file included from /usr/local/include/commoncpp/config.h:42:
In file included from /usr/local/include/ucommon/ucommon.h:116:
/usr/local/include/ucommon/stream.h:94:9: warning: 'sync' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    int sync(void);
        ^
/usr/include/c++/v1/streambuf:279:17: note: overridden virtual function is here
    virtual int sync();
                ^
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:25:
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZrtpQueue.h:21:
In file included from /usr/local/include/ccrtp/cqueue.h:47:
In file included from /usr/local/include/ccrtp/ioqueue.h:47:
In file included from /usr/local/include/ccrtp/iqueue.h:47:
In file included from /usr/local/include/ccrtp/queuebase.h:48:
In file included from /usr/local/include/ccrtp/rtppkt.h:41:
In file included from /usr/local/include/ccrtp/base.h:43:
In file included from /usr/local/include/commoncpp/socket.h:59:
In file included from /usr/local/include/commoncpp/address.h:52:
/usr/local/include/commoncpp/thread.h:448:10: warning: 'exit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    void exit(void);
         ^
/usr/local/include/ucommon/thread.h:759:18: note: overridden virtual function is here
    virtual void exit(void);
                 ^
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:27:
In file included from /wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZRtp.h:31:
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/ZrtpPacketCommit.h:124:42: warning: 'memcpy' will always overflow; destination buffer has size 0, but size argument is 8 [-Wfortify-source]
    void setHMACMulti(uint8_t* hash)   { memcpy(commitHeader->hmac-4*ZRTP_WORD_SIZE, hash, sizeof(commitHeader->hmac)); };
                                         ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:147:9: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete buffer;
        ^
              []
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:144:29: note: allocated with 'new[]' here
    unsigned char* buffer = new unsigned char[nextSize];
                            ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:171:13: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
            delete buffer;
            ^
                  []
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/ZrtpQueue.cpp:144:29: note: allocated with 'new[]' here
    unsigned char* buffer = new unsigned char[nextSize];
                            ^
8 warnings generated.
[ 72%] Building CXX object src/CMakeFiles/zrtpcpp.dir/libzrtpcpp/crypto/openssl/ZrtpDH.cpp.o
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:226:15: error: member access into incomplete type 'DH' (aka 'dh_st')
        tmpCtx->g = BN_new();
              ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:227:27: error: member access into incomplete type 'DH' (aka 'dh_st')
        BN_set_word(tmpCtx->g, DH_GENERATOR_2);
                          ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:230:19: error: member access into incomplete type 'DH' (aka 'dh_st')
            tmpCtx->p = BN_dup(bnP2048);
                  ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:232:19: error: member access into incomplete type 'DH' (aka 'dh_st')
            tmpCtx->priv_key = BN_bin2bn(random, 32, NULL);
                  ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:235:19: error: member access into incomplete type 'DH' (aka 'dh_st')
            tmpCtx->p = BN_dup(bnP3072);
                  ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:237:19: error: member access into incomplete type 'DH' (aka 'dh_st')
            tmpCtx->priv_key = BN_bin2bn(random, 32, NULL);
                  ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:272:19: error: member access into incomplete type 'DH' (aka 'dh_st')
        if (tmpCtx->pub_key != NULL) {
                  ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:273:27: error: member access into incomplete type 'DH' (aka 'dh_st')
            BN_free(tmpCtx->pub_key);
                          ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:275:15: error: member access into incomplete type 'DH' (aka 'dh_st')
        tmpCtx->pub_key = BN_bin2bn(pubKeyBytes, getDhSize(), NULL);
              ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:276:45: error: member access into incomplete type 'DH' (aka 'dh_st')
        return DH_compute_key(secret, tmpCtx->pub_key, tmpCtx);
                                            ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:322:50: error: member access into incomplete type 'DH' (aka 'dh_st')
        return BN_num_bytes(static_cast<DH*>(ctx)->pub_key);
                                                 ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
/wrkdirs/usr/ports/devel/libzrtpcpp/work/libzrtpcpp-2.3.4/src/libzrtpcpp/crypto/openssl/ZrtpDH.cpp:341:47: error: member access into incomplete type 'DH' (aka 'dh_st')
        return BN_bn2bin(static_cast<DH*>(ctx)->pub_key, buf + prepend);
                                              ^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st'
typedef struct dh_st DH;
               ^
12 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/libzrtpcpp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103031121.123BLPsj011590>