[package - main-i386-default][multimedia/motion] Failed for motion-4.3.2_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 02 Aug 2023 19:34:48 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:     ports@blievers.net
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pf6493e8ca127_sfa3cf6cdc6/logs/motion-4.3.2_7.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pf6493e8ca127_sfa3cf6cdc6
Log:

=>> Building multimedia/motion
build started at Wed Aug  2 19:34:21 UTC 2023
port directory: /usr/ports/multimedia/motion
package name: motion-4.3.2_7
building for: FreeBSD main-i386-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400093 i386
maintained by: ports@blievers.net
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400093
Job Id: 10




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400093
UNAME_v=FreeBSD 14.0-CURRENT 1400093
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/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 motion-4.3.2_7:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
     MYSQL=off: MySQL database support
     PGSQL=off: PostgreSQL database support
     SQLITE3=off: SQLite 3 database support
====> Video capture driver (Netcam support only if none selected): you can only select none or one of them
     BKTR=off: BKTR based TV capture cards
     PWCBSD=off: PWCBSD based Webcams
     WEBCAMD=on: Webcams using webcamd
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@blievers.net
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-bktr --with-ffmpeg=/usr/local/ffmpeg4 --without-mysql --without-pgsql --without-pwcbsd --without-sqlite3 --with-pwcbsd --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG_PATH="/usr/local/ffmpeg4/libdata/pkgconfig" MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/motion/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/motion/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/motion/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/motion/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/motion/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/motion/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PKG_CONFIG_PATH="/usr/local/ffmpeg4/libdata/pkgconfig" XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/motion/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/motion/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/motion/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/motion/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/motion/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/motion/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 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -L/usr/local/ffmpeg4/lib -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-
O2 -pipe -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/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--
PORTDOCS="" PORTEXAMPLES="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/motion"  EXAMPLESDIR="share/examples/motion"  DATADIR="share/motion"  WWWDIR="www/motion"  ETCDIR="etc/motion"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/motion DOCSDIR=/usr/local/share/doc/motion EXAMPLESDIR=/usr/local/share/examples/motion  WWWDIR=/usr/local/www/motion ETCDIR=/usr/local/etc/motion
--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
MACHINE=i386
MACHINE_ARCH=i386
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_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.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" "-m" "elf_i386_fbsd" "-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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400093
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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   >============================
===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   motion-4.3.2_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.4.pkg
[main-i386-default-job-10] Installing pkg-1.20.4...
[main-i386-default-job-10] Extracting pkg-1.20.4: .......... done
===>   motion-4.3.2_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of motion-4.3.2_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by motion-4.3.2_7 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by motion-4.3.2_7 for building
=> SHA256 Checksum OK for Motion-Project-motion-release-4.3.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
<snip>
depbase=`echo video_v4l2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT video_v4l2.o -MD -MP -MF $depbase.Tpo -c -o video_v4l2.o video_v4l2.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo video_common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT video_common.o -MD -MP -MF $depbase.Tpo -c -o video_common.o video_common.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo video_bktr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT video_bktr.o -MD -MP -MF $depbase.Tpo -c -o video_bktr.o video_bktr.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT netcam.o -MD -MP -MF $depbase.Tpo -c -o netcam.o netcam.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_http.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT netcam_http.o -MD -MP -MF $depbase.Tpo -c -o netcam_http.o netcam_http.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_ftp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT netcam_ftp.o -MD -MP -MF $depbase.Tpo -c -o netcam_ftp.o netcam_ftp.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_jpeg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT netcam_jpeg.o -MD -MP -MF $depbase.Tpo -c -o netcam_jpeg.o netcam_jpeg.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_wget.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT netcam_wget.o -MD -MP -MF $depbase.Tpo -c -o netcam_wget.o netcam_wget.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_rtsp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT netcam_rtsp.o -MD -MP -MF $depbase.Tpo -c -o netcam_rtsp.o netcam_rtsp.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo track.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT track.o -MD -MP -MF $depbase.Tpo -c -o track.o track.c &&\
mv -f $depbase.Tpo $depbase.Po
netcam_rtsp.c:141:17: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
                av_init_packet(&tmp[indx].packet);
                ^
/usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
netcam_rtsp.c:183:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
        av_init_packet(&rtsp_data->pktarray[indx_next].packet);
        ^
/usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
netcam_rtsp.c:599:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&rtsp_data->packet_recv);
    ^
/usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
netcam_rtsp.c:641:13: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
            av_init_packet(&rtsp_data->packet_recv);
            ^
/usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
depbase=`echo alg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT alg.o -MD -MP -MF $depbase.Tpo -c -o alg.o alg.c &&\
mv -f $depbase.Tpo $depbase.Po
4 warnings generated.
depbase=`echo event.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT event.o -MD -MP -MF $depbase.Tpo -c -o event.o event.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo picture.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT picture.o -MD -MP -MF $depbase.Tpo -c -o picture.o picture.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo rotate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT rotate.o -MD -MP -MF $depbase.Tpo -c -o rotate.o rotate.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo translate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT translate.o -MD -MP -MF $depbase.Tpo -c -o translate.o translate.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo md5.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT md5.o -MD -MP -MF $depbase.Tpo -c -o md5.o md5.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo stream.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT stream.o -MD -MP -MF $depbase.Tpo -c -o stream.o stream.c &&\
mv -f $depbase.Tpo $depbase.Po
md5.c:190:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void MD5Transform (state, block)
            ^
md5.c:283:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void Encode (output, input, len)
            ^
md5.c:302:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void Decode (output, input, len)
            ^
md5.c:316:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void MD5_memcpy (output, input, len)
            ^
md5.c:328:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void MD5_memset (output, value, len)
            ^
5 warnings generated.
depbase=`echo ffmpeg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT ffmpeg.o -MD -MP -MF $depbase.Tpo -c -o ffmpeg.o ffmpeg.c &&\
mv -f $depbase.Tpo $depbase.Po
ffmpeg.c:1089:13: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
            av_init_packet(&ffmpeg->pkt);
            ^
/usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
ffmpeg.c:1132:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&ffmpeg->pkt);
    ^
/usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
ffmpeg.c:1184:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&ffmpeg->pkt);
    ^
/usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
depbase=`echo webu.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT webu.o -MD -MP -MF $depbase.Tpo -c -o webu.o webu.c &&\
mv -f $depbase.Tpo $depbase.Po
3 warnings generated.
depbase=`echo webu_html.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT webu_html.o -MD -MP -MF $depbase.Tpo -c -o webu_html.o webu_html.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo webu_stream.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT webu_stream.o -MD -MP -MF $depbase.Tpo -c -o webu_stream.o webu_stream.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo webu_text.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT webu_text.o -MD -MP -MF $depbase.Tpo -c -o webu_text.o webu_text.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo mmalcam.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -isystem /usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT mmalcam.o -MD -MP -MF $depbase.Tpo -c -o mmalcam.o mmalcam.c &&\
mv -f $depbase.Tpo $depbase.Po
cc -D_THREAD_SAFE -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/webp  -I/usr/local/ffmpeg4/include  -O2 -pipe  -I/usr/local/ffmpeg4/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -L/usr/local/ffmpeg4/lib -fstack-protector-strong  -o motion motion.o logger.o conf.o draw.o jpegutils.o video_loopback.o video_v4l2.o video_common.o video_bktr.o netcam.o netcam_http.o netcam_ftp.o netcam_jpeg.o netcam_wget.o netcam_rtsp.o track.o alg.o event.o picture.o rotate.o translate.o md5.o stream.o ffmpeg.o webu.o webu_html.o webu_stream.o webu_text.o mmalcam.o   /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -pthread   -L/usr/local/lib -ljpeg  -L/usr/local/lib -lmicrohttpd  -L/usr/local/lib -lwebpmux  -L/usr/local/ffmpeg4/lib -lavutil -lavformat -lavcodec -lswscale -lavdevice 
ld: error: undefined symbol: WebPConfigInitInternal
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPPictureInitInternal
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPPictureAlloc
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPMemoryWriterInit
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPMemoryWrite
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPEncode
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPMemoryWriterClear
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPPictureFree
>>> referenced by picture.c
>>>               picture.o:(put_picture)

ld: error: undefined symbol: WebPFree
>>> referenced by picture.c
>>>               picture.o:(put_picture)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:424: motion] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/multimedia/motion/work/motion-release-4.3.2/src'
gmake[2]: *** [Makefile:556: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/multimedia/motion/work/motion-release-4.3.2'
gmake[1]: *** [Makefile:400: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/multimedia/motion/work/motion-release-4.3.2'
===> 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/motion