[package - main-powerpc64-default][multimedia/mencoder] Failed for mencoder-1.5.0.20220924 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 19 Feb 2023 09:47:35 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:     riggs@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/main-powerpc64-default/pb64d2f1e5acf_sc92790b3fb/logs/mencoder-1.5.0.20220924.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=main-powerpc64-default&build=pb64d2f1e5acf_sc92790b3fb
Log:

=>> Building multimedia/mencoder
build started at Sun Feb 19 09:43:49 UTC 2023
port directory: /usr/ports/multimedia/mencoder
package name: mencoder-1.5.0.20220924
building for: FreeBSD main-powerpc64-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 powerpc
maintained by: riggs@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 10




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
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-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64-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 mencoder-1.5.0.20220924:
     AMR_NB=off: AMR Narrow Band audio support (opencore)
     AMR_WB=off: AMR Wide Band audio support (opencore)
     ASS=on: Subtitles rendering via libass
     BLURAY=off: BluRay support
     CDIO=off: CDIO support via libcdio
     DEBUG=off: Build with debugging support
     DV=off: Quasar DV video codec support (libdv)
     DVDNAV=on: DVD navigation features support
     FAAC=off: FAAC AAC encoder support
     FONTCONFIG=on: X11 font configuration support
     FRIBIDI=off: Bidirectional text support via GNU FriBidi
     GIF=on: GIF image format support
     GNUTLS=on: SSL/TLS support via GnuTLS
     GSM=off: GSM codec support
     IPV6=on: IPv6 protocol support
     JACK=off: JACK audio server support
     JPEG=on: JPEG image format support
     LADSPA=off: LADSPA audio plugins support
     LIBMNG=off: MNG animated images support via libmng
     LZO=off: Enable external liblzo library
     MAD=off: MAD MP3 audio decoder support
     NAS=off: Network Audio System support
     NLS=on: Native Language Support
     OPENAL=off: Audio support via OpenAL
     OPENJPEG=off: Enhanced JPEG graphics support
     OPUS=off: Opus audio codec support
     PULSEAUDIO=off: PulseAudio sound server support
     RTMP=off: RTMP protocol support via librtmp
     SMB=off: SMB network protocol support
     SPEEX=off: Speex audio format support
     THEORA=off: Ogg Theora video codec support
     TWOLAME=off: TwoLAME MP2 audio encoder support
     V4L=off: Video 4 Linux support
     VPX=off: VP8/VP9 video codec support
     X264=on: H.264 video codec support via x264
     XVID=on: Xvid MPEG-4 video codec support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
riggs@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--cc="cc"  --host-cc="cc"  --as="as"  --mandir="/usr/local/man"  --extra-cflags="-I/usr/local/include -I/usr/local/include"  --extra-libs="-L/usr/local/lib"  --disable-alsa  --disable-ass-internal  --disable-bitmap-font  --disable-crystalhd  --disable-esd  --disable-faad  --disable-ffmpeg_a  --disable-ggi  --disable-ggiwmh  --disable-liba52  --disable-libbs2b  --disable-libilbc  --disable-libnut  --disable-libvorbis  --disable-live  --disable-joystick  --disable-mad  --disable-libmpeg2  --disable-nemesi  --disable-real  --yasm='' --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-bluray --disable-libcdio --disable-libdv --disable-faac --disable-fribidi --disable-libgsm --disable-jack --disable-ladspa --disable-mng --disable-liblzo --disable-nas --enable-nls --disable-openal --disable-libopenjpeg --disable-libopus --disable-pulse --disable-librtmp --disable-smb --disable-speex --disable-theora --disable-twolame --disable-tv-v4l1 --disable-tv-v4l2 --disable-libvpx-lavc -
 -disable-mplayer  --disable-libdca  --disable-x11  --disable-vdpau  --disable-rtc  --disable-arts  --disable-caca  --disable-lirc  --disable-sdl  --disable-svga  --disable-aa  --disable-joystick  --disable-directfb  --disable-mpg123  --disable-enca  --disable-musepack  --disable-sndio --disable-win32dll  --disable-qtx
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2022-09-24" MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/mencoder/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/mencoder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/mencoder/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/mencoder/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/mencoder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/mencoder/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 -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG "  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--
PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mencoder"  EXAMPLESDIR="share/examples/mencoder"  DATADIR="share/mplayer"  WWWDIR="www/mencoder"  ETCDIR="etc/mencoder"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mplayer DOCSDIR=/usr/local/share/doc/mencoder EXAMPLESDIR=/usr/local/share/examples/mencoder  WWWDIR=/usr/local/www/mencoder ETCDIR=/usr/local/etc/mencoder
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400079
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)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
N - O - T - E

<snip>
                                           ^~~~~~~~~
libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here
static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate)
                                                     ^
libmpdemux/muxer_mpeg.c:607:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        write_mpeg_rate(MUX_MPEG1, &buff[len], muxer->sysrate);
                                   ^~~~~~~~~~
libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here
static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate)
                                                     ^
libmpdemux/muxer_mpeg.c:622:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                write_mpeg_std(&buff[len], priv->sys_info.streams[i].bufsize, priv->sys_info.streams[i].type,
                               ^~~~~~~~~~
libmpdemux/muxer_mpeg.c:539:43: note: passing argument to parameter 'b' here
static void write_mpeg_std(unsigned char *b, unsigned int size, unsigned int type, uint8_t mod)
                                          ^
libmpdemux/muxer_mpeg.c:673:25: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        crc = CalcCRC32(buff, len);
                        ^~~~
libmpdemux/muxer_mpeg.c:293:36: note: passing argument to parameter 'buff' here
static uint32_t CalcCRC32(uint8_t *buff, uint32_t size)
                                   ^
libmpdemux/muxer_mpeg.c:858:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                offset = write_mpeg_pack_header(muxer, buff);
                                                       ^~~~
libmpdemux/muxer_mpeg.c:573:57: note: passing argument to parameter 'buff' here
static int write_mpeg_pack_header(muxer_t *muxer, char *buff)
                                                        ^
libmpdemux/muxer_mpeg.c:859:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                offset += write_mpeg_system_header(muxer, &buff[offset]);
                                                          ^~~~~~~~~~~~~
libmpdemux/muxer_mpeg.c:596:59: note: passing argument to parameter 'buff' here
static int write_mpeg_system_header(muxer_t *muxer, char *buff)
                                                          ^
libmpdemux/muxer_mpeg.c:1147:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                spriv->pack_offset = write_mpeg_pack_header(muxer, spriv->pack);
                                                                   ^~~~~~~~~~~
libmpdemux/muxer_mpeg.c:573:57: note: passing argument to parameter 'buff' here
static int write_mpeg_pack_header(muxer_t *muxer, char *buff)
                                                        ^
libmpdemux/muxer_mpeg.c:1150:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        spriv->pack_offset += write_mpeg_system_header(muxer, &spriv->pack[spriv->pack_offset]);
                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpdemux/muxer_mpeg.c:596:59: note: passing argument to parameter 'buff' here
static int write_mpeg_system_header(muxer_t *muxer, char *buff)
                                                          ^
libmpdemux/muxer_mpeg.c:1156:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        spriv->pack_offset += write_mpeg_psm(muxer, &spriv->pack[spriv->pack_offset]);
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpdemux/muxer_mpeg.c:632:49: note: passing argument to parameter 'buff' here
static int write_mpeg_psm(muxer_t *muxer, char *buff)
                                                ^
libmpdemux/muxer_mpeg.c:2392:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        parse_audio(muxer->streams[i], 1, &nf, &fake_timer, priv->init_adelay, priv->drop);
                                                          ^~~
libmpdemux/muxer_mpeg.c:2062:71: note: passing argument to parameter 'nf' here
static int parse_audio(muxer_stream_t *s, int finalize, unsigned int *nf, double *timer, double delay, int drop)
                                                                      ^
libmpdemux/muxer_mpeg.c:2713:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if((priv->buff == NULL))
            ~~~~~~~~~~~^~~~~~~
libmpdemux/muxer_mpeg.c:2713:17: note: remove extraneous parentheses around the comparison to silence this warning
        if((priv->buff == NULL))
           ~           ^      ~
libmpdemux/muxer_mpeg.c:2713:17: note: use '=' to turn this equality comparison into an assignment
        if((priv->buff == NULL))
                       ^~
                       =
18 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c
In file included from libmpdemux/muxer_rawaudio.c:27:
In file included from libmpdemux/aviheader.h:28:
libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->pts=MP_NOPTS_VALUE;
          ^~~~~~~~~~~~~~
libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->endpts=MP_NOPTS_VALUE;
             ^~~~~~~~~~~~~~
libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->stream_pts = MP_NOPTS_VALUE;
                   ^~~~~~~~~~~~~~
libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c
In file included from libmpdemux/muxer_rawvideo.c:29:
In file included from libmpdemux/aviheader.h:28:
libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->pts=MP_NOPTS_VALUE;
          ^~~~~~~~~~~~~~
libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->endpts=MP_NOPTS_VALUE;
             ^~~~~~~~~~~~~~
libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->stream_pts = MP_NOPTS_VALUE;
                   ^~~~~~~~~~~~~~
libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c
In file included from libmpcodecs/ae_lavc.c:28:
In file included from ./libmpdemux/aviheader.h:28:
./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->pts=MP_NOPTS_VALUE;
          ^~~~~~~~~~~~~~
./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->endpts=MP_NOPTS_VALUE;
             ^~~~~~~~~~~~~~
./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->stream_pts = MP_NOPTS_VALUE;
                   ^~~~~~~~~~~~~~
./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c
In file included from libmpcodecs/ve_lavc.c:44:
./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->pts=MP_NOPTS_VALUE;
          ^~~~~~~~~~~~~~
./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->endpts=MP_NOPTS_VALUE;
             ^~~~~~~~~~~~~~
./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  dp->stream_pts = MP_NOPTS_VALUE;
                   ^~~~~~~~~~~~~~
./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpcodecs/ve_lavc.c:444:39: error: incompatible integer to pointer conversion assigning to 'RcOverride *' (aka 'struct RcOverride *') from 'int' [-Wint-conversion]
        lavc_venc_context->rc_override=
                                      ^
libmpcodecs/ve_lavc.c:689:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                while(encode_frame(vf, NULL, MP_NOPTS_VALUE) > 0);
                                             ^~~~~~~~~~~~~~
./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpcodecs/ve_lavc.c:743:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if(pts == MP_NOPTS_VALUE)
              ^~~~~~~~~~~~~~
./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpcodecs/ve_lavc.c:751:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if(pts != MP_NOPTS_VALUE)
                  ^~~~~~~~~~~~~~
./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpcodecs/ve_lavc.c:754:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            pic->pts= MP_NOPTS_VALUE;
                      ^~~~~~~~~~~~~~
./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
libmpcodecs/ve_lavc.c:776:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    dts = pts = MP_NOPTS_VALUE;
                ^~~~~~~~~~~~~~
./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
                        ~~~~^
8 warnings and 1 error generated.
gmake[1]: *** [Makefile:730: libmpcodecs/ve_lavc.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
17 warnings generated.
gmake[1]: Leaving directory '/wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2022-09-24'
===> 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/mencoder