openembedded/meta-openembedded

dunfell: failure in nodejs_12.21.0.bb:do_compile

Closed this issue · 1 comments

pdp7 commented

Full logs: log.zip

  • build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/nodejs/12.21.0-r0/temp/log.do_compile.2551618
  • build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/nodejs/12.21.0-r0/temp/run.do_compile.2551618

tail of the console output:

| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| node.target.mk:189: recipe for target 'Release/node' failed
| make[1]: *** [Release/node] Error 1
| make[1]: *** Waiting for unfinished jobs....
| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| mkcodecache.target.mk:184: recipe for target 'Release/mkcodecache' failed
| make[1]: *** [Release/mkcodecache] Error 1
| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| cctest.target.mk:206: recipe for target 'Release/cctest' failed
| make[1]: *** [Release/cctest] Error 1
| rm 73cabf9bad087761e8df531845a927a73b7781d0.intermediate 4c186ef11354ae0003c9465fc676d7e66b8868c4.intermediate 7262d123ef043917ddc5e6228e24000eef0002bf.intermediate
| Makefile:104: recipe for target 'node' failed
| make: *** [node] Error 2
| WARNING: /e4-yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/nodejs/12.21.0-r0/temp/run.do_compile.2551618:1 exit 1 from 'exit 1'
| 
ERROR: Task (/e4-yocto/build/../sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_12.21.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4857 tasks of which 3344 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /e4-yocto/build/../sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_12.21.0.bb:do_compile
Summary: There were 21 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
bitbakeuser@59d98d745fdd:/e4-yocto$  

I saw references to ld being killed could be related to running out of memory. I have 16GB RAM. Is it likely that I need more?

Thanks!

pdp7 commented

Yes, it was memory. I killed off everything else. Flushed the page cache and buffers. Upon trying again, it completed ok.