Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Gary Thomas <gary@mlbassoc.com>
Subject: Re: [meta-oe][PATCH v3 2/2] mpv: Media Player
Date: Fri, 11 Mar 2016 14:17:52 +0100	[thread overview]
Message-ID: <20160311131752.GA2555@jama> (raw)
In-Reply-To: <1457626042-28653-3-git-send-email-gary@mlbassoc.com>

[-- Attachment #1: Type: text/plain, Size: 5768 bytes --]

On Thu, Mar 10, 2016 at 05:07:22PM +0100, Gary Thomas wrote:
> mpv is a fork of mplayer2 and MPlayer. It shares some features with
> the former projects while introducing many more.
> 
> Signed-off-by: Gary Thomas <gary@mlbassoc.com>
> ---
>  meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67 ++++++++++++++++++++++++
>  1 file changed, 67 insertions(+)
>  create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> 
> diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> new file mode 100644
> index 0000000..acad319
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> @@ -0,0 +1,67 @@
> +SUMMARY = "Open Source multimedia player"
> +SECTION = "multimedia"
> +HOMEPAGE = "http://www.mpv.io/"
> +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
> +           libxscrnsaver libv4l libxinerama \
> +"

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| [  1/195] Compiling version.sh
| [  2/195] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py", line 21, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
| 
| Waf: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| Build failed
|  -> task in 'rst2man' failed (exit status 1):
| 	{task 139933719149072: rst2man mpv.rst -> mpv.1}
| ' /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py ../DOCS/man/mpv.rst DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb, do_compile) failed with exit code '1'


> +
> +REQUIRED_DISTRO_FEATURES = "x11"
> +
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
> +
> +SRC_URI = "https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
> +           http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf \
> +"
> +SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
> +SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
> +SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
> +SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
> +
> +inherit pkgconfig
> +
> +# Note: both lua and libass are required to get on-screen-display (controls)
> +PACKAGECONFIG ??= "lua libass"
> +PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
> +PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
> +PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
> +
> +EXTRA_OECONF = " \
> +    --prefix=${prefix} \
> +    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

> +    --confdir=${sysconfdir} \
> +    --datadir=${datadir} \
> +    --disable-manpage-build \
> +    --disable-gl \
> +    --disable-libsmbclient \
> +    --disable-encoding \
> +    --disable-libbluray \
> +    --disable-dvdread \
> +    --disable-dvdnav \
> +    --disable-cdda \
> +    --disable-enca \
> +    --disable-libguess \
> +    --disable-uchardet \
> +    --disable-rubberband \
> +    --disable-lcms2 \
> +    --disable-vapoursynth \
> +    --disable-vapoursynth-lazy \
> +"
> +
> +do_configure() {
> +    if [ ! -L ../waf ]; then
> +        chmod a+x ../waf-1.8.12
> +	ln -s waf-1.8.12 ../waf
> +    fi
> +    ../waf configure ${EXTRA_OECONF}
> +}
> +
> +do_compile () {
> +    ../waf build
> +}
> +
> +do_install() {
> +    ../waf install --destdir=${D}
> +}
> +
> +FILES_${PN} += "${datadir}/icons"
> -- 
> 2.5.0
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2016-03-11 13:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 16:07 [meta-oe][PATCH v3 0/2] mpv: Media Player Gary Thomas
2016-03-10 16:07 ` [meta-oe][PATCH v3 1/2] libass: Update to latest version Gary Thomas
2016-03-17 14:44   ` Martin Jansa
2016-03-18  6:56     ` Gary Thomas
2016-03-18  8:22       ` Martin Jansa
2016-03-10 16:07 ` [meta-oe][PATCH v3 2/2] mpv: Media Player Gary Thomas
2016-03-11 13:17   ` Martin Jansa [this message]
2016-03-12  4:52     ` Gary Thomas
2016-03-17  9:26       ` Gary Thomas
2016-03-17  9:38         ` Martin Jansa
2016-03-17  9:45           ` Gary Thomas
2016-03-17 14:45             ` Martin Jansa
2016-04-21 14:49               ` Ahsan, Noor
2016-05-24 16:37                 ` Christopher Larson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160311131752.GA2555@jama \
    --to=martin.jansa@gmail.com \
    --cc=gary@mlbassoc.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox