* Yocto Project Build Failure at do_rootfs Task
@ 2024-11-01 8:32 rania.taabouri
2024-11-02 4:46 ` [yocto] " Gyorgy Sarvari
0 siblings, 1 reply; 2+ messages in thread
From: rania.taabouri @ 2024-11-01 8:32 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 4519 bytes --]
*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)
[-- Attachment #2: Type: text/html, Size: 5022 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [yocto] Yocto Project Build Failure at do_rootfs Task
2024-11-01 8:32 Yocto Project Build Failure at do_rootfs Task rania.taabouri
@ 2024-11-02 4:46 ` Gyorgy Sarvari
0 siblings, 0 replies; 2+ messages in thread
From: Gyorgy Sarvari @ 2024-11-02 4:46 UTC (permalink / raw)
To: yocto, rania.taabouri
The repeated logs about SYSLOG_SU_ENAB and SYSLOG_SG_ENAB don't fail the
build[0]. Somewhere deep in the same logs there should be some extra
info about the actual fatal error, that fails your build - grep the spam
out.
[0] - these are poorly worded warnings/printouts, AFAICT mostly
harmless(TM). In my understanding these messages are a side-effect of
0001-Disable-use-of-syslog-for-sysroot.patch, which is applied on
shadow-native in Kirkstone (but in later releases this patch was removed).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-02 4:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01 8:32 Yocto Project Build Failure at do_rootfs Task rania.taabouri
2024-11-02 4:46 ` [yocto] " Gyorgy Sarvari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox