[package - 132amd64-quarterly][multimedia/emby-server-devel] Failed for emby-server-devel-4.9.0.12 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 May 2024 01:29:44 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     driesm@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy14/data/132amd64-quarterly/4737f25e4eb1/logs/emby-server-devel-4.9.0.12.log
Build URL:      https://pkg-status.freebsd.org/beefy14/build.html?mastername=132amd64-quarterly&build=4737f25e4eb1
Log:

=>> Building multimedia/emby-server-devel
build started at Sun May  5 01:21:27 UTC 2024
port directory: /usr/ports/multimedia/emby-server-devel
package name: emby-server-devel-4.9.0.12
building for: FreeBSD 132amd64-quarterly-job-13 13.2-RELEASE-p11 FreeBSD 13.2-RELEASE-p11 amd64
maintained by: driesm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  273 Apr  9 01:02 /usr/ports/multimedia/emby-server-devel/Makefile
Ports top last git commit: 4737f25e4
Ports top unclean checkout: no
Port dir last git commit: c5cd82114
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1302001
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p11
UNAME_r=13.2-RELEASE-p11
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/132amd64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132amd64-quarterly/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for emby-server-devel-4.9.0.12:
     LAME=on: LAME MP3 audio encoder support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
driesm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--cc="cc"  --disable-alsa  --disable-doc  --disable-ffplay  --disable-libxcb  --disable-outdev=xv  --disable-sdl2  --disable-shared  --disable-sndio  --disable-v4l2-m2m  --disable-vdpau  --disable-vulkan  --disable-xlib  --enable-chromaprint  --enable-fontconfig  --enable-gpl  --enable-iconv  --enable-libaribb24  --enable-libass  --enable-libdav1d  --enable-libdrm  --enable-libfreetype  --enable-libfribidi  --enable-libmfx  --enable-libopus  --enable-libtesseract  --enable-libtheora  --enable-libvorbis  --enable-libvpx  --enable-libwebp  --enable-libx264  --enable-libx265  --enable-libzvbi  --enable-mbedtls  --enable-opencl  --enable-optimizations  --enable-static  --enable-vaapi  --enable-version3 --enable-libmp3lame
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/emby-server-devel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/emby-server-devel/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
V=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/emby-server-devel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/emby-server-devel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/emby-server-devel/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -isystem /usr/local/include"  LDFLAGS="  -fstack-protector-st
rong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include " 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=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/emby-server"  EXAMPLESDIR="share/examples/emby-server"  DATADIR="share/emby-server"  WWWDIR="www/emby-server"  ETCDIR="etc/emby-server"
--End PLIST_SUB--

--SUB_LIST--
GROUP=emby  PORTNAME=emby-server  RC_NAME=emby_server  USER=emby PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/emby-server DOCSDIR=/usr/local/share/doc/emby-server EXAMPLESDIR=/usr/local/share/examples/emby-server  WWWDIR=/usr/local/www/emby-server ETCDIR=/usr/local/etc/emby-server
--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
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UNKNOWN accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   emby-server-devel-4.9.0.12 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.2.pkg
[132amd64-quarterly-job-13] Installing pkg-1.21.2...
[132amd64-quarterly-job-13] Extracting pkg-1.21.2: .......... done
===>   emby-server-devel-4.9.0.12 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of emby-server-devel-4.9.0.12
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UNKNOWN accepted by the user
===> Fetching all distfiles required by emby-server-devel-4.9.0.12 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UNKNOWN accepted by the user
===> Fetching all distfiles required by emby-server-devel-4.9.0.12 for building
=> SHA256 Checksum OK for emby-server-devel/emby-server-freebsd14_4.9.0.12_amd64.tar.xz.
=> SHA256 Checksum OK for emby-server-devel/ffdetect-2022_05_07-x64_freebsd13.tar.xz.
=> SHA256 Checksum OK for emby-server-devel/ffmpeg-2022_05_07.tar.gz.
=> SHA256 Checksum OK for emby-server-devel/license.docx.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UNKNOWN accepted by the user
===> Fetching all distfiles required by emby-server-devel-4.9.0.12 for building
===>  Extracting for emby-server-devel-4.9.0.12
=> SHA256 Checksum OK for emby-server-devel/emby-server-freebsd14_4.9.0.12_amd64.tar.xz.
=> SHA256 Checksum OK for emby-server-devel/ffdetect-2022_05_07-x64_freebsd13.tar.xz.
=> SHA256 Checksum OK for emby-server-devel/ffmpeg-2022_05_07.tar.gz.
=> SHA256 Checksum OK for emby-server-devel/license.docx.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for emby-server-devel-4.9.0.12
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   emby-server-devel-4.9.0.12 depends on executable: nasm - not found
===>   Installing existing package /packages/All/nasm-2.16.01_1,2.pkg
[132amd64-quarterly-job-13] Installing nasm-2.16.01_1,2...
[132amd64-quarterly-job-13] Extracting nasm-2.16.01_1,2: .......... done
===>   emby-server-devel-4.9.0.12 depends on executable: nasm - found
===>   Returning to build of emby-server-devel-4.9.0.12
===>   emby-server-devel-4.9.0.12 depends on file: /usr/local/include/CL/opencl.h - not found
===>   Installing existing package /packages/All/opencl-3.0.15.pkg
[132amd64-quarterly-job-13] Installing opencl-3.0.15...
[132amd64-quarterly-job-13] Extracting opencl-3.0.15: .......... done
===>   emby-server-devel-4.9.0.12 depends on file: /usr/local/include/CL/opencl.h - found
===>   Returning to build of emby-server-devel-4.9.0.12
===>   emby-server-devel-4.9.0.12 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[132amd64-quarterly-job-13] Installing gmake-4.4.1...
[132amd64-quarterly-job-13] `-- Installing gettext-runtime-0.22.5...
[132amd64-quarterly-job-13] |   `-- Installing indexinfo-0.3.1...
[132amd64-quarterly-job-13] |   `-- Extracting indexinfo-0.3.1: .... done
<snip>
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:62 (libavformat/tls_mbedtls.c:62)
>>>               tls_mbedtls.o:(tls_close) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_entropy_free
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:63 (libavformat/tls_mbedtls.c:63)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:63 (libavformat/tls_mbedtls.c:63)
>>>               tls_mbedtls.o:(tls_close) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_exp_mod
>>> referenced by rtmpdh.c:242 (libavformat/rtmpdh.c:242)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:307 (libavformat/rtmpdh.c:307)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:258 (libavformat/rtmpdh.c:258)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_read_string
>>> referenced by rtmpdh.c:358 (libavformat/rtmpdh.c:358)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:403 (libavformat/rtmpdh.c:403)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:333 (libavformat/rtmpdh.c:333)
>>>               rtmpdh.o:(ff_dh_init) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_lset
>>> referenced by rtmpdh.c:290 (libavformat/rtmpdh.c:290)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:337 (libavformat/rtmpdh.c:337)
>>>               rtmpdh.o:(ff_dh_init) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_cmp_mpi
>>> referenced by rtmpdh.c:291 (libavformat/rtmpdh.c:291)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:297 (libavformat/rtmpdh.c:297)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_copy
>>> referenced by rtmpdh.c:295 (libavformat/rtmpdh.c:295)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_sub_int
>>> referenced by rtmpdh.c:296 (libavformat/rtmpdh.c:296)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_cmp_int
>>> referenced by rtmpdh.c:311 (libavformat/rtmpdh.c:311)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_write_binary
>>> referenced by rtmpdh.c:385 (libavformat/rtmpdh.c:385)
>>>               rtmpdh.o:(ff_dh_write_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:262 (libavformat/rtmpdh.c:262)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_read_binary
>>> referenced by rtmpdh.c:398 (libavformat/rtmpdh.c:398)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:127: ffmpeg_g] Error 1
gmake: *** Waiting for unfinished jobs....
ld: error: undefined symbol: mbedtls_mpi_free
>>> referenced by rtmpdh.c:273 (libavformat/rtmpdh.c:273)
>>>               rtmpdh.o:(ff_dh_free) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:274 (libavformat/rtmpdh.c:274)
>>>               rtmpdh.o:(ff_dh_free) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:275 (libavformat/rtmpdh.c:275)
>>>               rtmpdh.o:(ff_dh_free) in archive libavformat/libavformat.a
>>> referenced 7 more times

ld: error: undefined symbol: mbedtls_mpi_bitlen
>>> referenced by rtmpdh.c:227 (libavformat/rtmpdh.c:227)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:379 (libavformat/rtmpdh.c:379)
>>>               rtmpdh.o:(ff_dh_write_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_init
>>> referenced by rtmpdh.c:231 (libavformat/rtmpdh.c:231)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:236 (libavformat/rtmpdh.c:236)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:358 (libavformat/rtmpdh.c:358)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced 6 more times

ld: error: undefined symbol: mbedtls_entropy_init
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:177 (libavformat/tls_mbedtls.c:177)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_ctr_drbg_init
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:178 (libavformat/tls_mbedtls.c:178)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_entropy_func
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:209 (libavformat/tls_mbedtls.c:209)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_ctr_drbg_seed
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:209 (libavformat/tls_mbedtls.c:209)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_ctr_drbg_random
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:227 (libavformat/tls_mbedtls.c:227)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_fill_random
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_ctr_drbg_free
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:62 (libavformat/tls_mbedtls.c:62)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:62 (libavformat/tls_mbedtls.c:62)
>>>               tls_mbedtls.o:(tls_close) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_entropy_free
>>> referenced by rtmpdh.c:234 (libavformat/rtmpdh.c:234)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:63 (libavformat/tls_mbedtls.c:63)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:63 (libavformat/tls_mbedtls.c:63)
>>>               tls_mbedtls.o:(tls_close) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_exp_mod
>>> referenced by rtmpdh.c:242 (libavformat/rtmpdh.c:242)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:307 (libavformat/rtmpdh.c:307)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:258 (libavformat/rtmpdh.c:258)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_read_string
>>> referenced by rtmpdh.c:358 (libavformat/rtmpdh.c:358)
>>>               rtmpdh.o:(ff_dh_generate_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:403 (libavformat/rtmpdh.c:403)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:333 (libavformat/rtmpdh.c:333)
>>>               rtmpdh.o:(ff_dh_init) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_lset
>>> referenced by rtmpdh.c:290 (libavformat/rtmpdh.c:290)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:337 (libavformat/rtmpdh.c:337)
>>>               rtmpdh.o:(ff_dh_init) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_cmp_mpi
>>> referenced by rtmpdh.c:291 (libavformat/rtmpdh.c:291)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:297 (libavformat/rtmpdh.c:297)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_copy
>>> referenced by rtmpdh.c:295 (libavformat/rtmpdh.c:295)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_sub_int
>>> referenced by rtmpdh.c:296 (libavformat/rtmpdh.c:296)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_cmp_int
>>> referenced by rtmpdh.c:311 (libavformat/rtmpdh.c:311)
>>>               rtmpdh.o:(dh_is_valid_public_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_write_binary
>>> referenced by rtmpdh.c:385 (libavformat/rtmpdh.c:385)
>>>               rtmpdh.o:(ff_dh_write_public_key) in archive libavformat/libavformat.a
>>> referenced by rtmpdh.c:262 (libavformat/rtmpdh.c:262)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_mpi_read_binary
>>> referenced by rtmpdh.c:398 (libavformat/rtmpdh.c:398)
>>>               rtmpdh.o:(ff_dh_compute_shared_secret_key) in archive libavformat/libavformat.a

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:127: ffprobe_g] Error 1
===> 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/multimedia/emby-server-devel