From 43c828e11da425bd7129f9d5d8c3735a7396b3a6 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 19 Jan 2024 19:58:09 +0100 Subject: [PATCH] webos: node-gyp-native=v10.0.1 (upgrade for python 3.12 compatibility) :Release Notes: recipes using node-gyp-native fail to build after python3 was updated to 3.12 in: https://git.openembedded.org/openembedded-core/commit/?id=716d82352545d3667a658b69d65d6127678dd150 :Detailed Notes: we need the fix from: https://github.com/nodejs/node-gyp/issues/2869 Fixes: nodejs-module-webos-sysbus http://gecko.lge.com:8000/Errors/Details/763462 nodejs-module-webos-pmlog http://gecko.lge.com:8000/Errors/Details/763463 nodejs-module-webos-dynaload http://gecko.lge.com:8000/Errors/Details/763464 Traceback (most recent call last): File "nodejs-module-webos-dynaload/3.0.2-4/recipe-sysroot-native/usr/lib/node_modules/node-gyp/gyp/gyp_main.py", line 42, in import gyp # noqa: E402 ^^^^^^^^^^ File "nodejs-module-webos-dynaload/3.0.2-4/recipe-sysroot-native/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in import gyp.input File "nodejs-module-webos-dynaload/3.0.2-4/recipe-sysroot-native/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in from distutils.version import StrictVersion ModuleNotFoundError: No module named 'distutils' :Testing Performed: Only build tested. :QA Notes: No change to image. :Issues Addressed: [WRP-29491] Create GPVB with Yocto 5.0 Scarthgap Change-Id: I5bbcf7246499edfaa6141890c70d0a7a257be36f --- .../recipes-upstreamable/node-gyp/node-gyp-native_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-webos/recipes-upstreamable/node-gyp/node-gyp-native_git.bb b/meta-webos/recipes-upstreamable/node-gyp/node-gyp-native_git.bb index 87679bbe1..348221634 100644 --- a/meta-webos/recipes-upstreamable/node-gyp/node-gyp-native_git.bb +++ b/meta-webos/recipes-upstreamable/node-gyp/node-gyp-native_git.bb @@ -6,9 +6,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=694e396551033371686c80d3a1a69e88" DEPENDS = "nodejs-native node-gyp-packages-native" -PV = "8.3.0+git" +PV = "10.0.1+git" PR = "r2" -SRCREV = "fb85fb21c4bcba806cca852f6f076108aaf7ef4d" +SRCREV = "da19158e7a02c574d4f6d3d367ee264cb08d47ec" SRC_URI = "git://github.com/nodejs/node-gyp.git;branch=main;protocol=https" S = "${WORKDIR}/git"