Hi community,
I am working on a Verdin AM62 SoM and my project involves PyQt5. I can successfully build the image using bitbake tdx-reference-multimedia-image without any issues. However, I am facing errors only while generating the SDK using bitbake tdx-reference-multimedia-image -c populate_sdk. The failure occurs during the compilation of the GDB cross-canadian component, and the build stops with an oe_runmake failed error in gdb-cross-canadian_14.2.bb. Additionally, binutils-cross-canadian_2.42.bb also fails to compile. The issue appears to be limited to nativesdk / cross-canadian toolchain components, as the target image itself builds fine. Has anyone faced a similar issue or can suggest what to check?
Error observed:
make[2]: *** [Makefile:2173: gdb] Error 1
make[1]: *** [Makefile:10963: all-gdb] Error 2
ERROR: oe_runmake failed
ERROR: Task
meta/recipes-devtools/gdb/gdb-cross-canadian_14.2.bb:do_compile
failed with exit code '1'
Additionally, the following task also fails:
meta/recipes-devtools/binutils/binutils-cross-canadian_2.42.bb:do_compile
So the issue seems to be limited to nativesdk / cross-canadian toolchain components, not the target image itself.
Relevant local.conf entries:
DISTRO_FEATURES:append = " opengl"
# DO NOT SET THE MACHINE AFTER THE ABOVE INCLUDE
ACCEPT_FSL_EULA = "1"
IMAGE_INSTALL:append = "python3 python3-pyqt5 python3-gpiod"
# newly adding for Display
IMAGE_INSTALL:append = " nano libdrm libinput evtest weston"
IMAGE_INSTALL:append = " kernel-module-lan9252"
IMAGE_INSTALL:append = " ttf-droid-sans ttf-droid-sans-fallback ttf-droid-sans-mono ttf-droid-serif freetype"
PACKAGECONFIG_FONTS:pn-qtbase = "fontconfig"
PACKAGECONFIG:append:pn-qtvirtualkeyboard = " lang-zh_CN"
IMAGE_INSTALL:append = " canopenlinux can-utils"
I would like to understand why this error occurs specifically during SDK generation and not during the image build. Any guidance would be appreciated. Thanks in advance.
Regards,
Raju