On June 28, 2020 22:25:31 George Mitchell <george+free...@m5p.com> wrote:

On 2020-06-28 16:07, DutchDaemon - FreeBSD Forums Administrator wrote:
[...]
Traceback (most recent call last):

 File "tools/genv8constants.py", line 23, in <module>

   bufsize=-1, stdout=subprocess.PIPE, text=True).stdout

TypeError: __init__() got an unexpected keyword argument 'text'
[...]

You appear not to have a recent enough version of Python installed.
The "text" keyword argument to the Popen constructor was added in
Python 3.7, and it isn't available at all in Python 2.  The patch
file patch-tools_genv8constants.py in /usr/ports/www/node/files
explicitly adds a "text" keyword argument to the call to Popen.
Can you check your default version of Python?

www/node/Makefile specifies it USES=python:build, which should
probably be changed to python3 given the patch.       -- George

In absence of a make.conf in the jail it pulled in python36-3.6.11 as the default. If node depends on 3.7, that should be declared a hard dependency. I can try it with 3.7.

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to