Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2021 09:00:29 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 130releng-arm64-quarterly][devel/libzrtpcpp] Failed for libzrtpcpp-2.3.4_8 in build
Message-ID:  <202103020900.12290TZn095277@ampere1.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: branches/2021Q1/devel/libzrtpcpp/Makefile 444324 2017-06-25 21:07:58Z tcberner $
Log URL:        http://ampere1.nyi.freebsd.org/data/130releng-arm64-quarterly/566929/logs/libzrtpcpp-2.3.4_8.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=130releng-arm64-quarterly&build=566929
Log:

=>> Building devel/libzrtpcpp
build started at Tue Mar  2 08:59:59 UTC 2021
port directory: /usr/ports/devel/libzrtpcpp
package name: libzrtpcpp-2.3.4_8
building for: FreeBSD 130releng-arm64-quarterly-job-13 13.0-BETA4 FreeBSD 13.0-BETA4 1300139 arm64
maintained by: acm@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2021Q1/devel/libzrtpcpp/Makefile 444324 2017-06-25 21:07:58Z tcberner $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1300139
Job Id: 13




!!! Jail is newer than host. (Jail: 1300139, Host: 1300134) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-BETA4 1300139
UNAME_r=13.0-BETA4
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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/130releng-arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-arm64-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---
---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=13.0 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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-BETA4
OSREL=13.0
OSVERSION=1300139
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)  1048576
stack size              (kbytes, -s)  1048576
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
[130releng-arm64-quarterly-job-13] Installing pkg-1.16.3...
[130releng-arm64-quarterly-job-13] 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.2.txz
[130releng-arm64-quarterly-job-13] Installing cmake-3.19.2...
[130releng-arm64-quarterly-job-13] `-- Installing curl-7.74.0...
[130releng-arm64-quarterly-job-13] |   `-- Installing ca_root_nss-3.58...
[130releng-arm64-quarterly-job-13] |   `-- Extracting ca_root_nss-3.58: ........ done
[130releng-arm64-quarterly-job-13] |   `-- Installing libnghttp2-1.42.0...
[130releng-arm64-quarterly-job-13] |   `-- Extracting libnghttp2-1.42.0: .......... done
[130releng-arm64-quarterly-job-13] `-- Extracting curl-7.74.0: .......... done
[130releng-arm64-quarterly-job-13] `-- Installing expat-2.2.10...
[130releng-arm64-quarterly-job-13] `-- Extracting expat-2.2.10: .......... done
[130releng-arm64-quarterly-job-13] `-- Installing jsoncpp-1.9.4...
[130releng-arm64-quarterly-job-13] `-- Extracting jsoncpp-1.9.4: .......... done
<snip>
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;
                        ^
[ 72%] Building CXX object src/CMakeFiles/zrtpcpp.dir/libzrtpcpp/crypto/openssl/ZrtpDH.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: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];
                            ^
/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.
--- src/CMakeFiles/zrtpcpp.dir/libzrtpcpp/crypto/openssl/ZrtpDH.cpp.o ---
*** [src/CMakeFiles/zrtpcpp.dir/libzrtpcpp/crypto/openssl/ZrtpDH.cpp.o] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
8 warnings generated.
1 error

make[3]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
--- src/CMakeFiles/zrtpcpp.dir/all ---
*** [src/CMakeFiles/zrtpcpp.dir/all] Error code 2

make[2]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
1 error

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

make[1]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
1 error

make[1]: stopped in /wrkdirs/usr/ports/devel/libzrtpcpp/work/.build
===> 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/devel/libzrtpcpp



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