Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2023 17:37:13 +0100
From:      Juraj Lutter <otis@FreeBSD.org>
To:        Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Cc:        "ports-committers@freebsd.org" <ports-committers@FreeBSD.org>, "dev-commits-ports-all@freebsd.org" <dev-commits-ports-all@FreeBSD.org>, "dev-commits-ports-main@freebsd.org" <dev-commits-ports-main@FreeBSD.org>
Subject:   Re: git: a439ef3fcbd2 - main - www/npm: Update to 9.4.1
Message-ID:  <6463B8D5-A594-465F-A31D-C5F7A952B3CB@FreeBSD.org>
In-Reply-To: <202302051818.315IICpn048533@gitrepo.freebsd.org>
References:  <202302051818.315IICpn048533@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D${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=E2=80=99m getting (with python 3.8):

=3D=3D=3D>  Staging for npm-node16-9.4.1
=3D=3D=3D>   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=3D/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/np=
m/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


=E2=80=94
Juraj Lutter
otis@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6463B8D5-A594-465F-A31D-C5F7A952B3CB>