Do_rrotfs fails because of a recipe

hello i am working with kirkstone yocto and tryin to add a python package to my image the bitbake of this package completes successfully and i tried it on the board and it works but when i do IMAGE_INSTALL this new packge in my custom layer.conf file the build fails

these are logs:

rania@rania:~$ grep -i "error" /home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/temp/log.do_rootfs.308129
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-httpx python3-pip 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 kernel-module-error-5.15.148-6.7.0-devel+git.bfdbfb2c85fb (5.15.148+git0+bfdbfb2c85) on root
Downloading file:/home/rania/pixii_os/pixii_os/build/tmp/work/apalis_imx8-tdx-linux/tdx-reference-multimedia-image/1.0-r0/oe-rootfs-repo/apalis_imx8/kernel-module-error-5.15.148-6.7.0-devel+git.bfdbfb2c85fb_5.15.148+git0+bfdbfb2c85-r0_apalis_imx8.ipk.
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
configuration error - unknown item 'SYSLOG_SG_ENAB' (notify administrator)
Configuring kernel-module-error-5.15.148-6.7.0-devel+git.bfdbfb2c85fb.

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 root filesystem (rootfs) build process is failing due to configuration errors related to ‘SYSLOG_SU_ENAB’ and ‘SYSLOG_SG_ENAB’. These errors are likely causing the installation command to return a non-zero exit code (255), which indicates a failure in the installation process.

Here are some steps you can take to address the issue:

  1. Investigate Configuration Files: Check the configuration files for any missing or misconfigured settings related to ‘SYSLOG_SU_ENAB’ and ‘SYSLOG_SG_ENAB’. These settings might be part of a package or system configuration that is not correctly defined.

  2. Review Dependencies: Ensure that all dependencies for the new Python package are correctly specified in the recipe. Unresolved dependencies or conflicts with other packages could be causing the installation to fail.

  3. Verbose Logging: Consider running the build process with verbose logging to capture more detailed error messages. This could provide further insights into the failure and help identify the root cause.

  4. Consult Documentation: Review the Yocto Project documentation and any relevant Toradex resources for guidance on resolving configuration errors and ensuring proper package installation.

By addressing these configuration errors and ensuring all dependencies are correctly defined, you should be able to resolve the build failure.

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

Added recipe not building correctly.

the package is httpx here’s its recipe :

LICENSE = "Unknown"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05"

SRC_URI = "https://files.pythonhosted.org/packages/8a/df/a3e8b91dfb452e645ef110985a30f0915276a1a2144004c7671c07bb203c/httpx-${PV}.tar.gz"
SRC_URI[md5sum] = "76bc821eccbacc59ca337f537d0f3b46"
SRC_URI[sha1sum] = "4bc9bbc986d68b48c44a9e0a617fb644a8fd9f96"
SRC_URI[sha256sum] = "202ae15319be24efe9a8bd4ed4360e68fde7b38bcc2ce87088d416f026667d19"
SRC_URI[sha384sum] = "dbad92443e0edd76f983ddb9ba5d7c7b278a4c1a890dc390861955d1bf4f4ceee87c56945a4d3c813a1f66b9395db19c"
SRC_URI[sha512sum] = "cc22a52b12f91b81b80d77f95592f22a6dc76425c0dfcae8c5988efeb8e56189439f0b63d0fd140c6ee94126c8c94b204a8056a70147ac383ddfb537a32c2f64"

S = "${WORKDIR}/httpx-${PV}"

inherit pypi python_setuptools_build_meta

PYPI_PACKAGE = "httpx"

RDEPENDS:${PN} += "python3-rfc3986  python3-sniffio python3-certifi python3-httpcore  python3-idna"

i bitbaked each RDEPENDS apart and i am pretty sure that it worked successfully as well as the httpx recipe am i declaring them in a wrong way

Hi @rania !

So this is solved?

Is your last message the solution? If yes, kindly mark it as the solution :slight_smile:

Best regards,

the solution was that i fixed the httpx recipe i worked with the package .whl file it’s much easier cause all what i had to do is to install the binaries no need for building or compiling just a cp -r would solve the problem after that i took the package back to local.conf and the build completed successfully