From owner-freebsd-erlang@freebsd.org Tue Nov 6 02:41:18 2018 Return-Path: Delivered-To: freebsd-erlang@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 790CA112B467 for ; Tue, 6 Nov 2018 02:41:18 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E7FB0869E8 for ; Tue, 6 Nov 2018 02:41:17 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id ACEAF112B464; Tue, 6 Nov 2018 02:41:17 +0000 (UTC) Delivered-To: erlang@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61C88112B45A; Tue, 6 Nov 2018 02:41:17 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6CED869E2; Tue, 6 Nov 2018 02:41:16 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy2.nyi.freebsd.org (beefy2.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C7DA02089F; Tue, 6 Nov 2018 02:41:16 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy2.nyi.freebsd.org (localhost [127.0.0.1]) by beefy2.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id wA62fGMw091583; Tue, 6 Nov 2018 02:41:16 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy2.nyi.freebsd.org (8.15.2/8.15.2/Submit) id wA62fGb4091582; Tue, 6 Nov 2018 02:41:16 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 6 Nov 2018 02:41:16 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201811060241.wA62fGb4091582@beefy2.nyi.freebsd.org> To: erlang@FreeBSD.org Subject: [package - 120amd64-quarterly][lang/erlang-runtime15] Failed for erlang-runtime15-15.b.03.1_13 in build Cc: pkg-fallout@FreeBSD.org X-Rspamd-Queue-Id: E7FB0869E8 X-Spamd-Result: default: False [-106.29 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[FreeBSD.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.08)[ip: (-9.24), ipnet: 2001:1900:2254::/48(-3.55), asn: 10310(-2.56), country: US(-0.07)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[erlang@FreeBSD.org ..,freebsd-erlang@freebsd.org]; RCVD_COUNT_SEVEN(0.00)[7] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-erlang@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support of Erlang-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 02:41:18 -0000 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: erlang@FreeBSD.org Last committer: olgeni@FreeBSD.org Ident: $FreeBSD: branches/2018Q4/lang/erlang-runtime15/Makefile 471907 2018-06-07 11:15:11Z olgeni $ Log URL: http://beefy2.nyi.freebsd.org/data/120amd64-quarterly/484269/logs/erlang-runtime15-15.b.03.1_13.log Build URL: http://beefy2.nyi.freebsd.org/build.html?mastername=120amd64-quarterly&build=484269 Log: =>> Building lang/erlang-runtime15 build started at Tue Nov 6 02:34:47 UTC 2018 port directory: /usr/ports/lang/erlang-runtime15 package name: erlang-runtime15-15.b.03.1_13 building for: FreeBSD 120amd64-quarterly-job-21 12.0-BETA3 FreeBSD 12.0-BETA3 1200086 amd64 maintained by: erlang@FreeBSD.org Makefile ident: $FreeBSD: branches/2018Q4/lang/erlang-runtime15/Makefile 471907 2018-06-07 11:15:11Z olgeni $ Poudriere version: 3.2.8 Host OSVERSION: 1300002 Jail OSVERSION: 1200086 Job Id: 21 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200086 UNAME_v=FreeBSD 12.0-BETA3 1200086 UNAME_r=12.0-BETA3 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 MASTERMNT=/usr/local/poudriere/data/.m/120amd64-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/120amd64-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=120amd64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/120amd64-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 erlang-runtime15-15.b.03.1_13: DTRACE=off: Build with DTrace probes GS=off: Enable GS application (deprecated) HIPE=off: Build native HiPE compiler JAVA=off: Java platform support KQUEUE=on: Enable Kernel Poll (kqueue) support ODBC=off: ODBC database backend OPENSSL=on: SSL/TLS support via OpenSSL SCTP=on: Enable SCTP support SMP=on: Enable SMP support THREADS=on: Threading support WX=off: Enable WX application ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- erlang@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --without-dynamic-trace --disable-hipe --without-javac --enable-kernel-poll --without-odbc --with-ssl=/usr --enable-sctp --enable-smp-support --enable-threads --without-wx-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/erlang-runtime15/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/erlang-runtime15/work HOME=/wrkdirs/usr/ports/lang/erlang-runtime15/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/erlang-runtime15/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/lang/erlang-runtime15/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/erlang-runtime15/work HOME=/wrkdirs/usr/ports/lang/erlang-runtime15/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/erlang-runtime15/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 -DMAP_NORESERVE=0 -fstack-protector -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -fstack-protector " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DMAP_NORESERVE=0 -fstack-protector -fno-strict-aliasing " 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-- OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.26.2 PERL_VER=5.26 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.26 DOCSDIR="share/doc/erlang" EXAMPLESDIR="share/examples/erlang" DATADIR="share/erlang" WWWDIR="www/erlang" ETCDIR="etc/erlang" --End PLIST_SUB-- --SUB_LIST-- ERLANG_LIB=erlang15 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/erlang DOCSDIR=/usr/local/share/doc/erlang EXAMPLESDIR=/usr/local/share/examples/erlang WWWDIR=/usr/local/www/erlang ETCDIR=/usr/local/etc/erlang --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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=12.0-BETA3 OSREL=12.0 OSVERSION=1200086 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=262144 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-- =================================================== =========================================================================== =================================================== ===> erlang-runtime15-15.b.03.1_13 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [120amd64-quarterly-job-21] Installing pkg-1.10.5_5... [120amd64-quarterly-job-21] Extracting pkg-1.10.5_5: .......... done ===> erlang-runtime15-15.b.03.1_13 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of erlang-runtime15-15.b.03.1_13 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by erlang-runtime15-15.b.03.1_13 for building =========================================================================== =================================================== ===> Fetching all distfiles required by erlang-runtime15-15.b.03.1_13 for building => SHA256 Checksum OK for erlang/otp_src_R15B03-1.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by erlang-runtime15-15.b.03.1_13 for building ===> Extracting for erlang-runtime15-15.b.03.1_13 => SHA256 Checksum OK for erlang/otp_src_R15B03-1.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for erlang-runtime15-15.b.03.1_13 ===> Applying FreeBSD patches for erlang-runtime15-15.b.03.1_13 =========================================================================== =================================================== ===> erlang-runtime15-15.b.03.1_13 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz [120amd64-quarterly-job-21] Installing gmake-4.2.1_2... [120amd64-quarterly-job-21] `-- Installing gettext-runtime-0.19.8.1_1... cc -c -o ../priv/obj/amd64-portbld-freebsd12.0/crypto.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -O2 -pipe -DMAP_NORESERVE=0 -fstack-protector -fno-strict-aliasing -I/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/erts/amd64-portbld-freebsd12.0 -fPIC -I/usr/include -I/usr/include -I/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/erts/emulator/beam -I/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/erts/include -I/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/erts/include/amd64-portbld-freebsd12.0 -I/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/erts/include/internal -I/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/erts/include/internal/amd64-portbld-freebsd12.0 -I/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/erts/emulator/sys/unix crypto.c crypto.c:399:30: warning: incompatible pointer types passing 'void *(size_t)' (aka 'void *(unsigned long)') to parameter of type 'void *(*)(size_t, const char *, int)' (aka 'void *(*)(unsigned long, const char *, int)') [-Wincompatible-pointer-types] CRYPTO_set_mem_functions(crypto_alloc, crypto_realloc, crypto_free); ^~~~~~~~~~~~ /usr/include/openssl/crypto.h:262:17: note: passing argument to parameter 'm' here void *(*m) (size_t, const char *, int), ^ crypto.c:399:44: warning: incompatible pointer types passing 'void *(void *, size_t)' (aka 'void *(void *, unsigned long)') to parameter of type 'void *(*)(void *, size_t, const char *, int)' (aka 'void *(*)(void *, unsigned long, const char *, int)') [-Wincompatible-pointer-types] CRYPTO_set_mem_functions(crypto_alloc, crypto_realloc, crypto_free); ^~~~~~~~~~~~~~ /usr/include/openssl/crypto.h:263:17: note: passing argument to parameter 'r' here void *(*r) (void *, size_t, const char *, int), ^ crypto.c:399:60: warning: incompatible pointer types passing 'void (void *)' to parameter of type 'void (*)(void *, const char *, int)' [-Wincompatible-pointer-types] CRYPTO_set_mem_functions(crypto_alloc, crypto_realloc, crypto_free); ^~~~~~~~~~~ /usr/include/openssl/crypto.h:264:16: note: passing argument to parameter 'f' here void (*f) (void *, const char *, int)); ^ crypto.c:1060:41: error: invalid application of 'sizeof' to an incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') ctx_buf = enif_make_new_binary(env, sizeof(HMAC_CTX), &ret); ^ ~~~~~~~~~~ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ crypto.c:1061:5: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_init((HMAC_CTX *) ctx_buf); ^ crypto.c:1061:5: warning: this function declaration is not a prototype [-Wstrict-prototypes] crypto.c:1062:5: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init((HMAC_CTX *) ctx_buf, key.data, key.size, md); ^ /usr/include/openssl/hmac.h:30:1: note: 'HMAC_Init' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:147:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ crypto.c:1075:28: error: invalid application of 'sizeof' to an incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') || context.size != sizeof(HMAC_CTX)) { ^ ~~~~~~~~~~ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ crypto.c:1079:41: error: invalid application of 'sizeof' to an incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') ctx_buf = enif_make_new_binary(env, sizeof(HMAC_CTX), &ret); ^ ~~~~~~~~~~ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ crypto.c:1090:14: error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') HMAC_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ crypto.c:1109:5: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&ctx); ^ crypto.c:1109:5: warning: this function declaration is not a prototype [-Wstrict-prototypes] crypto.c:1269:5: warning: implicit declaration of function 'AES_ctr128_encrypt' is invalid in C99 [-Wimplicit-function-declaration] AES_ctr128_encrypt((unsigned char *) text.data, ^ crypto.c:1269:5: warning: this function declaration is not a prototype [-Wstrict-prototypes] crypto.c:1308:5: warning: implicit declaration of function 'AES_ctr128_encrypt' is invalid in C99 [-Wimplicit-function-declaration] AES_ctr128_encrypt((unsigned char *) text_bin.data, ^ crypto.c:1327:5: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] RAND_pseudo_bytes(data, bytes); ^ /usr/include/openssl/rand.h:44:1: note: 'RAND_pseudo_bytes' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^ /usr/include/openssl/opensslconf.h:147:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ crypto.c:1359:5: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] RAND_pseudo_bytes(data, bytes); ^ /usr/include/openssl/rand.h:44:1: note: 'RAND_pseudo_bytes' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^ /usr/include/openssl/opensslconf.h:147:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ crypto.c:1546:8: error: incomplete definition of type 'struct dsa_st' dsa->p = dsa_p; ~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ crypto.c:1547:8: error: incomplete definition of type 'struct dsa_st' dsa->q = dsa_q; ~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ crypto.c:1548:8: error: incomplete definition of type 'struct dsa_st' dsa->g = dsa_g; ~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ crypto.c:1549:8: error: incomplete definition of type 'struct dsa_st' dsa->priv_key = NULL; ~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ crypto.c:1550:8: error: incomplete definition of type 'struct dsa_st' dsa->pub_key = dsa_y; ~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ crypto.c:1680:39: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->e) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1682:39: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->n) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1853:39: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->e) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1855:39: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->n) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1857:39: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->d) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1860:44: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->p) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1862:44: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->q) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1864:44: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->dmp1) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1866:44: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->dmq1) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ crypto.c:1868:44: error: incomplete definition of type 'struct rsa_st' || !get_bn_from_mpint(env, head, &rsa->iqmp) ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 13 warnings and 20 errors generated. gmake[5]: *** [amd64-portbld-freebsd12.0/Makefile:104: ../priv/obj/amd64-portbld-freebsd12.0/crypto.o] Error 1 gmake[5]: Leaving directory '/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/lib/crypto/c_src' gmake[4]: *** [/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/make/run_make.mk:33: opt] Error 2 gmake[4]: Leaving directory '/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/lib/crypto/c_src' gmake[3]: *** [/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/make/otp_subdir.mk:28: opt] Error 2 gmake[3]: Leaving directory '/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/lib/crypto' gmake[2]: *** [/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/make/otp_subdir.mk:28: opt] Error 2 gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03/lib' gmake[1]: *** [Makefile:437: libs] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/erlang-runtime15/work/otp_src_R15B03' *** Error code 1 Stop. make: stopped in /usr/ports/lang/erlang-runtime15