[package - 124i386-quarterly][multimedia/mencoder] Failed for mencoder-1.5.0.20230321_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 22 Aug 2023 14:16:32 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/beefy4/data/124i386-quarterly/f3d8c4bf5c40/logs/mencoder-1.5.0.20230321_4.log
Build URL:      https://pkg-status.freebsd.org/beefy4/build.html?mastername=124i386-quarterly&build=f3d8c4bf5c40
Log:

=>> Building multimedia/mencoder
build started at Tue Aug 22 14:15:05 UTC 2023
port directory: /usr/ports/multimedia/mencoder
package name: mencoder-1.5.0.20230321_4
building for: FreeBSD 124i386-quarterly-job-01 12.4-RELEASE-p4 FreeBSD 12.4-RELEASE-p4 i386
maintained by: riggs@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1204000
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p4
UNAME_r=12.4-RELEASE-p4
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/124i386-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/124i386-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/124i386-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for mencoder-1.5.0.20230321_4:
     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
     RTCPU=on: Use runtime CPU detection
     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 --enable-runtime-cpudetection --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 --codecsdir=/usr/local/lib/win32
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2023-03-21"  PKG_CONFIG_PATH="/usr/local/ffmpeg4/libdata/pkgconfig" 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--
PKG_CONFIG_PATH="/usr/local/ffmpeg4/libdata/pkgconfig" 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  -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -mstack-alignment=16 -mstackrealign"  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong -Wl,-z,notext" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/ffmpe
g4/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -mstack-alignment=16 -mstackrealign  -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=freebsd12  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=12.4 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--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" 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
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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd12.4 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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.4-RELEASE-p4
OSREL=12.4
OSVERSION=1204000
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   >============================
N - O - T - E

There are some knobs which *can* *not* be selected via the
OPTIONS framework. At the moment, these settings are:
DEFAULT_DVD_DEVICE=/dev/cd0
DEFAULT_CDROM_DEVICE=/dev/cd0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
<snip>
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
                        ~~~~^
In file included from mencoder.c:245:
In file included from ./cfg-mencoder.h:34:
./cfg-common.h:301:18: warning: initializing 'void *' with an expression of type 'const m_option_t [49]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
                 ^~~~~~~~~~~
./cfg-common.h:314:18: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL},
                 ^~~~~~~~~~~~~
./cfg-common.h:431:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
                  ^~~~~~~~~~~~~~~~~~~~
./cfg-common.h:432:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
                  ^~~~~~~~~~~~~~~~~~~~
./cfg-common.h:448:12: warning: initializing 'void *' with an expression of type 'const m_option_t [6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL},
           ^~~~~~~~~~~
./cfg-common.h:455:12: warning: initializing 'void *' with an expression of type 'const m_option_t [29]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
           ^~~~~~~~~~~
./cfg-common.h:464:14: warning: initializing 'void *' with an expression of type 'const m_option_t [9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
             ^~~~~~~~~~~~~
./cfg-common.h:506:16: warning: initializing 'void *' with an expression of type 'const m_option_t [3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
               ^~~~~~~~~~~~~~~~~
./cfg-common.h:509:65: warning: initializing 'void *' with an expression of type 'const m_obj_list_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list},
                                                                ^~~~~~~~~~~~
./cfg-common.h:519:16: warning: initializing 'void *' with an expression of type 'const char []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
               ^~~~~~~
./cfg-common.h:525:13: warning: initializing 'void *' with an expression of type 'const m_option_t [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
            ^~~~~~~~~~~~~~~~~~
./cfg-common.h:547:18: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
                 ^~~~~~~~~~~~~~~~~~~~~
./cfg-common.h:548:20: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"lavfdopts",  lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
                   ^~~~~~~~~~~~~~
In file included from mencoder.c:245:
./cfg-mencoder.h:190:13: warning: initializing 'void *' with an expression of type 'const m_option_t [9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
            ^~~~~~~~
./cfg-mencoder.h:191:13: warning: initializing 'void *' with an expression of type 'const m_option_t [12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
            ^~~~~~~~
./cfg-mencoder.h:194:12: warning: initializing 'void *' with an expression of type 'const m_option_t [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
           ^~~~~~~
./cfg-mencoder.h:221:14: warning: initializing 'void *' with an expression of type 'const m_option_t [9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
             ^~~~~~~~~
./cfg-mencoder.h:229:18: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
                 ^~~~~~~~~~~~~
./cfg-mencoder.h:261:19: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"mpegopts",  mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
                  ^~~~~~~~~~~~~
./cfg-mencoder.h:263:19: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"lavfopts",  lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
                  ^~~~~~~~~~~~~
mencoder.c:361:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (! mux) return 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
                        ~~~~^
mencoder.c:465:109: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL);
                                                                                                            ^~~~~~~~~~~~~~
./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
                        ~~~~^
mencoder.c:465:125: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL);
                                                                                                                            ^~~~~~~~~~~~~~
./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
                        ~~~~^
mencoder.c:467:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:467:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:810:97: warning: passing 'unsigned char [3]' 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]
    if (spudec_ifo && vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1, dvdsub_id, tmp) >= 0)
                                                                                                ^~~
./sub/vobsub.h:24:150: note: passing argument to parameter 'langid' here
int vobsub_parse_ifo(void* this, const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force, int sid, char *langid);
                                                                                                                                                     ^
mencoder.c:1403:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:1403:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:1493:107: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:1493:123: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:1497:74: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:1497:90: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:1506:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                                       drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL);
                                                   ^~~~~~~~~~~~~~
./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
                        ~~~~^
mencoder.c:1506:68: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                                       drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL);
                                                                   ^~~~~~~~~~~~~~
./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
                        ~~~~^
mencoder.c:1509:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (did_seek && sh_video->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
                        ~~~~^
mencoder.c:1519:100: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    blit_frame = decoded_frame && filter_video(sh_video, decoded_frame, v_muxer_time + sub_offset, 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
                        ~~~~^
mencoder.c:1559:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, 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
                        ~~~~^
mencoder.c:1559:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, 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
                        ~~~~^
41 warnings and 2 errors generated.
gmake[1]: *** [Makefile:730: mencoder.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2023-03-21'
===> 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