Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2023 16:57:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 275266] multimedia/mpv: 0.37 build fail
Message-ID:  <bug-275266-12827-oinKSLp217@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275266-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275266-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 275266: multimedia/mpv: 0.37 build fail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275266



--- Description ---
Looks like libplacebo.so:graphics/libplacebo need for build in any case.
Also some options not implemented in port Makefile.

=3D=3D=3D>  Cleaning for mpv-0.37.0,1
=3D=3D=3D>  License GPLv2+ LGPL21+ accepted by the user
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by mpv-0.37.0,1 for building
=3D=3D=3D>  Extracting for mpv-0.37.0,1
=3D> SHA256 Checksum OK for mpv-player-mpv-v0.37.0_GH0.tar.gz.
=3D=3D=3D>  Patching for mpv-0.37.0,1
=3D=3D=3D>  Applying FreeBSD patches for mpv-0.37.0,1 from
/usr/ports/multimedia/mpv/files
=3D=3D=3D>   mpv-0.37.0,1 depends on package: ffmpeg>=3D4.0.2,1 - found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/include/linux/dvb/dmx=
.h - found
=3D=3D=3D>   mpv-0.37.0,1 depends on executable: update-desktop-database - =
found
=3D=3D=3D>   mpv-0.37.0,1 depends on package: libiconv>=3D1.14_11 - found
=3D=3D=3D>   mpv-0.37.0,1 depends on executable: meson - found
=3D=3D=3D>   mpv-0.37.0,1 depends on executable: ninja - found
=3D=3D=3D>   mpv-0.37.0,1 depends on package: pkgconf>=3D1.3.0_1 - found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/bin/python3.9 - found
=3D=3D=3D>   mpv-0.37.0,1 depends on package: xorgproto>=3D0 - found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/x11=
.pc -
found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/xex=
t.pc -
found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/xin=
erama.pc -
found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/xpr=
esent.pc -
found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/xra=
ndr.pc -
found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/xsc=
rnsaver.pc
- found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/xv.=
pc - found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/libdata/pkgconfig/xxf=
86vm.pc -
found
=3D=3D=3D>   mpv-0.37.0,1 depends on file: /usr/local/bin/ccache - found
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libavcodec.so - found
(/usr/local/lib/libavcodec.so)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libass.so - found
(/usr/local/lib/libass.so)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libva.so - found
(/usr/local/lib/libva.so)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libvdpau.so - found
(/usr/local/lib/libvdpau.so)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libjpeg.so - found
(/usr/local/lib/libjpeg.so)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libarchive.so.13 - fou=
nd
(/usr/local/lib/libarchive.so.13)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: liblua-5.2.so - found
(/usr/local/lib/liblua-5.2.so)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libEGL.so - found
(/usr/local/lib/libEGL.so)
=3D=3D=3D>   mpv-0.37.0,1 depends on shared library: libgbm.so - found
(/usr/local/lib/libgbm.so)
=3D=3D=3D>  Configuring for mpv-0.37.0,1
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Us=
ing
both is redundant since they override each other. See:
https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.3.0
Source dir: /tmp/ports/usr/ports/multimedia/mpv/work/mpv-0.37.0
Build dir: /tmp/ports/usr/ports/multimedia/mpv/work/mpv-0.37.0/_build
Build type: native build
Project name: mpv
Project version: 0.37.0
C compiler for the host machine: cc (clang 16.0.6 "FreeBSD clang version 16=
.0.6
(https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)")
C linker for the host machine: cc ld.lld 16.0.6
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/local/bin/python3)
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.0.3
Run-time dependency libavcodec found: YES 60.31.102
Run-time dependency libavfilter found: YES 9.12.100
Run-time dependency libavformat found: YES 60.16.100
Run-time dependency libavutil found: YES 58.29.100
Run-time dependency libswresample found: YES 4.12.100
Run-time dependency libswscale found: YES 7.5.100
Found CMake: /usr/local/bin/cmake (3.27.7)
Run-time dependency libplacebo found: NO (tried pkgconfig and cmake)

meson.build:26:13: ERROR: Dependency "libplacebo" not found, tried pkgconfig
and cmake

A full log can be found at
/tmp/ports/usr/ports/multimedia/mpv/work/mpv-0.37.0/_build/meson-logs/meson=
-log
.txt
WARNING: Running the setup command as `meson [options]` instead of `meson s=
etup
[options]` is ambiguous and deprecated.
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to multimedia@FreeBSD.org [maintainer] and attach
the
"/tmp/ports/usr/ports/multimedia/mpv/work/mpv-0.37.0/_build/meson-logs/meso=
n-lo
g.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1


# make showconfig
=3D=3D=3D> The following configuration options are available for mpv-0.37.0=
,1:
     ARCHIVE=3Don: bzip2/zip/iso9660 archive support
     DOCS=3Doff: Build and/or install documentation
     EXAMPLES=3Doff: Build and/or install examples
     LCMS2=3Doff: Little CMS 2.x support
     MANPAGES=3Doff: Build and/or install manual pages
     MUJS=3Doff: Use MuJS for Javascript language support
     RUBBERBAND=3Doff: High quality pitch correction with librubberband
     UCHARDET=3Doff: Guess subtitle encoding via uchardet
     ZIMG=3Doff: High quality software scaling via "z" library
=3D=3D=3D=3D> Input
     CDIO=3Doff: CDIO support via libcdio
     DVDNAV=3Doff: DVD menu navigation
     LIBBLURAY=3Doff: Blu-ray discs support via libbluray
     V4L=3Don: Video 4 Linux support
     VAPOURSYNTH=3Doff: VapourSynth filter bridge
=3D=3D=3D=3D> Video Output
     CACA=3Doff: libcaca graphics library support
     NVDEC=3Doff: NVIDIA decoder with CUDA support
     OPENGL=3Don: 2D/3D rendering support via OpenGL
     SIXEL=3Doff: Sixel graphics support
     VAAPI=3Don: VAAPI (GPU video acceleration) support
     VDPAU=3Don: VDPAU (GPU video acceleration) support
     VULKAN=3Doff: Vulkan output support
     WAYLAND=3Doff: Wayland (graphics) support
     X11=3Don: X11 (graphics) support
=3D=3D=3D=3D> Audio Output
     ALSA=3Doff: ALSA audio architecture support
     JACK=3Doff: JACK audio server support
     OPENAL=3Doff: Audio support via OpenAL
     PIPEWIRE=3Doff: PipeWire multimedia server support
     PULSEAUDIO=3Doff: PulseAudio sound server support
     SDL=3Doff: Simple Direct Media Layer support
     SNDIO=3Doff: Sndio audio support
=3D=3D=3D=3D> Lua scripting language support: you have to select exactly on=
e of them
     LUA=3Don: Lua scripting language support
     LUAJIT=3Doff: Use LuaJIT instead of Lua scripting language support
     LUA_NONE=3Doff: Disable Lua scripting language support
=3D=3D=3D=3D> Options available for the radio YOUTUBE: you can only select =
none or one
of them
     YTDL=3Doff: Install youtube-dl
     YTDLP=3Don: Install yt-dlp (youtube-dl fork)
=3D=3D=3D> Use 'make config' to modify these settings



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275266-12827-oinKSLp217>