Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906854 - media-video/mpv-05122022: fails to build
Summary: media-video/mpv-05122022: fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-20 16:01 UTC by Mamadou Babaei
Modified: 2023-05-20 17:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,14.27 KB, text/x-log)
2023-05-20 16:01 UTC, Mamadou Babaei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mamadou Babaei 2023-05-20 16:01:27 UTC
Created attachment 862043 [details]
build log

>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/media-video/mpv-05122022/temp/python3.11/pkgconfig:/var/tmp/portage/media-video/mpv-05122022/temp/luajit/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/media-video/mpv-05122022/temp/python3.11/pkgconfig:/var/tmp/portage/media-video/mpv-05122022/temp/luajit/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-video/mpv-05122022/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Dcplayer=true -Dlibmpv=true -Dtests=false -Dhtml-build=enabled -Dmanpage-build=enabled -Dpdf-build=disabled -Dbuild-date=false -Dlibarchive=disabled -Dlibbluray=disabled -Dcdda=enabled -Dcplugins=enabled -Ddvbin=disabled -Ddvdnav=enabled -Dsdl2-gamepad=disabled -Diconv=enabled -Djavascript=disabled -Dlibavdevice=enabled -Dlcms2=enabled -Dlua=luajit -Drubberband=disabled -Dsdl2=disabled -Duchardet=enabled -Dvapoursynth=disabled -Dzimg=disabled -Dzlib=enabled -Dalsa=enabled -Dcoreaudio=disabled -Djack=disabled -Dopenal=disabled -Dpipewire=disabled -Dpulse=enabled -Dsdl2-audio=disabled -Dsndio=disabled -Dx11=enabled -Dcocoa=disabled -Ddrm=enabled -Dgbm=enabled -Djpeg=enabled -Dcaca=disabled -Dlibplacebo=enabled -Drpi-mmal=disabled -Dsdl2-video=disabled -Dsixel=disabled -Dwayland=disabled -Dxv=enabled -Dgl=enabled -Degl=enabled -Degl-x11=enabled -Degl-drm=enabled -Degl-wayland=disabled -Dplain-gl=enabled -Dgl-x11=enabled -Dgl-cocoa=disabled -Drpi=disabled -Dvulkan=enabled -Dshaderc=enabled -Dcuda-hwaccel=disabled -Dcuda-interop=disabled -Dvaapi=enabled -Dvaapi-x11=enabled -Dvaapi-x-egl=enabled -Dvaapi-drm=enabled -Dvaapi-wayland=disabled -Dvdpau=enabled -Dvdpau-gl-x11=enabled -Dvideotoolbox-gl=disabled /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022 /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022-build
The Meson build system
Version: 1.1.0
Source dir: /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022
Build dir: /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022-build
Build type: native build
Project name: mpv
Project version: 0.35.0-UNKNOWN
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.1.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.1.1_p20230513 p2) 13.1.1 20230513")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/var/tmp/portage/media-video/mpv-05122022/temp/python3.11/bin/python3)
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Run-time dependency libavcodec found: YES 58.134.100
Run-time dependency libavfilter found: YES 7.110.100
Run-time dependency libavformat found: YES 58.76.100
Run-time dependency libavutil found: YES 56.70.100
Run-time dependency libswresample found: YES 3.9.100
Run-time dependency libswscale found: YES 5.9.100
Run-time dependency libass found: YES 0.17.1
Run-time dependency threads found: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Wno-error=deprecated-declarations: YES 
Compiler for C supports arguments -Wno-error=unused-function: YES 
Compiler for C supports arguments -Wempty-body: YES 
Compiler for C supports arguments -Wdisabled-optimization: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wno-format-zero-length: YES 
Compiler for C supports arguments -Wno-redundant-decls: YES 
Compiler for C supports arguments -Wvla: YES 
Compiler for C supports arguments -Wno-format-truncation: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -fno-math-errno: YES 
Compiler for C supports arguments -Wformat -Werror=format-security: YES 
Compiler for C supports link arguments -Wl,-z,noexecstack: YES 
Compiler for C supports link arguments -Wl,--nxcompat,--no-seh,--dynamicbase: NO 
Library dl found: YES
Checking for function "dlopen" with dependency -ldl: YES 
Compiler for C supports link arguments -rdynamic: YES 
Dependency appleframeworks (modules: Cocoa, IOKit, QuartzCore) skipped: feature cocoa disabled
Library windowsapp skipped: feature uwp disabled
Checking for function "glob" : YES 
Header "sys/vt.h" has symbol "VT_GETMODE" : YES 
Checking if "glibc-thread-name check" compiles: YES 
Checking for function "fstatfs" : NO 
Checking for function "fstatfs" : YES 
Checking if "vector check" compiles: YES 
Program /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/TOOLS/file2string.py found: YES (/var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/TOOLS/file2string.py)
Program /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/TOOLS/matroska.py found: YES (/var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/TOOLS/matroska.py)
Program /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/version.py found: YES (/var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/version.py)
Run-time dependency libcdio_paranoia found: YES 10.2+2.0.1
Run-time dependency dvdnav found: YES 6.1.1
Run-time dependency dvdread found: YES 6.1.3
Run-time dependency iconv found: YES
Dependency mujs skipped: feature javascript disabled
Run-time dependency lcms2 found: YES 2.15
Dependency libarchive skipped: feature libarchive disabled
Run-time dependency libavdevice found: YES 58.13.100
Dependency libbluray skipped: feature libbluray disabled
Library m found: YES
Library rt found: YES
Run-time dependency luajit found: YES 2.1.0-beta3
Dependency rubberband skipped: feature rubberband disabled
Dependency sdl2 skipped: feature sdl2 disabled
Library atomic found: YES
Header "stdatomic.h" has symbol "atomic_int" with dependency -latomic: YES 
Run-time dependency uchardet found: YES 0.0.7
Dependency vapoursynth skipped: feature vapoursynth disabled
Dependency vapoursynth-script skipped: feature vapoursynth disabled
Dependency zimg skipped: feature zimg disabled
Run-time dependency zlib found: YES 1.2.13
Run-time dependency alsa found: YES 1.2.9
Run-time dependency appleframeworks found: NO (tried framework)
Header "AudioToolbox/AudioToolbox.h" has symbol "kAudioUnitSubType_RemoteIO" : NO 
Dependency appleframeworks (modules: CoreFoundation, CoreAudio, AudioUnit, AudioToolbox) skipped: feature coreaudio disabled
Dependency jack skipped: feature jack disabled
Dependency openal skipped: feature openal disabled
Library OpenSLES found: NO
Header "sys/soundcard.h" has symbol "SNDCTL_DSP_SETPLAYVOL" : NO 
Dependency libpipewire-0.3 skipped: feature pipewire disabled
Run-time dependency libpulse found: YES 16.1
Dependency sndio skipped: feature sndio disabled
Header "audioclient.h" has symbol "IAudioClient" : NO 
Dependency caca skipped: feature caca disabled
Check usable header "d3d9.h" skipped: feature direct3d disabled
Run-time dependency libdrm found: YES 2.4.115
Run-time dependency gbm found: YES 23.1.0
Run-time dependency libjpeg found: YES 2.1.5.1
Run-time dependency libplacebo found: YES 5.264.1
Message: libplacebo v4.202+ found! Enabling vo_gpu_next.
Run-time dependency shaderc found: YES 2023.3.1
Dependency libsixel skipped: feature sixel disabled
Found CMake: /usr/bin/cmake (3.26.4)
Run-time dependency spirv-cross-c-shared found: NO (tried pkgconfig and cmake)
Dependency wayland-client skipped: feature wayland disabled
Dependency wayland-cursor skipped: feature wayland disabled
Dependency wayland-protocols skipped: feature wayland disabled
Dependency xkbcommon skipped: feature wayland disabled
Check usable header "linux/input-event-codes.h" skipped: feature wayland disabled
Program wayland-scanner skipped: feature wayland disabled
Run-time dependency x11 found: YES 1.8.4
Run-time dependency xscrnsaver found: YES 1.2.4
Run-time dependency xext found: YES 1.3.5
Run-time dependency xinerama found: YES 1.1.5
Run-time dependency xpresent found: YES 1.0.1
Run-time dependency xrandr found: YES 1.5.3
Run-time dependency xv found: YES 1.0.12
Run-time dependency gl found: YES 1.2
Run-time dependency egl found: YES 1.5
Library EGL skipped: feature egl-android disabled
Dependency wayland-egl skipped: feature egl-wayland disabled
Dependency /opt/vc/lib/pkgconfig/brcmegl.pc skipped: feature rpi disabled
Run-time dependency vulkan found: YES 1.3.246
Run-time dependency ffnvcodec found: NO (tried pkgconfig and cmake)
Header "OpenGLES/ES3/glext.h" has symbol "GL_RGB32F" : NO 
Dependency /opt/vc/lib/pkgconfig/mmal.pc skipped: feature rpi-mmal disabled
Run-time dependency libva found: YES 1.18.0
Run-time dependency libva-drm found: YES 1.18.0
Dependency libva-wayland skipped: feature vaapi-wayland disabled
Run-time dependency libva-x11 found: YES 1.18.0
Run-time dependency vdpau found: YES 1.5
Program /var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/TOOLS/macos-sdk-version.py found: YES (/var/tmp/portage/media-video/mpv-05122022/work/mpv-05122022/TOOLS/macos-sdk-version.py)
Program xcrun found: NO
Checking if "macos-touchbar check" compiles: NO 
Program rst2man.py found: YES (/usr/bin/rst2man.py)
Program rst2html found: NO

meson.build:1561:11: ERROR: Program 'rst2html' not found or not executable
Comment 1 Mamadou Babaei 2023-05-20 16:02:57 UTC
Sorry it seems this is from one of my added overlays.
Comment 2 Ionen Wolkens gentoo-dev 2023-05-20 17:18:20 UTC
np, ftr the rst2html bit happens when using meson and was fixed in mpv-0.35.1, our own ebuild used to have a sed workaround for it in 0.35.0
Comment 3 Ionen Wolkens gentoo-dev 2023-05-20 17:41:00 UTC
Thought it was some old ebuild, but was barely added last week? I guess it was to get these hdr patches working.

It copied our 0.35.1 ebuild which didn't have the workaround that'd be needed in a 2022 snapshot :) Ah well, shame for the super huge version that overrides 0.35.1.

Hope it doesn't affect too many people.
Comment 4 Mamadou Babaei 2023-05-20 17:46:18 UTC
I've added this overlay for the media-libs/alvr ebuild though I was not even able to build it:

https://github.com/TheGreatMcPain/TheGreatMcPain-overlay/issues/16

Then I forgot about it. I'm not sure how many people use this overlay. But, the maintainer is very responsive. I removed the overlay and my issue was solved.