Yocto Project Build Failure at do_rootfs Task

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Based on the context provided, the Yocto Project build for the Toradex Apalis i.MX8 target is failing during the do_rootfs task due to configuration errors and shell issues. Here are some steps you can take to address these issues:

  1. Configuration Errors: The errors related to SYSLOG_SU_ENAB and SYSLOG_SG_ENAB suggest that there are unknown configuration items in your system. These might be related to PAM (Pluggable Authentication Modules) configuration files. Check your PAM configuration files (usually located in /etc/pam.d/) for any references to these items and ensure they are valid or remove them if they are not needed.

  2. Shell Issues: The warnings about a missing or non-executable shell (/bin/false) indicate that the shell specified for certain system users is not available. You can resolve this by ensuring that /bin/false exists and is executable. If it does not exist, you can create a symbolic link to /usr/sbin/nologin or another appropriate shell that is available on your system.

  3. Installation Command Failure: The non-zero exit code (255) from the package installation command suggests a failure in the package management process. Ensure that all dependencies for the packages you are trying to install are correctly specified in your Yocto recipes. You may also want to check the logs for more detailed error messages that could provide further insight into the failure.

By addressing these configuration and shell issues, you should be able to proceed with the Yocto build process and successfully create your custom multimedia image for the Apalis i.MX8 target.

Please, also check if these links can help you solve your problem:

configuration error - unkown item 'SYSLOG_SU_ENAB' during bitbake meta-toolchain-qt6 - NXP Community.