<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-devtools/nodejs, branch mickledore-net</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=mickledore-net</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=mickledore-net'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2023-07-25T11:13:21+00:00</updated>
<entry>
<title>nodejs: upgrade 18.14.2 -&gt; 18.16.1</title>
<updated>2023-07-25T11:13:21+00:00</updated>
<author>
<name>Polampalli, Archana</name>
<email>archana.polampalli@windriver.com</email>
</author>
<published>2023-07-18T15:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=d9bd685f6e279c7cb50f568cafb2606bd0dcb41a'/>
<id>urn:sha1:d9bd685f6e279c7cb50f568cafb2606bd0dcb41a</id>
<content type='text'>
Refresh 0001-Disable-running-gyp-files-for-bundled-deps.patch against 18.16.1

License-Update: Add missing licenses for Ada [1] BSD, Simduf [2] BSD, posteject
[3] MIT

[1] https://github.com/nodejs/node/commit/0bc4c17e5705ea042cda392343d7301bb91873ed
[2] https://github.com/nodejs/node/commit/c9845fc3341fcdce298ad7f1630e329d71a6e746
[3] https://github.com/nodejs/node/commit/4aaec0726694ad0d3cb05d7f2593a90363c32f32

The list of the CVEs are fixed in this relase:

    CVE-2023-30581
    CVE-2023-30585
    CVE-2023-30588
    CVE-2023-30589
    CVE-2023-30590

https://github.com/nodejs/node/releases/tag/v18.16.1
https://github.com/nodejs/node/releases/tag/v18.16.0
https://github.com/nodejs/node/releases/tag/v18.15.0

Signed-off-by: Archana Polampalli &lt;archana.polampalli@windriver.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>Nodejs: add missing run_ptest script</title>
<updated>2023-03-25T15:54:59+00:00</updated>
<author>
<name>Archana Polampalli</name>
<email>archana.polampalli@windriver.com</email>
</author>
<published>2023-03-24T16:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=2144e93beb8eeff00c47ad88fc2d7ee781baa068'/>
<id>urn:sha1:2144e93beb8eeff00c47ad88fc2d7ee781baa068</id>
<content type='text'>
ptest-runner is not available for Nodejs on target hence added run-ptest script

Signed-off-by: Archana Polampalli &lt;archana.polampalli@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: package-split between nodejs and nodejs-npm</title>
<updated>2023-03-23T22:03:29+00:00</updated>
<author>
<name>Jan Feemers</name>
<email>jan.feemers@siemens.com</email>
</author>
<published>2023-03-22T18:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=4488418a29ccf42b3fd0f7d0a4b9e497aec64325'/>
<id>urn:sha1:4488418a29ccf42b3fd0f7d0a4b9e497aec64325</id>
<content type='text'>
The nodejs package contains a symbolic link `/usr/bin/corepack` to a
file from the nodejs-npm package.

```shell
build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/packages-split/nodejs/usr/bin$ ls -l
total 31932
lrwxrwxrwx 1 jan jan       45 Feb 21 05:08 corepack -&gt; ../lib/node_modules/corepack/dist/corepack.js
-rwxr-xr-x 2 jan jan 32694304 Feb 21 05:08 node

build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/packages-split/nodejs-npm/usr/lib/node_modules/corepack/dist$ ls -l
total 2428
-rwxr-xr-x 2 jan jan  614216 Feb 21 05:08 corepack.js
```

Due to the link, the build system detects a dependency from package
`nodejs` to package `nodejs-npm`.
Since the `nodejs-npm` package depends on plenty more packages the link
should be moved to the `nodejs-npm` package.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Depend on file-native</title>
<updated>2023-03-15T04:04:13+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-03-15T03:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=093077adc12e8b82eefe8feaae2c07224fd68a34'/>
<id>urn:sha1:093077adc12e8b82eefe8feaae2c07224fd68a34</id>
<content type='text'>
Some older distribution e.g. alma8 has a version of file utility which
is version 5.33 but more importantly missing this patch [1] from version
5.40 which causes package failures in wasm files e.g.

ERROR: nodejs-18.14.2-r0 do_package: Fatal errors occurred in subprocesses:
Command '['file', '-b', '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/package/usr/lib/nodejs/ptest/test/wasi/wasm/write_file.wasm']' returned non-zero exit status 1.
Subprocess output:ERROR: Bad magic format `version %#x (MVP)' (bad format char: #)
Command '['file', '-b', '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/package/usr/lib/nodejs/ptest/test/wasi/wasm/symlink_loop.wasm']' returned non-zero exit status 1.
Subprocess output:ERROR: Bad magic format `version %#x (MVP)' (bad format char: #)
Command '['file', '-b', '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/package/usr/lib/nodejs/ptest/test/wasi/wasm/notdir.wasm']' returned non-zero exit status 1.
Subprocess output:ERROR: Bad magic format `version %#x (MVP)' (bad format char: #)
Command '['file', '-b', '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/package/usr/lib/nodejs/ptest/test/wasi/wasm/preopen_populates.wasm']' returned non-zero exit status 1.
Subprocess output:ERROR: Bad magic format `version %#x (MVP)' (bad format char: #)
Command '['file', '-b', '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/package/usr/lib/nodejs/ptest/test/wasi/wasm/clock_getres.wasm']' returned non-zero exit status 1.
Subprocess output:ERROR: Bad magic format `version %#x (MVP)' (bad format char: #)
Command '['file', '-b', '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/package/usr/lib/nodejs/ptest/test/wasi/wasm/main_args.wasm']' returned non-zero exit status 1.

[1] https://github.com/file/file/commit/85b7ab83257b3191a1a7ca044589a092bcef2bb3

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Upgrade to 18.14.2</title>
<updated>2023-03-04T21:41:13+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-03-04T01:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a4491a3e3ef0a73a3b3036808c1d244d43f925f0'/>
<id>urn:sha1:a4491a3e3ef0a73a3b3036808c1d244d43f925f0</id>
<content type='text'>
License-Update: Add base64 license information [1] and postject [2]

[1] https://github.com/nodejs/node/commit/2ec8092e2cf70267e765dfe4baf13d72838a58ed
[2] https://github.com/nodejs/node/commit/4aaec0726694ad0d3cb05d7f2593a90363c32f32

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: remove redundant comment</title>
<updated>2023-02-24T16:45:43+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2023-02-23T12:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=d051d73bbb7ccba6741c127601dec802e3984f54'/>
<id>urn:sha1:d051d73bbb7ccba6741c127601dec802e3984f54</id>
<content type='text'>
This commented-out assignment should have been removed in 3ff0235.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: no need to stage binaries for target</title>
<updated>2023-02-22T09:07:43+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2023-02-20T15:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=d37abd5f8cef85b15506ac667e0be4b97d9dba2b'/>
<id>urn:sha1:d37abd5f8cef85b15506ac667e0be4b97d9dba2b</id>
<content type='text'>
Target nodejs doesn't depend on nodejs-native to build anymore, so there
is no need to stage these binaries.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: remove LD assignment</title>
<updated>2023-02-22T09:07:43+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2023-02-20T15:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=3ff0235737077ab43a7e8ce065d891a13d2c0d17'/>
<id>urn:sha1:3ff0235737077ab43a7e8ce065d891a13d2c0d17</id>
<content type='text'>
The purpose of this appears to have been lost, and the build succeeds
without it.

If it is needed, then it should be added to EXTRA_OEMAKE alongside the
CC and CXX assignments.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: don't force cross-compilation in native builds</title>
<updated>2023-02-22T09:07:43+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2023-02-20T15:46:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=fcddf51b7c9a09d0504021476dc68a786ef5344b'/>
<id>urn:sha1:fcddf51b7c9a09d0504021476dc68a786ef5344b</id>
<content type='text'>
By not forcing the cross-compile build logic in native builds the build
is a _lot_ faster.  Walltime in buildstats-diff on my machine:

  nodejs-native    do_compile  -475.6s   -41.2%    1153.4s -&gt; 677.7s

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: use a postfunc to prune source tree</title>
<updated>2023-02-22T09:07:43+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2023-02-20T15:46:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1ed7324c575ee7e346bbf8dd344b69646a5af24a'/>
<id>urn:sha1:1ed7324c575ee7e346bbf8dd344b69646a5af24a</id>
<content type='text'>
Instead of overriding do_unpack entirely and calling into base_do_unpack,
use a postfunc.  This keeps the prune logic separated neatly.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
