On 01/11/2019 17:51, Aaron Solochek wrote:
Well I grabbed the .deb that one of those links mentioned and converted it to 
an rpm, but of course there are a ton of unmet dependencies, so I might have to 
build it anyway.

I found these instructions for building it, which are pinned to an older 
version (which is probably fine)

https://github.com/futurejones/code-oss-aarch64

I have gotten most of the dependencies built with bitbake, except for the  x11 
stuff:

ERROR: Nothing RPROVIDES 'packagegroup-core-x11' (but 
/home/aarons/sri/bullitt/nxp/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/fsl-image-qt5-validation-imx.bb
 RDEPENDS on or otherwise requires it)
packagegroup-core-x11 was skipped: missing required distro feature 'x11' (not 
in DISTRO_FEATURES)
NOTE: Runtime target 'packagegroup-core-x11' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11']
ERROR: Required build target 'fsl-image-qt5-validation-imx' has no buildable 
providers.
Missing or unbuildable dependency chain was: ['fsl-image-qt5-validation-imx', 
'packagegroup-core-x11']

But this is my local.conf:

MACHINE ??= 'imx8mqevk'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
     STOPTASKS,${TMPDIR},1G,100K \
     STOPTASKS,${DL_DIR},1G,100K \
     STOPTASKS,${SSTATE_DIR},1G,100K \
     STOPTASKS,/tmp,100M,100K \
     ABORT,${TMPDIR},100M,1K \
     ABORT,${DL_DIR},100M,1K \
     ABORT,${SSTATE_DIR},100M,1K \
     ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
#IMAGE_FEATURES_append = " package-management tools-sdk  x11-base x11"
IMAGE_FEATURES += "package-management"
IMAGE_FEATURES += "tools-sdk"
IMAGE_FEATURES += "x11-base"
IMAGE_FEATURES += "x11"


As you can see, I tried adding x11 both using IMAGE_FEATURES += as well as 
IMAGE_FEATURES_append (where I would then comment out the += lines)
Why is x11 never getting added to the DISTRO_FEATURES? I also tried putting x11 
in DISTRO_FEATURES and DISTRO_FEATURES_append.

What is the correct thing here?

Adding x11 to IMAGE_FEATURES doesn't achieve anything, as x11 isn't an IMAGE_FEATURE. It's a DISTRO_FEATURE.

DISTRO ?= 'fsl-imx-wayland'

https://github.com/Freescale/meta-freescale-distro/blob/master/conf/distro/fsl-wayland.conf says that this explicitly does DISTRO_FEATURES_remove = "x11" so you can't add it back.

I suggest you use a DISTRO that supports X11.

Ross
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to