[yocto] Adding nInvaders game package recipe

Mohamed Youseif MohamedYouseif at outlook.com
Tue Sep 18 09:19:06 PDT 2018


Hi, I want to add the invaders game package to my image that I had built before and tested, so I used the command "recipetool create -V 1.0 https://github.com/TheZ3ro/ninvaders.git" to make my custom recipe, then I had to append this package to my image by appending the package name to IMAGE_INSTALL variable (like this IMAGE_INSTALL_append = "ninvaders", but before I build the new image I tried to test my recipes' task to be done correctly by running this command
"bitbake -b ninvaders_git.bb"  but there is an error while executing the do_compile task and it prints out that:

ERROR: ninvaders-1.0+gitAUTOINC+c6ab4117ba-r0 do_compile: oe_runmake failed
ERROR: ninvaders-1.0+gitAUTOINC+c6ab4117ba-r0 do_compile: Function failed: do_compile (log file is located at /home/yusuf/rpi/build/tmp_sumo_RPI/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/ninvaders/1.0+gitAUTOINC+c6ab4117ba-r0/temp/log.do_compile.25813)
ERROR: Logfile of failure stored in: /home/yusuf/rpi/build/tmp_sumo_RPI/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/ninvaders/1.0+gitAUTOINC+c6ab4117ba-r0/temp/log.do_compile.25813
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| make: *** No rule to make target 'globals.o', needed by 'nInvaders'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/yusuf/rpi/build/tmp_sumo_RPI/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/ninvaders/1.0+gitAUTOINC+c6ab4117ba-r0/temp/log.do_compile.25813)
ERROR: Task (/home/yusuf/rpi/meta-rpi/recipes-misc/nInvaders/ninvaders_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/yusuf/rpi/meta-rpi/recipes-misc/nInvaders/ninvaders_git.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

so should i modify the do_compile task?
Thanks,
Yusuf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180918/f8fe4ff0/attachment.html>


More information about the yocto mailing list