This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: Yocto Build oe_runmake Failed

Part Number: AM625

Tool/software:

Hi TI Experts,

Customer is working on AM62x SDK9.2.

They are following the section 1.2.3 below to build the yocto on host.

https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_02_01_10/exports/docs/linux/Overview_Building_the_SDK.html

However, they meet the below oe_runmake failed problem, could you help provide some clue for customer to move on please?

Thanks a lot,

Kevin

  • Hi Kevin,

    it looks like the `qtbase-native` recipe build fails; at the end of the screenshot you provided is a reference to a local logfile ("ERROR: Logfile of failure stored in: /home/.....") that should be examined for further clues.

    From past experience it can be said however often Qt-related recipes often fail to build due to the build running our of memory (specifically RAM), which is an issue that a simple restart of the build sometimes can recover from, but sometimes not. If a simple restart of the build doesn't help you can try to clean out that recipe completely (`bitbake -c cleansstate qtbase-native`) and re-start the build. But before that try the following:

    • Increase virtual memory (swap space) to at least 16GB https://help.ubuntu.com/community/SwapFaq
    • Reduce the parallel build-related options in conf/local.conf. Try setting the below settings  to `8`, or even `4`:

      BB_NUMBER_THREADS ?= "8"
      PARALLEL_MAKE ?= "-j 8"

    Regards, Andreas