Re: git: a439ef3fcbd2 - main - www/npm: Update to 9.4.1
- In reply to: Po-Chuan Hsieh : "git: a439ef3fcbd2 - main - www/npm: Update to 9.4.1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Feb 2023 16:37:13 UTC
Hi, > On 5 Feb 2023, at 19:18, Po-Chuan Hsieh <sunpoet@FreeBSD.org> wrote: > 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 > + ${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 -o 0 -o 1 With this, I’m getting (with python 3.8): ===> Staging for npm-node16-9.4.1 ===> Generating temporary packing list cd /wrkdirs/usr/ports/www/npm-node16/work/npm-9.4.1/ && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /wrkdirs/usr/ports/www/npm-node16/work/stage/usr/local/ echo 'python=/usr/local/bin/python3.8' > /wrkdirs/usr/ports/www/npm-node16/work/stage/usr/local/etc/npmrc /usr/local/bin/python3.8 -m compileall -d /usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f /wrkdirs/usr/ports/www/npm-node16/work/stage/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -o 0 -o 1 usage: compileall.py [-h] [-l] [-r RECURSION] [-f] [-q] [-b] [-d DESTDIR] [-x REGEXP] [-i FILE] [-j WORKERS] [--invalidation-mode {checked-hash,timestamp,unchecked-hash}] [FILE|DIR [FILE|DIR ...]] compileall.py: error: unrecognized arguments: -o 0 -o 1 *** Error code 2 — Juraj Lutter otis@FreeBSD.org