Yocto Project Build Failure at do_rootfs Task

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto Project Build Failure at do_rootfs Task

410 Views
taabouri
Contributor I

Description: I'm working on a Yocto Project ( kirkistone) build for a Toradex Apalis i.MX8 target, creating a custom multimedia image. During the final build stage, specifically at the do_rootfs task, the process fails when trying to install several packages (such as alsa-utils, bluealsa, ffmpeg, etc.).

The error shows repeated instances of a configuration problem with unknown items SYSLOG_SU_ENAB and SYSLOG_SG_ENAB. Additionally, warnings indicate a missing or non-executable shell (/bin/false) when running useradd and groupadd commands for certain services (e.g., dbus, rpcbind, systemd).

 
ERROR: Unable to install packages. Command '/home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/opkg.conf -t /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/temp/ipktemp/ -o /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs  --force_postinstall --prefer-arch-to-version   install alsa-utils bash bluealsa connman connman-client connman-plugin-ethernet connman-plugin-loopback connman-plugin-wifi coreutils curl ffmpeg gpicview less makedevs media-files mime-support net-tools opkg packagegroup-base-extended packagegroup-base-tdx-cli packagegroup-basic packagegroup-boot packagegroup-core-boot packagegroup-core-weston packagegroup-fsl-isp packagegroup-machine-tdx-cli packagegroup-tdx-cli packagegroup-tdx-graphical packagegroup-tdx-qt5 packagegroup-wifi-fw-tdx-cli packagegroup-wifi-tdx-cli python3-openai python3-pip python3-pyaudio python3-pydub python3-pyttsx3 python3-websockets rsync run-postinsts scooter-dash systemd-analyze timestamp-service udev-extraconf util-linux v4l-utils wayland-qtdemo-launch-cinematicexperience weston-xwayland xterm' returned 255:
Installing media-files (1.2) on root
 
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
useradd: Warning: missing or non-executable shell '/bin/false'
Running useradd commands...
NOTE: dbus: Performing useradd with [--root /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs --system --home /var/lib/dbus                              --no-create-home --shell /bin/false                              --user-group messagebus]
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
useradd: Warning: missing or non-executable shell '/bin/false'
Running useradd commands...
NOTE: rpcbind: Performing useradd with [--root /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs --system --no-create-home --home-dir /                        --shell /bin/false --user-group rpc]
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
useradd: Warning: missing or non-executable shell '/bin/false'
Running useradd commands...
NOTE: systemd: Performing useradd with [--root /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs --system -d / -M --shell /sbin/nologin systemd-bus-proxy]
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs -r render]
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
NOTE: systemd: Performing groupadd with [--root /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/rootfs -r sgx]
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
0 Kudos
Reply
1 Reply

377 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Please try to remove your build and re-build it.

Also, please check if there is no an issue with those packages in Toradex BSP.

Best regards.

0 Kudos
Reply