From patchwork Fri Nov 3 19:52:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 33646 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73F4CC25B65 for ; Fri, 3 Nov 2023 19:52:54 +0000 (UTC) Received: from a27-23.smtp-out.us-west-2.amazonses.com (a27-23.smtp-out.us-west-2.amazonses.com [54.240.27.23]) by mx.groups.io with SMTP id smtpd.web11.62987.1699041168582173462 for ; Fri, 03 Nov 2023 12:52:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=haVDuJtt; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=ShIVgfM1; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.23, mailfrom: 0101018b96bed5ba-ea6e9230-d309-429f-94cb-8ca026c1dab8-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1699041171; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=zTnaSTJBKlQnvqxYIvPQrJXb/qxDeVFGmoYN1M5FuAk=; b=haVDuJttt9+hoRuzG8WG5lvxv9/n92Cp2FKForFW0WyYKpn0QWdt5kp0nFLd8164 oS9pHioaHmSvL2xwAiBQW79Puwr4aDuOz4k1+PddnV74magZSh5Hh9pvuss3/FDIPui mRjBDl3wbLuwocL2ZIyO7kNeCNwjqaaZ1RM2Z8jQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1699041171; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=zTnaSTJBKlQnvqxYIvPQrJXb/qxDeVFGmoYN1M5FuAk=; b=ShIVgfM1dmzxx8X2fRGE+0xRsDZMr4Cf4aUD99HK/B64ZF6bVz4YqGtufMfM1cNk 3dTAcuutXd2Faux8fsctBqvC9luEHxKzlLzJ7N1JJ1gTqPqvBJ3NKiCUjZtaP4G00Ef 8jYcVnwWVQkOfHNyIEDob9uE9Q2Hl++tQUVBjv4k= MIME-Version: 1.0 From: auh@yoctoproject.org To: Forced@yoctoproject.org, maintainer@yoctoproject.org, for@yoctoproject.org, AUH@yoctoproject.org Cc: openembedded-devel@lists.openembedded.org Subject: [AUH] nodejs: upgrading to 21.1.0 FAILED Message-ID: <0101018b96bed5ba-ea6e9230-d309-429f-94cb-8ca026c1dab8-000000@us-west-2.amazonses.com> Date: Fri, 3 Nov 2023 19:52:50 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2023.11.03-54.240.27.23 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 03 Nov 2023 19:52:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/106002 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 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 --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 -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 ---- - 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}"