diff mbox series

[AUH] nodejs: upgrading to 21.1.0 FAILED

Message ID 0101018b96bed5ba-ea6e9230-d309-429f-94cb-8ca026c1dab8-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] nodejs: upgrading to 21.1.0 FAILED | expand

Commit Message

auh@yoctoproject.org Nov. 3, 2023, 7:52 p.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe *nodejs* to *21.1.0* has Failed(do_compile).

Detailed error information:

do_compile failed



Next steps:
    - apply the patch: git am 0001-nodejs-upgrade-20.8.1-21.1.0.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 981041acb59b2df0bc8d3f002de86c5814e9f1af Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Fri, 3 Nov 2023 17:10:18 +0000
Subject: [PATCH] nodejs: upgrade 20.8.1 -> 21.1.0

---
 .../nodejs/0001-Using-native-binaries.patch   | 94 -------------------
 .../{nodejs_20.8.1.bb => nodejs_21.1.0.bb}    | 59 +++++++++++-
 2 files changed, 57 insertions(+), 96 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch
 rename meta-oe/recipes-devtools/nodejs/{nodejs_20.8.1.bb => nodejs_21.1.0.bb} (69%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch
deleted file mode 100644
index 0178cec77..000000000
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch
+++ /dev/null
@@ -1,94 +0,0 @@ 
-From 6c3ac20477a4bac643088f24df3c042e627fafa9 Mon Sep 17 00:00:00 2001
-From: Guillaume Burel <guillaume.burel@stormshield.eu>
-Date: Fri, 3 Jan 2020 11:25:54 +0100
-Subject: [PATCH] Using native binaries
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Originally added in:
-https://git.openembedded.org/meta-openembedded/commit/?id=1c8e4a679ae382f953b2e5c7a4966a4646314f3e
-later extended and renamed in:
-https://git.openembedded.org/meta-openembedded/commit/?id=feeb172d1a8bf010490d22b8df9448b20d9d2aed
-
-Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
----
- node.gyp                 | 3 +
- tools/v8_gypfiles/v8.gyp | 5 +++++
- 2 files changed, 6 insertions(+)
-
-diff --git a/node.gyp b/node.gyp
-index e8e1d9f9..e60ccc10 100644
---- a/node.gyp
-+++ b/node.gyp
-@@ -320,6 +320,7 @@
-                   'action_name': 'node_mksnapshot',
-                   'process_outputs_as_sources': 1,
-                   'inputs': [
-+                    '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-                     '<(node_mksnapshot_exec)',
-                     '<(node_snapshot_main)',
-                   ],
-@@ -935,6 +935,7 @@
-           'action_name': 'node_js2c',
-           'process_outputs_as_sources': 1,
-           'inputs': [
-+            '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-             '<(node_js2c_exec)',
-             '<@(library_files)',
-             '<@(deps_files)',
-@@ -944,6 +945,7 @@
-             '<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc',
-           ],
-           'action': [
-+            '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-             '<(node_js2c_exec)',
-             '<@(_outputs)',
-             'lib',
-
-diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
-index 42e26cd9..bc721991 100644
---- a/tools/v8_gypfiles/v8.gyp
-+++ b/tools/v8_gypfiles/v8.gyp
-@@ -68,6 +68,7 @@
-         {
-           'action_name': 'run_torque_action',
-           'inputs': [  # Order matters.
-+            '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-             '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
-             '<@(torque_files)',
-           ],
-@@ -99,6 +100,7 @@
-             '<@(torque_outputs_inc)',
-           ],
-           'action': [
-+            '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-             '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
-             '-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated',
-             '-v8-root', '<(V8_ROOT)',
-@@ -211,6 +213,7 @@
-         {
-           'action_name': 'generate_bytecode_builtins_list_action',
-           'inputs': [
-+            '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-             '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bytecode_builtins_list_generator<(EXECUTABLE_SUFFIX)',
-           ],
-           'outputs': [
-@@ -400,6 +403,7 @@
-             ],
-           },
-           'inputs': [
-+            '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-             '<(mksnapshot_exec)',
-           ],
-           'outputs': [
-@@ -1539,6 +1543,7 @@
-         {
-           'action_name': 'run_gen-regexp-special-case_action',
-           'inputs': [
-+            '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
-             '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen-regexp-special-case<(EXECUTABLE_SUFFIX)',
-           ],
-           'outputs': [
--- 
-2.34.1
-
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_21.1.0.bb
similarity index 69%
rename from meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs_21.1.0.bb
index 65f4eb3f3..ee31f8824 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_21.1.0.bb
@@ -1,7 +1,62 @@ 
+# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
+# The following is the difference between the old and the new license text.
+# Please update the LICENSE value if needed, and summarize the changes in
+# the commit message via 'License-Update:' tag.
+# (example: 'License-Update: copyright years updated.')
+#
+# The changes:
+#
+# --- LICENSE
+# +++ LICENSE
+# @@ -78,19 +78,30 @@
+#  
+#  - c-ares, located at deps/cares, is licensed as follows:
+#    """
+# -    Copyright (c) 2007 - 2018, Daniel Stenberg with many contributors, see AUTHORS
+# +    MIT License
+# +
+# +    Copyright (c) 1998 Massachusetts Institute of Technology
+# +    Copyright (c) 2007 - 2023 Daniel Stenberg with many contributors, see AUTHORS
+#      file.
+#  
+# -    Copyright 1998 by the Massachusetts Institute of Technology.
+# -
+# -    Permission to use, copy, modify, and distribute this software and its
+# -    documentation for any purpose and without fee is hereby granted, provided that
+# -    the above copyright notice appear in all copies and that both that copyright
+# -    notice and this permission notice appear in supporting documentation, and that
+# -    the name of M.I.T. not be used in advertising or publicity pertaining to
+# -    distribution of the software without specific, written prior permission.
+# -    M.I.T. makes no representations about the suitability of this software for any
+# -    purpose.  It is provided "as is" without express or implied warranty.
+# +    Permission is hereby granted, free of charge, to any person obtaining a copy of
+# +    this software and associated documentation files (the "Software"), to deal in
+# +    the Software without restriction, including without limitation the rights to
+# +    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+# +    the Software, and to permit persons to whom the Software is furnished to do so,
+# +    subject to the following conditions:
+# +
+# +    The above copyright notice and this permission notice (including the next
+# +    paragraph) shall be included in all copies or substantial portions of the
+# +    Software.
+# +
+# +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# +    SOFTWARE.
+#    """
+#  
+#  - cjs-module-lexer, located at deps/cjs-module-lexer, is licensed as follows:
+# 
+#
+
 DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
 HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=162595a4a2f3453a0534e60b0afe4e7b"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ce095b5cae771b11878190eaea818d59"
 
 CVE_PRODUCT = "nodejs node.js"
 
@@ -38,7 +93,7 @@  SRC_URI:append:toolchain-clang:x86 = " \
 SRC_URI:append:toolchain-clang:powerpc64le = " \
            file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \
            "
-SRC_URI[sha256sum] = "f799c66f6a6386bb8ac2c75a378f740c455e97f1fe964393dd39c9f9f6efbc70"
+SRC_URI[sha256sum] = "91ac72e4444c5e5ab4b448030a61ffa95acd35d34a9d31d2d220ee2bed01b925"
 
 S = "${WORKDIR}/node-v${PV}"