[Bug 291932] multimedia/mplayer-1.5.0.20250816_1 fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Dec 2025 13:31:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291932

            Bug ID: 291932
           Summary: multimedia/mplayer-1.5.0.20250816_1 fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bugs@rufus.in-berlin.de
 Attachment #266520 text/plain
         mime type:

Created attachment 266520
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266520&action=edit
poudriere error log for mplayer-1.5.0.20250816_1

mplayer-1.5.0.20250816_1 fails to build

snippet from error log (for full log please see attachment)

---8<---
libmpcodecs/vd_ffmpeg.c:287:45: warning: call to undeclared function
'av_alloc_vdpaucontext'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
  287 |             avctx->hwaccel_context = vdpc = av_alloc_vdpaucontext();
      |                                             ^
libmpcodecs/vd_ffmpeg.c:287:43: error: incompatible integer to pointer
conversion assigning to 'AVVDPAUContext *' (aka 'struct AVVDPAUContext *') from
'int' [-Wint-conversion]
  287 |             avctx->hwaccel_context = vdpc = av_alloc_vdpaucontext();
      |                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~
--->8---

build environment:

=>> Building multimedia/mplayer
build started at 2025-12-25T14:19:29+01:00
port directory: /usr/ports/multimedia/mplayer
package name: mplayer-1.5.0.20250816_1
building for: FreeBSD 150amd64-default-job-01 15.0-RELEASE FreeBSD 15.0-RELEASE
amd64
maintained by: riggs@FreeBSD.org
port version: 1.5.0.20250816
port revision: 1
Makefile datestamp: Dec 24 20:18:22 2025
Ports top last git commit: 3315f7d373e75bf2b18775df27494028e32fabf1
Ports top unclean checkout: no
=>> Inspecting
/poudriere/data/.m/150amd64-default/ref//usr/ports/multimedia/mplayer for
modifications to git checkout... no
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.99.20251213
Host OSVERSION: 1500068
Jail OSVERSION: 1500068

===> The following configuration options are available for
mplayer-1.5.0.20250816_1:
     AALIB=off: AAlib graphics library support
     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=on: BluRay support
     CACA=off: libcaca graphics library support
     CDIO=off: CDIO support via libcdio
     DV=off: Quasar DV video codec support (libdv)
     DVDNAV=on: DVD navigation features support
     ENCA=off: Charset conversion via enca
     FONTCONFIG=on: X11 font configuration support
     FRIBIDI=on: Bidirectional text support via GNU FriBidi
     GIF=on: GIF image format support
     GNUTLS=on: SSL/TLS support via GnuTLS
     GSM=off: GSM codec support
     GUI=on: GUI (Graphical User Interface) support
     IPV6=off: 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
     LIRC=off: Infrared remote control support
     LZO=off: External liblzo support
     NAS=off: Network Audio System support
     NLS=on: Native Language Support
     OPENAL=off: Audio support via OpenAL
     OPENGL=on: 2D/3D rendering support via OpenGL
     OPENJPEG=off: JPEG 2000 support via OpenJPEG
     OPUS=off: Opus audio codec support
     PULSEAUDIO=off: PulseAudio sound server support
     RTCPU=on: Use runtime CPU detection
     SDL=off: Simple Direct Media Layer support
     SKINS=on: Install skins for GUI
     SMB=off: SMB network protocol support
     SNDIO=on: Sndio audio support
     SPEEX=off: Speex audio format support
     SVGALIB=off: SVGA graphics support
     V4L=off: Video 4 Linux support
     VDPAU=on: VDPAU (GPU video acceleration) support
     VPX=off: VP8/VP9 video codec support
     X11=on: X11 (graphics) support
     X11DGA=on: X11 DGA video driver support
     X11VM=on: X11 VidMode support
     XINERAMA=on: X11 Xinerama extension support
     XVIDEO=on: X11 Video extension library support
===> Use 'make config' to modify these settings

-- 
You are receiving this mail because:
You are the assignee for the bug.