I start learning yocto build for imx 6. I followed the link Yocto Training - HOME
during my first build, Task #2 - First build
automake get failed, I am using ubuntu 16.04.
why x86_64 is being build?
how can i resolve this, It look like not direct? I have gone to automake bb file. i could not find any do_compile.
I have given my error print below:-
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /media/adminx/linux/nxp_yocto/fsl-community-bsp/build/tmp/work/x86_64-linux/automake-native/1.12.6-r0/temp/log.do_compile.9678)
ERROR: Logfile of failure stored in: /media/adminx/linux/nxp_yocto/fsl-community-bsp/build/tmp/work/x86_64-linux/automake-native/1.12.6-r0/temp/log.do_compile.9678
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| : && /bin/mkdir -p doc && PATH="/media/adminx/linux/nxp_yocto/fsl-community-bsp/build/tmp/work/x86_64-linux/automake-native/1.12.6-r0/build/t/wrap:$PATH" && export PATH && /usr/bin/perl /media/adminx/linux/nxp_yocto/fsl-community-bsp/build/tmp/work/x86_64-linux/automake-native/1.12.6-r0/automake-1.12.6/doc/help2man --output=doc/automake-1.12.1 automake-1.12
| help2man: can't get `--help' info from automake-1.12
| Try `--no-discard-stderr' if option outputs to stderr
| Makefile:4114: recipe for target 'doc/automake-1.12.1' failed
| make: *** [doc/automake-1.12.1] Error 255
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /media/adminx/linux/nxp_yocto/fsl-community-bsp/build/tmp/work/x86_64-linux/automake-native/1.12.6-r0/temp/log.do_compile.9678)
ERROR: Task 421 (virtual:native:/media/adminx/linux/nxp_yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/automake/automake_1.12.6.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 119 tasks of which 113 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
virtual:native:/media/adminx/linux/nxp_yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/automake/automake_1.12.6.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Hello Kalaiyarasan Selvaraj,
Which BSP are you using? The training uses the Dora branch, which was released in October 2013. I would recommend using a newer branch. You can find the latest branches of the Community BSP on the following link:
Please also make sure you install the corresponding version of the packages required for the Ubuntu host:
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ubuntu-packages
I hope this helps!
Regards,