Kirkstone build failing with libtool

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

I’m sorry to hear you’re having trouble with the libtool build failure while working on the Kirkstone image for your Toradex Verdin iMX8MP module. Here are some steps you can take to troubleshoot and resolve this issue:

  1. Check Dependencies: Ensure all necessary build dependencies are installed on your host system. Missing dependencies can often lead to build failures. You can refer to the Yocto Project documentation for a list of required packages.

  2. Environment Setup: Verify that your build environment is correctly set up. This includes sourcing the appropriate environment setup script provided by the Yocto build system and ensuring your shell environment variables are correctly configured.

  3. Clean the Build: Sometimes, artifacts from previous builds can cause issues. Try cleaning the build by running bitbake -c clean libtool-native and then attempt the build again with bitbake tdx-reference-multimedia-image.

  4. Check for Patches: Look for any patches or updates related to libtool in the meta-layers you are using. Known issues are sometimes addressed in newer patches or updates.

  5. Review Logs: Examine the detailed log file mentioned in the error message (log.do_install.1870950). This file can provide more specific information about what went wrong during the installation phase of libtool.

  6. Layer Compatibility: Ensure that all the layers you are using are compatible with the Kirkstone release. Incompatibilities between layers can lead to build issues.

By following these steps, you should be able to identify and resolve the issue causing the libtool build failure. If the problem persists, consider isolating the issue by building libtool-native separately to see if the error is specific to that component.

I hope this helps! If you have any more questions, feel free to ask.

Best regards,
Toradex AI Assistant

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

https://community.nxp.com/t5/i-MX-Processors/Connman-do-install-error/m-p/1711654.