Maybe the recent mpv
upstream commit breaks the build.
https://github.com/mpv-player/mpv/commit/99f367f219b45c83de68bdac378c14a55b9bbe77
Removing vaapi-x-egl
option from PKGBUILD fixes the issue.
Git Clone URL: | https://aur.archlinux.org/mpv-full-build-git.git (read-only, click to copy) |
---|---|
Package Base: | mpv-full-build-git |
Description: | Video player based on MPlayer/mplayer2 with all possible libs (uses statically linked ffmpeg with all possible libs). (GIT version ) |
Upstream URL: | http://mpv.io |
Keywords: | mpv player video |
Licenses: | custom |
Conflicts: | libmpv.so, mpv, mpv-build-git, mpv-full-git, mpv-git |
Provides: | libmpv.so, mpv, mpv-build-git, mpv-full-git, mpv-git |
Replaces: | libmpv.so, mpv, mpv-build-git, mpv-full-git, mpv-git |
Submitter: | inochi |
Maintainer: | inochi |
Last Packager: | inochi |
Votes: | 2 |
Popularity: | 0.163228 |
First Submitted: | 2019-03-18 05:49 (UTC) |
Last Updated: | 2024-09-28 01:50 (UTC) |
Maybe the recent mpv
upstream commit breaks the build.
https://github.com/mpv-player/mpv/commit/99f367f219b45c83de68bdac378c14a55b9bbe77
Removing vaapi-x-egl
option from PKGBUILD fixes the issue.
@mokkurkalve, thank you, it seems I forgot some depends.
Building after switch to meson aborted. I was missing package "glad". I installed glad and building succeeded. So glad should be dependency.
Yes. Fixed. Thanks! :-)
@mokkurkalve, can you rebuild with the updated PKGBUILD? The problem should be fixed.
Since some revisions building this package fails for me in the package() function, thus:
(...snip...)
949 | opts->loop_times == 1))
| ~~~~~~~~~~~~~~~~~~~~~
[272/272] Linking build/mpv
Waf: Leaving directory `/home/eivind/work/build/mpv-full-build-git/src/mpv/build'
'build' finished successfully (24.209s)
==> Entering fakeroot environment...
==> Starting package()...
Waf: Entering directory `/home/eivind/work/build/mpv-full-build-git/src/mpv/build'
[1/1] Compiling version.sh
Waf: Leaving directory `/home/eivind/work/build/mpv-full-build-git/src/mpv/build'
Build failed
Traceback (most recent call last):
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Build.py", line 554, in run
x.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 188, in mkdir
raise Errors.WafError('Could not create the directory %r'%self)
waflib.Errors.WafError: Could not create the directory /home/eivind/work/build/mpv-full-build-git/pkg/mpv-full-build-git/usr --confdir=/etc/mpv --htmldir=/usr/share/doc/mpv/html --disable-build-date --disable-debug-build --enable-manpage-build --disable-html-build --disable-pdf-build --lua=lua52 --enable-alsa --enable-caca --enable-cdda --enable-cplugins --enable-drm --enable-dvbin --enable-dvdnav --enable-egl-drm --enable-egl-x11 --enable-gbm --enable-gl --enable-gl-wayland --enable-html-build --enable-iconv --enable-jack --enable-javascript --enable-jpeg --enable-lcms2 --enable-libarchive --enable-libavdevice --enable-libbluray --enable-libmpv-shared --enable-libplacebo --enable-lua --enable-manpage-build --enable-openal --disable-oss-audio --enable-plain-gl --enable-pulse --enable-rubberband --enable-sdl2 --enable-shaderc --enable-uchardet --enable-vaapi --enable-vaapi-drm --enable-vaapi-wayland --enable-vaapi-x11 --enable-vaapi-x-egl --enable-vdpau --enable-vulkan --enable-wayland --enable-wayland-protocols --enable-wayland-scanner --enable-x11 --enable-xv --enable-zimg --enable-zlib --enable-spirv-cross --enable-sixel
Traceback (most recent call last):
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Build.py", line 554, in run
x.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 188, in mkdir
raise Errors.WafError('Could not create the directory %r'%self)
waflib.Errors.WafError: Could not create the directory /home/eivind/work/build/mpv-full-build-git/pkg/mpv-full-build-git/usr --confdir=/etc/mpv --htmldir=/usr/share/doc/mpv/html --disable-build-date --disable-debug-build --enable-manpage-build --disable-html-build --disable-pdf-build --lua=lua52 --enable-alsa --enable-caca --enable-cdda --enable-cplugins --enable-drm --enable-dvbin --enable-dvdnav --enable-egl-drm --enable-egl-x11 --enable-gbm --enable-gl --enable-gl-wayland --enable-html-build --enable-iconv --enable-jack --enable-javascript --enable-jpeg --enable-lcms2 --enable-libarchive --enable-libavdevice --enable-libbluray --enable-libmpv-shared --enable-libplacebo --enable-lua --enable-manpage-build --enable-openal --disable-oss-audio --enable-plain-gl --enable-pulse --enable-rubberband --enable-sdl2 --enable-shaderc --enable-uchardet --enable-vaapi --enable-vaapi-drm --enable-vaapi-wayland --enable-vaapi-x11 --enable-vaapi-x-egl --enable-vdpau --enable-vulkan --enable-wayland --enable-wayland-protocols --enable-wayland-scanner --enable-x11 --enable-xv --enable-zimg --enable-zlib --enable-spirv-cross --enable-sixel
Traceback (most recent call last):
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Build.py", line 554, in run
x.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 188, in mkdir
raise Errors.WafError('Could not create the directory %r'%self)
waflib.Errors.WafError: Could not create the directory /home/eivind/work/build/mpv-full-build-git/pkg/mpv-full-build-git/usr --confdir=/etc/mpv --htmldir=/usr/share/doc/mpv/html --disable-build-date --disable-debug-build --enable-manpage-build --disable-html-build --disable-pdf-build --lua=lua52 --enable-alsa --enable-caca --enable-cdda --enable-cplugins --enable-drm --enable-dvbin --enable-dvdnav --enable-egl-drm --enable-egl-x11 --enable-gbm --enable-gl --enable-gl-wayland --enable-html-build --enable-iconv --enable-jack --enable-javascript --enable-jpeg --enable-lcms2 --enable-libarchive --enable-libavdevice --enable-libbluray --enable-libmpv-shared --enable-libplacebo --enable-lua --enable-manpage-build --enable-openal --disable-oss-audio --enable-plain-gl --enable-pulse --enable-rubberband --enable-sdl2 --enable-shaderc --enable-uchardet --enable-vaapi --enable-vaapi-drm --enable-vaapi-wayland --enable-vaapi-x11 --enable-vaapi-x-egl --enable-vdpau --enable-vulkan --enable-wayland --enable-wayland-protocols --enable-wayland-scanner --enable-x11 --enable-xv --enable-zimg --enable-zlib --enable-spirv-cross --enable-sixel
Traceback (most recent call last):
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Build.py", line 554, in run
x.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 188, in mkdir
raise Errors.WafError('Could not create the directory %r'%self)
waflib.Errors.WafError: Could not create the directory /home/eivind/work/build/mpv-full-build-git/pkg/mpv-full-build-git/usr --confdir=/etc/mpv --htmldir=/usr/share/doc/mpv/html --disable-build-date --disable-debug-build --enable-manpage-build --disable-html-build --disable-pdf-build --lua=lua52 --enable-alsa --enable-caca --enable-cdda --enable-cplugins --enable-drm --enable-dvbin --enable-dvdnav --enable-egl-drm --enable-egl-x11 --enable-gbm --enable-gl --enable-gl-wayland --enable-html-build --enable-iconv --enable-jack --enable-javascript --enable-jpeg --enable-lcms2 --enable-libarchive --enable-libavdevice --enable-libbluray --enable-libmpv-shared --enable-libplacebo --enable-lua --enable-manpage-build --enable-openal --disable-oss-audio --enable-plain-gl --enable-pulse --enable-rubberband --enable-sdl2 --enable-shaderc --enable-uchardet --enable-vaapi --enable-vaapi-drm --enable-vaapi-wayland --enable-vaapi-x11 --enable-vaapi-x-egl --enable-vdpau --enable-vulkan --enable-wayland --enable-wayland-protocols --enable-wayland-scanner --enable-x11 --enable-xv --enable-zimg --enable-zlib --enable-spirv-cross --enable-sixel
Traceback (most recent call last):
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Build.py", line 554, in run
x.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 179, in mkdir
self.parent.mkdir()
File "/home/eivind/work/build/mpv-full-build-git/src/mpv/.waf3-2.0.20-36f5354d605298f6a89c09e0c7ef6c1d/waflib/Node.py", line 188, in mkdir
raise Errors.WafError('Could not create the directory %r'%self)
waflib.Errors.WafError: Could not create the directory /home/eivind/work/build/mpv-full-build-git/pkg/mpv-full-build-git/usr --confdir=/etc/mpv --htmldir=/usr/share/doc/mpv/html --disable-build-date --disable-debug-build --enable-manpage-build --disable-html-build --disable-pdf-build --lua=lua52 --enable-alsa --enable-caca --enable-cdda --enable-cplugins --enable-drm --enable-dvbin --enable-dvdnav --enable-egl-drm --enable-egl-x11 --enable-gbm --enable-gl --enable-gl-wayland --enable-html-build --enable-iconv --enable-jack --enable-javascript --enable-jpeg --enable-lcms2 --enable-libarchive --enable-libavdevice --enable-libbluray --enable-libmpv-shared --enable-libplacebo --enable-lua --enable-manpage-build --enable-openal --disable-oss-audio --enable-plain-gl --enable-pulse --enable-rubberband --enable-sdl2 --enable-shaderc --enable-uchardet --enable-vaapi --enable-vaapi-drm --enable-vaapi-wayland --enable-vaapi-x11 --enable-vaapi-x-egl --enable-vdpau --enable-vulkan --enable-wayland --enable-wayland-protocols --enable-wayland-scanner --enable-x11 --enable-xv --enable-zimg --enable-zlib --enable-spirv-cross --enable-sixel
==> ERROR: A failure occurred in package().
Aborting...
@monarc99, thank you for your reminder, I have tested the package and now we will enable the glslang again.
glslang got updated in the arch repo to version 11.
i have not tested it (i remain on glslang-git anyway), but it should work again.
@monarc99 now I disable glslang
temporarily, as ffmpeg require a git version.But I don't know why libplacebo
can not be used, I found nothing wrong when I compile and I use the package from official repo.
for me, mpv-full-build-git only compiles with libplacebo-git and glslang-git installed
Pinned Comments
inochi commented on 2020-11-13 00:52 (UTC) (edited on 2020-11-13 00:52 (UTC) by inochi)
Some points for common error:
1. if you suffer a running time error like
mpv: error while loading shared libraries
, try to rebuild the package.2. if you suffer a compiling error like
can not find gcc header file
, please perform a clean build, as this package use soft link to avoid unnecessary file copy.if you find some other bug, please submit it with a log.
The log location:
1. ffmpeg: "${srcdir}/mpv-build/ffmpeg_build/ffbuild/config.log"
2. mpv: terminal output is OK.