git: cd84e476b7d8 - main - www/npm*: Fix build_fs_violation of dependent ports in poudriere (with -t flag)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 14:45:20 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cd84e476b7d8b574a12f8f7786f61acd76f43aeb

commit cd84e476b7d8b574a12f8f7786f61acd76f43aeb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 14:41:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 14:45:11 +0000

    www/npm*: Fix build_fs_violation of dependent ports in poudriere (with -t flag)
    
    - Bump PORTREVISION for package change
    
    from textproc/kibana7 log:
    =>> Checking for filesystem violations... done
    =>> Error: Filesystem touched during build:
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-39.pyc
    
    from textproc/kibana8 log:
    =>> Checking for filesystem violations... done
    =>> Error: Filesystem touched during build:
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-39.pyc
    extra: usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-39.pyc
---
 www/npm-node18/Makefile  |  3 ++-
 www/npm-node18/pkg-plist | 41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/www/npm-node18/Makefile b/www/npm-node18/Makefile
index 9c0e2f161914..48d047a5efbd 100644
--- a/www/npm-node18/Makefile
+++ b/www/npm-node18/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	npm
 PORTVERSION=	9.1.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	LOCAL/sunpoet
 PKGNAMESUFFIX=	${NODEJS_SUFFIX}
@@ -39,6 +39,7 @@ post-patch:
 do-install:
 	cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/
 	${ECHO_CMD} 'python=${PYTHON_CMD}' > ${STAGEDIR}${PREFIX}/etc/npmrc
+	${PYTHON_CMD} -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp
 	${PYTHON_CMD} -O -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp
 
 .include <bsd.port.mk>
diff --git a/www/npm-node18/pkg-plist b/www/npm-node18/pkg-plist
index dd05a4b2820b..15a8e063dace 100644
--- a/www/npm-node18/pkg-plist
+++ b/www/npm-node18/pkg-plist
@@ -1318,30 +1318,55 @@ lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/flock_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/flock_tool.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/mac_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/mac_tool.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/win_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/win_tool.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xml_fix.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xml_fix.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py
@@ -1349,21 +1374,37 @@ lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/analyzer.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/analyzer.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/android.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/android.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/cmake.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/cmake.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/compile_commands_json.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/compile_commands_json.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/dump_dependency_json.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/dump_dependency_json.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/eclipse.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/eclipse.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypd.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypd.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypsh.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypsh.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py