-----Original Message-----
From: Ross Burton <ross.bur...@intel.com>
Sent: Friday, November 1, 2019 2:04 PM
To: Aaron Solochek <aaron.soloc...@sri.com>; yocto@yoctoproject.org
Subject: Re: [yocto] visual studio code packages or building instructions?
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://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2Ffuturejones%2Fcode-oss-aarch64&data=01%7C01%7Caaron.soloc
> hek%40sri.com%7C660e9bc6cada46f92d8608d75ef5d038%7C40779d3379c44626b8b
> f140c4d5e9075%7C1&sdata=CLhgG4mZZ2EUuiJlJ5Ebqc3xApqspO4RxMvkaEJZx4
> s%3D&reserved=0
>
> 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-releas
> e/imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/fsl-image-q
> t5-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://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fmeta-freescale-distro%2Fblob%2Fmaster%2Fconf%2Fdistro%2Ffsl-wayland.conf&data=01%7C01%7Caaron.solochek%40sri.com%7C660e9bc6cada46f92d8608d75ef5d038%7C40779d3379c44626b8bf140c4d5e9075%7C1&sdata=i7DpsY90tCm4VJheO3d0T%2BZqFh8g7ZwBXpx7XS3xoDE%3D&reserved=0
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.
Oh, duh. I need fsl-imx-xwayland.
Thank you!
-Aaron
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto