Date: Sun, 4 Jul 2021 06:06:52 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 130releng-riscv64-quarterly][devel/libzrtpcpp] Failed for libzrtpcpp-2.3.4_8 in build Message-ID: <202107040606.16466qJw041247@beefy7.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 Log URL: http://beefy7.nyi.freebsd.org/data/130releng-riscv64-quarterly/bf299f1b74f5/logs/libzrtpcpp-2.3.4_8.log Build URL: http://beefy7.nyi.freebsd.org/build.html?mastername=130releng-riscv64-quarterly&build=bf299f1b74f5 Log: =>> Building devel/libzrtpcpp build started at Sun Jul 4 06:05:48 UTC 2021 port directory: /usr/ports/devel/libzrtpcpp package name: libzrtpcpp-2.3.4_8 building for: FreeBSD 130releng-riscv64-quarterly-job-01 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 1300139 riscv maintained by: acm@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-8-gaf08dbda Host OSVERSION: 1400008 Jail OSVERSION: 1300139 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh UNAME_p=riscv64 UNAME_m=riscv ABI_FILE=/usr/lib/crt1.o OSVERSION=1300139 UNAME_v=FreeBSD 13.0-RELEASE-p3 1300139 UNAME_r=13.0-RELEASE-p3 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 QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-8-gaf08dbda MASTERMNT=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=130releng-riscv64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/130releng-riscv64-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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -L/usr/lib -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -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--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=riscv MACHINE_ARCH=riscv64 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_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-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_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=riscv64 OPSYS=FreeBSD _OSRELEASE=13.0-RELEASE-p3 OSREL=13.0 OSVERSION=1300139 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--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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 [130releng-riscv64-quarterly-job-01] Installing pkg-1.16.3... [130releng-riscv64-quarterly-job-01] 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 <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. [ -8%] Building CXX object src/CMakeFiles/zrtpcpp.dir/Base32.cpp.o [ -8%] 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:46: In file included from /usr/local/include/ccrtp/ioqueue.h:46: In file included from /usr/local/include/ccrtp/iqueue.h:46: In file included from /usr/local/include/ccrtp/queuebase.h:46: 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:46: In file included from /usr/local/include/ccrtp/ioqueue.h:46: In file included from /usr/local/include/ccrtp/iqueue.h:46: In file included from /usr/local/include/ccrtp/queuebase.h:46: 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:46: In file included from /usr/local/include/ccrtp/ioqueue.h:46: In file included from /usr/local/include/ccrtp/iqueue.h:46: In file included from /usr/local/include/ccrtp/queuebase.h:46: 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:46: In file included from /usr/local/include/ccrtp/ioqueue.h:46: In file included from /usr/local/include/ccrtp/iqueue.h:46: In file included from /usr/local/include/ccrtp/queuebase.h:46: 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:46: In file included from /usr/local/include/ccrtp/ioqueue.h:46: In file included from /usr/local/include/ccrtp/iqueue.h:46: In file included from /usr/local/include/ccrtp/queuebase.h:47: In file included from /usr/local/include/ccrtp/rtppkt.h:40: In file included from /usr/local/include/ccrtp/base.h:42: 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. [ -8%] 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?202107040606.16466qJw041247>