[bitbake-devel] Question about the error of do_compile and oe_runmake failed in bitbake

Choi Paul cws7777 at hotmail.com
Fri Jun 23 13:47:19 UTC 2017


Hi,

This is  Paul Choi who is  a beginner of yocto image building and having a hard time on error(shown in attached figure) when I build image by typing 'bitbake piflo' (piflo is the name of image)

Originally, I was using batman-adv-2016.4.bb and batctl-2016.4.bb and it builds well before with typing 'bitbake piflo'.

However, after upgrading batman-adv-2016.4 and batctl-2016.4 to 2017.1, it gives me some errors like figure.


Here are error messages:


ERROR: batctl-2017.1-r0 do_compile: oe_runmake failed
ERROR: batctl-2017.1-r0 do_compile: Function failed: do_compile (log file is located at /opt/cws7777/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/batctl/2017.1-r0/temp/log.do_compile.24608)
ERROR: Logfile of failure stored in: /opt/cws7777/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/batctl/2017.1-r0/temp/log.do_compile.24608
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 STAGING_INC=
| Makefile:65: *** pkg-config not found.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /opt/cws7777/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/batctl/2017.1-r0/temp/log.do_compile.24608)
ERROR: Task (/opt/cws7777/meta-piflo/recipes-connectivity/batctl/batctl_2017.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2553 tasks of which 2552 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /opt/cws7777/meta-piflo/recipes-connectivity/batctl/batctl_2017.1.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.




What did I do wrong..? or any suggestions?


Thanks in advance.


Best,

Paul Choi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170623/73818b4b/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.jpg
Type: image/jpeg
Size: 299445 bytes
Desc: error.jpg
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170623/73818b4b/attachment-0002.jpg>


More information about the bitbake-devel mailing list