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.

TMDSIDK572: Error when executing bitbake

Genius 5840 points

Part Number: TMDSIDK572

Hello,

There is an error as below. 

| ERROR: Function failed: do_compile (log file is located at /home2/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/qtwebengine/5.11.3+gitAUTOINC+18412af977_2095a35f30-r0.arago1/temp/log.do_compile.31108)

I also attached following log file.

0878.log.txt 

Error occurred after I executed following command.

$. conf/setenv

$MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle -c cleansstate

$MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle

I tried again executing following command, but same errors remain.

$MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle -c cleansall

$MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle

I'm using following environment:

 ・PROCESSOR-SDK-LINUX-AM57X  06_03_00_106

・Ubuntu 18.04.5

Could you tell me how to resolve it?

Regards,

U-SK

  • Hi U-SK,

    In the previous post, you had a successful build going and we also discussed how to resolve this type of problem:

    https://e2e.ti.com/support/processors/f/791/p/946365/3496293#3496293

    I would recommend that we try the similar method:

    cd build
    . conf/setenv
    MACHINE=am57xx-evm bitbake -c cleanall qtwebengine
    MACHINE=am57xx-evm bitbake qtwebengine
    MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle

    Regards

    Karthik

  • Hi Karthik,

    Thank you for your reply.

    I'll contact my customer to answer it.

    Why do you think the following command will not solve it, but the command you provided will solve it?

    $MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle -c cleanall

    $MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle

    It looks like it's doing the same thing to me.

    Are there any difference?

    I would like to understand it to solve future problem.

    Regards,

    U-SK

  • Hi U-SK,

    The cleanall on the arago-core-tisdk-bundle is only going to clean the tasks of the package creation and not the individual recipes.

    Therefore, you should do the cleanall on the failing recipe.

    Regards

    Karthik

  • Hi Karthik,

    Thank you for your reply.

    My customer executed following procedure you advised.

    1
    2
    3
    4
    5
    cd build
    . conf/setenv
    MACHINE=am57xx-evm bitbake -c cleanall qtwebengine
    MACHINE=am57xx-evm bitbake qtwebengine
    MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle

    But problem still remain...

    Error message is following.

    | ERROR: oe_runmake failed
    | WARNING: /home2/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/qtwebengine/5.11.3+gitAUTOINC+18412af977_2095a35f30-r0.arago1/temp/run.do_compile.20314:1 exit 1 from 'exit 1'
    | ERROR: Function failed: do_compile (log file is located at /home2/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/qtwebengine/5.11.3+gitAUTOINC+18412af977_2095a35f30-r0.arago1/temp/log.do_compile.20314)
    ERROR: Task (/home2/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_compile) failed with exit code '1'

    And log file is below.

    log_compile.txt

    Could you tell me how to solve it?

    Regards,

    U-SK

  • Hi U-SK,

    Has the customer installed all the pre-requisite tools that are required on the Ubuntu machine?

    I'm suspecting that the following two packages would need to be installed.

    sudo apt-get install gcc-multilib g++-multilib

    And after doing this, you will have to repeat 

    1
    2
    3
    4
    5
    cd build
    . conf/setenv
    MACHINE=am57xx-evm bitbake -c cleanall qtwebengine
    MACHINE=am57xx-evm bitbake qtwebengine
    MACHINE=am57xx-evm bitbake arago-core-tisdk-bundle

    Regards

    Karthik