[yocto] Is it possible to upgrade Nodejs from 8 to 10 LTS?

Stefano Cappa stefano.cappa.ks89 at gmail.com
Wed Jan 9 13:34:05 PST 2019


As explained here https://github.com/nodejs/Release, NodeJS 10 is the
current active LTS and NodeJS 8 is right now in "Maintenance" (from January
2019).

I saw that in master branch, Node has been updated from 8.12 to 8.14. Is
there an official scheduling to release NodeJS 10 in open-embedded, for
instance with yocto 2.7?

I tried to do a quick experiment trying to update it by myself, however it
throw this error: "*out/Release/torque: Syntax error: newline unexpected"*

Log is:
*(... many warnings)*
/home/ks89/git/poky/build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/nodejs/10.15.0-r0/node-v10.15.0/out/Release/torque:
10:
/home/ks89/git/poky/build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/nodejs/10.15.0-r0/*node-v10.15.0/out/Release/torque:
Syntax error: newline unexpected*
| deps/v8/gypfiles/v8_torque.host.mk:16: recipe for target
'474ee9f3a421e9e2d705d617ba14be9f67e824da.intermediate' failed
| make[1]: *** [474ee9f3a421e9e2d705d617ba14be9f67e824da.intermediate]
Error 2
| rm 19661344c85a670a13ee39e428de69a9b21ecba1.intermediate
474ee9f3a421e9e2d705d617ba14be9f67e824da.intermediate
| Makefile:99: recipe for target 'node' failed
| make: *** [node] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/ks89/git/poky/build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/nodejs/10.15.0-r0/temp/log.do_compile.35962)


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190109/460328d7/attachment.html>


More information about the yocto mailing list