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

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 04 May 2024 01:15:56 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/beefy20/data/140amd64-quarterly/fb416280d913/logs/emby-server-devel-4.9.0.12.log
Build URL:      https://pkg-status.freebsd.org/beefy20/build.html?mastername=140amd64-quarterly&build=fb416280d913
Log:

=>> Building multimedia/emby-server-devel
build started at Sat May  4 01:05:21 UTC 2024
port directory: /usr/ports/multimedia/emby-server-devel
package name: emby-server-devel-4.9.0.12
building for: FreeBSD 140amd64-quarterly-job-29 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 amd64
maintained by: driesm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 273 Apr  8 19:19 /usr/ports/multimedia/emby-server-devel/Makefile
Ports top last git commit: fb416280d
Ports top unclean checkout: no
Port dir last git commit: b3aa1ea86
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1400097
Job Id: 29

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p6
UNAME_r=14.0-RELEASE-p6
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/140amd64-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/140amd64-quarterly/29/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140amd64-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=14.0 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
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)  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
[140amd64-quarterly-job-29] Installing pkg-1.21.2...
[140amd64-quarterly-job-29] 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
[140amd64-quarterly-job-29] Installing nasm-2.16.01_1,2...
[140amd64-quarterly-job-29] 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
[140amd64-quarterly-job-29] Installing opencl-3.0.15...
[140amd64-quarterly-job-29] 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
[140amd64-quarterly-job-29] Installing gmake-4.4.1...
[140amd64-quarterly-job-29] `-- Installing gettext-runtime-0.22.5...
[140amd64-quarterly-job-29] |   `-- Installing indexinfo-0.3.1...
<snip>
char* print_graphs_format = "json";
      ^                     ~~~~~~
fftools/ffmpeg_opt.c:276:87: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
        { "abort_on"           , NULL, 0, AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT64_MIN, INT64_MAX,           .unit = "flags" },
        ~                                                                             ^~~~~~~~~
/usr/include/x86/_stdint.h:86:19: note: expanded from macro 'INT64_MAX'
#define INT64_MAX       0x7fffffffffffffff
                        ^~~~~~~~~~~~~~~~~~
2 warnings generated.
cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DZLIB_CONST -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing    -std=c11 -fomit-frame-pointer -pthread  -I/usr/local/include -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/mfx -I/usr/local/include/opus -I/usr/local/include/opus -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/
usr/local/include -I/usr/local/include/webp -I/usr/local/include -I/usr/local/include/webp -I/usr/local/include -DX264_API_IMPORTS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type    -MMD -MF fftools/ffmpeg_filter.d -MT fftools/ffmpeg_filter.o -c -o fftools/ffmpeg_filter.o fftools/ffmpeg_filter.c
fftools/ffmpeg_filter.c:1000:35: warning: floating-point comparison is always true; constant cannot be represented exactly in type 'float' [-Wliteral-range]
        if (audio_drift_threshold != 0.1)
            ~~~~~~~~~~~~~~~~~~~~~ ^  ~~~
1 warning generated.
cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DZLIB_CONST -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing    -std=c11 -fomit-frame-pointer -pthread  -I/usr/local/include -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/mfx -I/usr/local/include/opus -I/usr/local/include/opus -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/
usr/local/include -I/usr/local/include/webp -I/usr/local/include -I/usr/local/include/webp -I/usr/local/include -DX264_API_IMPORTS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type    -MMD -MF fftools/ffmpeg_hw.d -MT fftools/ffmpeg_hw.o -c -o fftools/ffmpeg_hw.o fftools/ffmpeg_hw.c
cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DZLIB_CONST -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing    -std=c11 -fomit-frame-pointer -pthread  -I/usr/local/include -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/mfx -I/usr/local/include/opus -I/usr/local/include/opus -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/
usr/local/include -I/usr/local/include/webp -I/usr/local/include -I/usr/local/include/webp -I/usr/local/include -DX264_API_IMPORTS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type    -MMD -MF fftools/filterwriters.d -MT fftools/filterwriters.o -c -o fftools/filterwriters.o fftools/filterwriters.c
fftools/filterwriters.c:682:78: warning: implicit conversion from enumeration type 'enum AVPixelFormat' to different enumeration type 'enum AVHWDeviceType' [-Wenum-conversion]
    print_str("HardwareFormat", av_hwdevice_get_type_name(hw_frames_context->format));
                                ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^~~~~~
fftools/filterwriters.h:176:59: note: expanded from macro 'print_str'
#define print_str(k, v)         writer_print_string(w, k, v, 0)
                                                          ^
fftools/filterwriters.c:683:78: warning: implicit conversion from enumeration type 'enum AVPixelFormat' to different enumeration type 'enum AVHWDeviceType' [-Wenum-conversion]
    print_str("SoftwareFormat", av_hwdevice_get_type_name(hw_frames_context->sw_format));
                                ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
fftools/filterwriters.h:176:59: note: expanded from macro 'print_str'
#define print_str(k, v)         writer_print_string(w, k, v, 0)
                                                          ^
fftools/filterwriters.c:938:18: warning: unused variable 'graph_file' [-Wunused-variable]
    static FILE *graph_file = 0;
                 ^
3 warnings generated.
cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DZLIB_CONST -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing    -std=c11 -fomit-frame-pointer -pthread  -I/usr/local/include -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/mfx -I/usr/local/include/opus -I/usr/local/include/opus -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/
usr/local/include -I/usr/local/include/webp -I/usr/local/include -I/usr/local/include/webp -I/usr/local/include -DX264_API_IMPORTS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type    -MMD -MF fftools/cmdutils.d -MT fftools/cmdutils.o -c -o fftools/cmdutils.o fftools/cmdutils.c
fftools/cmdutils.c:327:79: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
        *(int64_t *)dst = parse_number_or_die(opt, arg, OPT_INT64, INT64_MIN, INT64_MAX);
                          ~~~~~~~~~~~~~~~~~~~                                 ^~~~~~~~~
/usr/include/x86/_stdint.h:86:19: note: expanded from macro 'INT64_MAX'
#define INT64_MAX       0x7fffffffffffffff
                        ^~~~~~~~~~~~~~~~~~
fftools/cmdutils.c:2026:34: warning: 'av_mallocz_array' is deprecated [-Wdeprecated-declarations]
        filter_context->outputs= av_mallocz_array(1, sizeof(AVFilterLink*));
                                 ^
./libavutil/mem.h:246:1: note: 'av_mallocz_array' has been explicitly marked deprecated here
attribute_deprecated
^
./libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
fftools/cmdutils.c:2001:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int i, count, ret;
                  ^
3 warnings generated.
cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DZLIB_CONST -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing    -std=c11 -fomit-frame-pointer -pthread  -I/usr/local/include -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/mfx -I/usr/local/include/opus -I/usr/local/include/opus -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/
usr/local/include -I/usr/local/include/webp -I/usr/local/include -I/usr/local/include/webp -I/usr/local/include -DX264_API_IMPORTS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type    -MMD -MF fftools/ffmpeg.d -MT fftools/ffmpeg.o -c -o fftools/ffmpeg.o fftools/ffmpeg.c
fftools/ffmpeg.c:1147:21: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
            int64_t next_pkt_ts = (next_picture_pkt_pts != AV_NOPTS_VALUE) ? next_picture_pkt_pts : next_picture->pkt_dts;
                    ^
fftools/ffmpeg.c:2665:18: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
        unsigned j, nb_reqs;
                 ^
fftools/ffmpeg.c:2693:18: warning: unused variable 'end_pts' [-Wunused-variable]
    int64_t pts, end_pts;
                 ^
3 warnings generated.
cc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -fstack-protector-strong -L/usr/local/lib   -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -Qunused-arguments   -o ffmpeg_g fftools/ffmpeg_opt.o fftools/ffmpeg_filter.o fftools/ffmpeg_hw.o fftools/filterwriters.o fftools/cmdutils.o fftools/ffmpeg.o  -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale -lavutil  -lm -L/usr/local/lib -ldrm -pthread -lm -L/usr/local/lib -lfribidi -L/usr/local/lib -lva -L/usr/local/lib -lOpenCL -L/usr/local/lib -lfontconfig -lfreetype -L/usr/local/lib -lfreetype -L/usr/local/lib -lass -L/usr/local/lib -lmfx -lm -lbz2 -lchromaprint -L/lib -lz -L/usr/local/lib -lmbedtls -L/usr/local/lib -lvpx -lm -L/usr/local/lib -lvpx -lm -L/usr/local/lib -lvpx -lm -L/usr/local/lib -lvpx -lm -L/usr/local/lib -lweb
pmux -pthread -lm -llzma -L/usr/local/lib -laribb24 -L/usr/local/lib -ldav1d -L/usr/local/lib -lzvbi -lintl -R/usr/local/lib -lpthread -lm -lpng -lz -L/lib -lz -lmp3lame -lm -L/usr/local/lib -lopus -ltheoraenc -ltheoradec -logg -L/usr/local/lib -lvorbis -L/usr/local/lib -lvorbisenc -L/usr/local/lib -lwebp -L/usr/local/lib -lx264 -L/usr/local/lib -lx265 -L/usr/local/lib -lva -L/usr/local/lib -lmfx -lm -lm -lm -pthread -L/usr/local/lib -lva-drm -lva -lm -L/usr/local/lib -ldrm -L/usr/local/lib -lmfx -L/usr/local/lib -lOpenCL -L/usr/local/lib -lva  
ld: error: undefined symbol: mbedtls_entropy_init
>>> referenced by tls_mbedtls.c:177 (libavformat/tls_mbedtls.c:177)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> 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_init
>>> referenced by tls_mbedtls.c:178 (libavformat/tls_mbedtls.c:178)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> 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_x509_crt_init
>>> referenced by tls_mbedtls.c:179 (libavformat/tls_mbedtls.c:179)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_pk_init
>>> referenced by tls_mbedtls.c:180 (libavformat/tls_mbedtls.c:180)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_x509_crt_parse_file
>>> referenced by tls_mbedtls.c:184 (libavformat/tls_mbedtls.c:184)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:192 (libavformat/tls_mbedtls.c:192)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_pk_parse_keyfile
>>> referenced by tls_mbedtls.c:200 (libavformat/tls_mbedtls.c:200)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_entropy_func
>>> referenced by tls_mbedtls.c:209 (libavformat/tls_mbedtls.c:209)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> 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_seed
>>> referenced by tls_mbedtls.c:209 (libavformat/tls_mbedtls.c:209)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> 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_random
>>> referenced by tls_mbedtls.c:227 (libavformat/tls_mbedtls.c:227)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> 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_pk_free
>>> referenced by tls_mbedtls.c:57 (libavformat/tls_mbedtls.c:57)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:57 (libavformat/tls_mbedtls.c:57)
>>>               tls_mbedtls.o:(tls_close) in archive libavformat/libavformat.a

ld: error: undefined symbol: mbedtls_x509_crt_free
>>> referenced by tls_mbedtls.c:58 (libavformat/tls_mbedtls.c:58)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:59 (libavformat/tls_mbedtls.c:59)
>>>               tls_mbedtls.o:(tls_open) in archive libavformat/libavformat.a
>>> referenced by tls_mbedtls.c:58 (libavformat/tls_mbedtls.c:58)
>>>               tls_mbedtls.o:(tls_close) in archive libavformat/libavformat.a
>>> referenced 1 more times

ld: error: undefined symbol: mbedtls_ctr_drbg_free
>>> 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
>>> 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_entropy_free
>>> 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
>>> 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_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_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_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: 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
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/emby-server-devel