Hi,
I’m working with the i.MX8MP Verdin SoM on the Mallow Carrier Board, and I’ve successfully built a Yocto image using the Scarthgap release. I’m now trying to add a custom splash screen using Plymouth, following the official Toradex guide:
I followed all the steps mentioned in the documentation, including setting up the layers and enabling Plymouth, but I’m encountering a build error during the do_compile
task of the plymouth
recipe.
Here is the error summary:
ERROR: plymouth-24.004.60-r0 do_compile: ExecutionError(‘/home/vilter/splash_screen/build/tmp/work/armv8a-mx8mp-tdx-linux/plymouth/24.004.60/temp/run.do_compile.604464’, 1, None, None)
ERROR: Logfile of failure stored in: /home/vilter/splash_screen/build/tmp/work/armv8a-mx8mp-tdx-linux/plymouth/24.004.60/temp/log.do_compile.604464
| …/plymouth-24.004.60/src/main.c: In function ‘get_theme_path’:
| …/plymouth-24.004.60/src/main.c:288:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
| 288 | asprintf (theme_path,
| | ^~~~~~~~~~~~~~~~~~~~~
| 289 | “%s/%s/%s.plymouth”,
| | ~~~~~~~~~~~~~~~~~~~~
| 290 | paths[i], splash_string, splash_string);
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
| INFO: autodetecting backend as ninja
| INFO: calculating backend command to run: /home/vilter/splash_screen/build/tmp/work/armv8a-mx8mp-tdx-linux/plymouth/24.004.60/recipe-sysroot-native/usr/bin/ninja -j 17 -v
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/vilter/splash_screen/build/…/layers/meta-openembedded/meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb:do_compile) failed with exit code ‘1’
Could you please help me understand what could be causing this compilation failure and how to resolve it? Is there any known issue with plymouth
in the Scarthgap release or a patch that I might be missing?