Update to node-18.17.0.

This commit is contained in:
Bruce Dubbs 2023-07-20 12:56:59 -05:00
parent 141e445095
commit 79cf80f5d8
3 changed files with 18 additions and 25 deletions

View File

@ -6,10 +6,10 @@
<!ENTITY nodejs-download-http "https://nodejs.org/dist/v&nodejs-version;/node-v&nodejs-version;.tar.xz">
<!ENTITY nodejs-download-ftp " ">
<!ENTITY nodejs-md5sum "ab4dbb04d13f8b4cb14e610fef5f9760">
<!ENTITY nodejs-md5sum "5dd4a23c3e883af3dcab5adc846d91bc">
<!ENTITY nodejs-size "39 MB">
<!ENTITY nodejs-buildsize "985 MB (add 64 MB for tests)">
<!ENTITY nodejs-time "17 SBU (add 4.5 SBU for tests: both using parallelism=4 and 4 CPUs online, parts of the tests will use all online CPUs)">
<!ENTITY nodejs-buildsize "919 MB (add 30 MB for tests)">
<!ENTITY nodejs-time "6.7 SBU (add 3.5 SBU for tests: both using parallelism=8 and 8 CPUs online, parts of the tests will use all online CPUs)">
]>
<sect1 id="nodejs" xreflabel="nodejs-&nodejs-version;">
@ -107,24 +107,6 @@
<sect2 role="installation">
<title>Installation of Node.js</title>
<!--
<para>
First, apply a patch to fix building Node.js against ICU-69.1:
</para>
<screen><userinput>patch -Np1 -i ../node-v&nodejs-version;-icu_69-1.patch</userinput></screen>
-->
<!-- Does not appear to be needed for version 18.13.0
<para>
The <command>configure</command> script for this version of Node.js is
not aware of Python-3.11. If you have installed <xref linkend="python3"/>,
apply the following change:
</para>
<screen><userinput>sed -e '/=.*exec/a command -v python3.11 >/dev/null &amp;&amp; exec python3.11 "$0" "$@"' \
-e s'/((/((3, 11), (/' \
-i configure</userinput></screen>
-->
<para>
Build <application>Node.js</application> by running the following
commands:
@ -141,11 +123,12 @@ make</userinput></screen>
<para>
To test the results, issue: <command>make test-only</command>.
Three tests (of 3800 tests), test-net-socket-connect-without-cb,
test-tcp-wrap-listen, and test-dns-perf_hooks, are known to fail.
Two tests (of 3801 tests), test-net-socket-connect-without-cb and
test-tcp-wrap-listen are known to fail.
<!--
Failed tests:
out/Release/node /tmp/node-v18.14.1/test/parallel/test-cluster-bind-privileged-port.js
out/Release/node /build/node/node-v18.17.0/test/parallel/test-net-socket-connect-without-cb.js
out/Release/node - -expose-internals /build/node/node-v18.17.0/test/parallel/test-tcp-wrap-listen.js
-->
</para>

View File

@ -38,6 +38,16 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>July 19th, 2023</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Update to node-18.17.0. Fixes
<ulink url="&blfs-ticket-root;18308">#18308</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>July 19th, 2023</para>
<itemizedlist>

View File

@ -174,7 +174,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!ENTITY log4cplus-release "2_1_0">
<!ENTITY lzo-version "2.10">
<!ENTITY mtdev-version "1.1.6">
<!ENTITY nodejs-version "18.16.1">
<!ENTITY nodejs-version "18.17.0">
<!ENTITY npth-version "1.6">
<!ENTITY nspr-version "4.35">
<!ENTITY pcre-version "8.45">