All of lore.kernel.org
 help / color / mirror / Atom feed
* Is it possible to upgrade Nodejs from 8 to 10 LTS?
@ 2019-01-09 21:34 Stefano Cappa
  2019-01-10 10:59 ` Alexander Kanavin
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Cappa @ 2019-01-09 21:34 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1838 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is it possible to upgrade Nodejs from 8 to 10 LTS?
  2019-01-09 21:34 Is it possible to upgrade Nodejs from 8 to 10 LTS? Stefano Cappa
@ 2019-01-10 10:59 ` Alexander Kanavin
  2019-01-10 18:04   ` Stefano Cappa
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2019-01-10 10:59 UTC (permalink / raw)
  To: Stefano Cappa; +Cc: yocto

On Wed, 9 Jan 2019 at 22:34, Stefano Cappa <stefano.cappa.ks89@gmail.com> wrote:
> 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?

In Yocto there is generally no official scheduling for version
updates. That work is basically all volunteer-driven, so you are
welcome to prepare the patches and send them for review and testing.

Alex


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is it possible to upgrade Nodejs from 8 to 10 LTS?
  2019-01-10 10:59 ` Alexander Kanavin
@ 2019-01-10 18:04   ` Stefano Cappa
  2019-01-11  1:03     ` Stefano Cappa
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Cappa @ 2019-01-10 18:04 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1666 bytes --]

Thank u for the answer.

The problem is that I'm not expert in this stuff and Nodejs is not
something so easy to port like small softwares and so on. I think that
Nodejs is more appropriate for advanced users.
However, I'll try to do some other random experiments to understand how to
port the recipe and eventually I'll post my progress here also if not fully
working.

Another suggestion to the open-embedded community is to create two recipes,
one called nodejs and another one nodejs-lts. Generally speaking its easier
to do smaller upgrades if made step by step. In this way it is possible to
maintain the current lts and also the latest release (not lts). Probably
the porting from the latest non lts to the next lts wil be simpler then
skipping two versions in a single step. But these are only my suppositions.
I never ported complex softwares like this in yocto, so I could say stupid
things.

Il gio 10 gen 2019, 12:00 Alexander Kanavin <alex.kanavin@gmail.com> ha
scritto:

> On Wed, 9 Jan 2019 at 22:34, Stefano Cappa <stefano.cappa.ks89@gmail.com>
> wrote:
> > 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?
>
> In Yocto there is generally no official scheduling for version
> updates. That work is basically all volunteer-driven, so you are
> welcome to prepare the patches and send them for review and testing.
>
> Alex
>

[-- Attachment #2: Type: text/html, Size: 2157 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is it possible to upgrade Nodejs from 8 to 10 LTS?
  2019-01-10 18:04   ` Stefano Cappa
@ 2019-01-11  1:03     ` Stefano Cappa
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Cappa @ 2019-01-11  1:03 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2582 bytes --]

I tried to port the recipe to node 9.11.2 and I built it without errors
with yocto thud.
The same for both 10.*0.0* and 10*.4.0*.
Everything seems to be ok, but I still need to run these versions on a real
board, so I'll confirm the result in a couple of days.

However, when I try, for instance with either node 10.*15*.0, 10.*14.2* I
receive tons of warnings and the error *"out/Release/torque: Syntax error:
newline unexpected".*
Instead, with both 10.0.0, 10.4.0, I can build also without warnings.

*I still trying to understand the maximum version that I can build to try
to compare it. *
*I'll do some check and then I'll post the recipe with the new patch file
and the full log with the error (it's really huge) to ask help.*


Il giorno gio 10 gen 2019 alle ore 19:04 Stefano Cappa <
stefano.cappa.ks89@gmail.com> ha scritto:

> Thank u for the answer.
>
> The problem is that I'm not expert in this stuff and Nodejs is not
> something so easy to port like small softwares and so on. I think that
> Nodejs is more appropriate for advanced users.
> However, I'll try to do some other random experiments to understand how to
> port the recipe and eventually I'll post my progress here also if not fully
> working.
>
> Another suggestion to the open-embedded community is to create two
> recipes, one called nodejs and another one nodejs-lts. Generally speaking
> its easier to do smaller upgrades if made step by step. In this way it is
> possible to maintain the current lts and also the latest release (not lts).
> Probably the porting from the latest non lts to the next lts wil be simpler
> then skipping two versions in a single step. But these are only my
> suppositions. I never ported complex softwares like this in yocto, so I
> could say stupid things.
>
>
> Il gio 10 gen 2019, 12:00 Alexander Kanavin <alex.kanavin@gmail.com> ha
> scritto:
>
>> On Wed, 9 Jan 2019 at 22:34, Stefano Cappa <stefano.cappa.ks89@gmail.com>
>> wrote:
>> > 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?
>>
>> In Yocto there is generally no official scheduling for version
>> updates. That work is basically all volunteer-driven, so you are
>> welcome to prepare the patches and send them for review and testing.
>>
>> Alex
>>
>

[-- Attachment #2: Type: text/html, Size: 3521 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-11  1:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-09 21:34 Is it possible to upgrade Nodejs from 8 to 10 LTS? Stefano Cappa
2019-01-10 10:59 ` Alexander Kanavin
2019-01-10 18:04   ` Stefano Cappa
2019-01-11  1:03     ` Stefano Cappa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.