I’ve started learning Yocto and LVGL last month and hit an issue I can’t seem to overcome. So, I might just be not understanding some core concept correctly.
I’m building an image for the Variscite VAR-SOM-SOLO following these instructions: https://dev.variscite.com/var-som-solo-dual/mx6-yocto-scarthgap-6.6.23_2.0.0-v1.0/yocto-build-release/
I then go to this set of instructions, skipping the initial yocto setup: LVGL in Yocto - LVGL 9.4 documentation
I get to the point that I add :
IMAGE_INSTALL:append = " lvgl"
TOOLCHAIN_HOST_TASK:append = " lvgl"
Then run: bitbake core-image-base
And everything builds.
I then try to make the sdk:
bitbake core-image-base -c populate_sdk
And it fails out with:
Initialising tasks: 100% |#######################################################################################################################################| Time: 0:00:05
NOTE: Executing Tasks
WARNING: help2man-native-1.49.3-r0 do_fetch: Failed to fetch URL https: // ftp. gnu. org /gnu/help2man/help2man-1.49.3.tar.xz, attempting MIRRORS if available
ERROR: fsl-image-gui-1.0-r0 do_populate_sdk: Unable to install packages. Command ‘/workdir/build_fb/tmp/work/var_som_mx6-poky-linux-gnueabi/fsl-image-gui/1.0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove lvgl nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-var-som-mx6’ returned 100:
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package lvgl
ERROR: Logfile of failure stored in: /workdir/build_fb/tmp/work/var_som_mx6-poky-linux-gnueabi/fsl-image-gui/1.0/temp/log.do_populate_sdk.1304570
ERROR: Task (/workdir/sources/meta-variscite-sdk-imx/recipes-fsl/images/fsl-image-gui.bb:do_populate_sdk) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 10953 tasks of which 9034 didn’t need to be rerun and 1 failed.
Summary: 1 task failed:
/workdir/sources/meta-variscite-sdk-imx/recipes-fsl/images/fsl-image-gui.bb:do_populate_sdk
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.
I check the /tmp/deploy/cortexa9t2hf-neon folder and lvgl_9.1.0-r0_armhf.deb is sitting there.
I’ve been reading the Mastering Embedded Systems with Yocto 4th Ed book and trying to figure out what is going on. To add, I also just try to do the lvgl. ioinstructions from scratch and got a whole different pile of errors.
Is there some concept I’m not getting right or some documentation that wasn’t updated due to a change in the way the tools work?