[oe] [meta-multimedia][PATCH 08/49] kodi: Add krypton/17.x Jarvis/16.x recipes

Martin Jansa martin.jansa at gmail.com
Thu Dec 15 09:53:00 UTC 2016


On Mon, Nov 28, 2016 at 04:57:31PM -0800, Khem Raj wrote:
> 
> > On Nov 25, 2016, at 4:15 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > 
> > On Wed, Nov 23, 2016 at 01:21:28AM -0800, Khem Raj wrote:
> >> 16.x is the default since its the latest released version
> >> 
> >> remove obsoleted xbmc recipes
> >> rename to recipes-mediacenter
> >> +S = "${WORKDIR}/git"
> >> +
> >> +# breaks compilation
> >> +ASNEEDED = ""
> >> +
> >> +ACCEL ?= ""
> >> +ACCEL_x86 = "vaapi vdpau"
> >> +ACCEL_x86-64 = "vaapi vdpau"
> >> +
> >> +PACKAGECONFIG ??= "${ACCEL}"
> >> +PACKAGECONFIG_append += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)}"
> >> +PACKAGECONFIG_append += "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' opengl', ' openglesv2', d)}"
> >> +
> >> +PACKAGECONFIG[opengl] = "--enable-gl,--enable-gles,"
> >> +PACKAGECONFIG[openglesv2] = "--enable-gles,--enable-gl,virtual/egl"
> >> +PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva"
> >> +PACKAGECONFIG[vdpau] = "--enable-vdpau,--disable-vdpau,libvdpau"
> >> +PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5"
> >> +PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxinerama libxmu libxrandr libxtst"
> >> +PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
> > 
> > Did I overlook libva recipe somewhere?
> > 
> > It doesn't even start building for qemux86* because of this libva and
> > for qemuarm it fails to configure:
> > http://lists.openembedded.org/pipermail/openembedded-devel/2016-November/110050.html
> 
> Sent a patch for libva which should help with x86 issue. For arm issue, I see that error is due to java installation on build machine. I have sent another patch for kodi-17
> to fix build for qemuarm but thats not needed for kodi-16 which is default.

kodi-16 is still default, but fails because of this java issue :/

There is also another issue with kodi-17 detected in qemux86* builds:

ERROR: Following files are installed in sysroot, but not tracked by sstate:
qemux86-64/usr/include/guid.h
qemux86-64/usr/lib/libcrossguid.a
INFO: Output written in: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroot.cruft.1481664087

I believe both these files are installed by kodi, this looks suspicious:
    make -C tools/depends/target/crossguid PREFIX=${STAGING_DIR_HOST}${prefix}

> 
> | /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmc.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmc.i
> | # Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
> | /usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
> |           org.codehaus.groovy.tools.FileSystemCompiler -d ./tools/codegenerator ./tools/codegenerator/Helper.groovy  ./tools/codegenerator/SwigTypeParser.groovy xbmc/interfaces/python/MethodType.groovy xbmc/interfaces/python/PythonTools.groovy
> | Error occurred during initialization of VM
> | Could not reserve enough space for object heap
> | Error: Could not create the Java Virtual Machine.
> | Error: A fatal exception has occurred. Program will exit.
> | codegenerator.mk:44: recipe for target 'xbmc/interfaces/python/generated/AddonModuleXbmc.cpp' failed
> | make: *** [xbmc/interfaces/python/generated/AddonModuleXbmc.cpp] Error 1
> 
> 
> 
> 
> > -- 
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20161215/7b768de6/attachment-0002.sig>


More information about the Openembedded-devel mailing list