Bug 10811 - kodi-17.6-Krypton does not compile for freescale_* devices
Summary: kodi-17.6-Krypton does not compile for freescale_* devices
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2018.02
Hardware: Other Linux
: P5 blocker
Target Milestone: ---
Assignee: Bernd Kuhls
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-26 13:59 UTC by Ossi Syri
Modified: 2018-06-06 19:18 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Kodi compile error log (29.97 KB, text/plain)
2018-02-26 13:59 UTC, Ossi Syri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ossi Syri 2018-02-26 13:59:52 UTC
Created attachment 7491 [details]
Kodi compile error log

Kodi-17.6-Krypton does not compile for freescale_* devices:


/home/os/imx6sl/buildroot/output/build/kodi-17.6-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:217:41: error: ‘XBNativeDisplayType’ was not declared in this scope
   if (!m_nativeTypes->GetNativeDisplay((XBNativeDisplayType**)&nativeDisplay))


Complete error log and buildroot defconfig attached. Do they help us to find reason and fix for failure?

I am currently testing it for freshly added freescale solo lite, but i have tested same for already earlier supported freescale_imx6qsabresd_defconfig. (imx6s has not been earlier supported by Buildroot imx firmware package, these 2018-02 RC's have been the very first releases).



BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_ARM_FPU_VFPV3=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=y
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.9.x_1.0.0_ga"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk"
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_KODI_ALSA_LIB=y
BR2_PACKAGE_KODI_AVAHI=y
BR2_PACKAGE_KODI_DBUS=y
BR2_PACKAGE_KODI_LIBMICROHTTPD=y
BR2_PACKAGE_KODI_NONFREE=y
BR2_PACKAGE_KODI_UPNP=y
BR2_PACKAGE_KODI_AUDIOENCODER_LAME=y
BR2_PACKAGE_FREESCALE_IMX=y
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S=y
BR2_PACKAGE_IMX_GPU_VIV=y
BR2_PACKAGE_KERNEL_MODULE_IMX_GPU_VIV=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_PY_PYC=y
BR2_PACKAGE_LIBIMXVPUAPI=y
BR2_PACKAGE_DROPBEAR=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="mx6slevk"
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/uboot-imx.git"
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_4.9.x_1.0.0_ga"
BR2_TARGET_UBOOT_FORMAT_IMX=y
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MKPASSWD=y
BR2_PACKAGE_HOST_MTOOLS=y
Comment 1 Bernd Kuhls 2018-02-26 19:24:53 UTC
Your report reminds me of http://patchwork.ozlabs.org/comment/1719130/
Comment 2 Ossi Syri 2018-02-28 10:11:52 UTC
Thanks, I found your case earlier also.

This exact patch did not help.

(make kodi-dirclean ; make)

Maybe Bernd your point was not exact patch but something to apply same way.. My knowledge of kodi is not enought to decide what.
Comment 3 Bernd Kuhls 2018-02-28 21:18:16 UTC
Regarding your platform I can not help you either, sorry, so please ask upstream whether your platform is supported by unpatched Kodi or not.
Comment 4 Thomas Petazzoni 2018-06-06 19:18:20 UTC
This is an upstream Kodi problem it seems, please bring this up to upstream.