Error while building image for core-image-sato for raspberrypi4
Hi,
i am trying build an image for RPI4 using openembedded-core i have added all the necessary layers into buit when i am trying to build an image i am getting following error
pankaj@exaleap-Inspiron-3584:~/Oe-Raspberrypi4$ bitbake core-image-sato NOTE: Bitbake server didn't start within 5 seconds, waiting for 90 Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:06:47 Parsing of 2279 .bb files complete (0 cached, 2279 parsed). 3439 targets, 213 skipped, 0 masked, 0 errors. ERROR: Nothing PROVIDES 'core-image-sato' core-image-sato was skipped: 'hwcodecstools-debug' in IMAGE_FEATURES is not a valid image feature. Valid features: allow-empty-password allow-root-login bash-completion-pkgs dbg-pkgs debug-tweaks dev-pkgs doc doc-pkgs eclipse-debug empty-root-password hwcodecs nfs-client nfs-server package-management post-install-logging ptest-pkgs read-only-rootfs splash src-pkgs ssh-server-dropbear ssh-server-openssh stateless-rootfs staticdev-pkgs tools-debug tools-profile tools-sdk tools-testapps x11 x11-base x11-sato
i didnt understood why this error is,can someone help me with this????
Hi Vinadrao,
Quoted 10 lines · Pankaj Vinadrao Joshi
Hi,
i am trying build an image for RPI4 using openembedded-core i have added all the necessary layers into buit when i am trying to build an image i am getting following errorpankaj@exaleap-Inspiron-3584:~/Oe-Raspberrypi4$ bitbake core-image-sato NOTE: Bitbake server didn't start within 5 seconds, waiting for 90 Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:06:47 Parsing of 2279 .bb files complete (0 cached, 2279 parsed). 3439 targets, 213 skipped, 0 masked, 0 errors. ERROR: Nothing PROVIDES 'core-image-sato' core-image-sato was skipped: 'hwcodecstools-debug' in IMAGE_FEATURES is not a valid image feature. Valid features: allow-empty-password allow-root-login bash-completion-pkgs dbg-pkgs debug-tweaks dev-pkgs doc doc-pkgs eclipse-debug empty-root-password hwcodecs nfs-client nfs-server package-management post-install-logging ptest-pkgs read-only-rootfs splash src-pkgs ssh-server-dropbear ssh-server-openssh stateless-rootfs staticdev-pkgs tools-debug tools-profile tools-sdk tools-testapps x11 x11-base x11-sato
You probably have a IMAGE_FEATURES_append = "hwcodecs" or _prepend somewhere. Basically bitbake is concatenating hwcodecs and tools-debug wrongly (a missing space, for _append a leading space, for _prepend a trailing one).
So you need to find where this _append or _prepend is and fix it. To help you with that, use:
bitbake core-image-sato -e
and search for the line starting with IMAGE_FEATURES and read the lines above, that'll tell you what's being done for this variable and in which file.
Quentin