Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2020 16:24:48 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Can anyone build www/node right now?
Message-ID:  <a5ce383d-7a22-0b69-fb85-27f3b94d9711@m5p.com>
In-Reply-To: <66e8ea52-da15-72ef-ce21-efc4d265cd3a@FreeBSD.org>
References:  <66e8ea52-da15-72ef-ce21-efc4d265cd3a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--j7xusu51LyChyk6ebldeZCRb3aioGC82K
Content-Type: multipart/mixed; boundary="myI96bmHlUu69Sfru26Wu9mhsIVDBYf5b";
 protected-headers="v1"
From: George Mitchell <george+freebsd@m5p.com>
To: freebsd-ports@freebsd.org
Message-ID: <a5ce383d-7a22-0b69-fb85-27f3b94d9711@m5p.com>
Subject: Re: Can anyone build www/node right now?
References: <66e8ea52-da15-72ef-ce21-efc4d265cd3a@FreeBSD.org>
In-Reply-To: <66e8ea52-da15-72ef-ce21-efc4d265cd3a@FreeBSD.org>

--myI96bmHlUu69Sfru26Wu9mhsIVDBYf5b
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 2020-06-28 16:07, DutchDaemon - FreeBSD Forums Administrator wrote:
> [...]
> Traceback (most recent call last):
>=20
> =C2=A0 File "tools/genv8constants.py", line 23, in <module>
>=20
> =C2=A0=C2=A0=C2=A0 bufsize=3D-1, stdout=3Dsubprocess.PIPE, text=3DTrue)=
=2Estdout
>=20
> 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=3Dpython:build, which should
probably be changed to python3 given the patch.       -- George


--myI96bmHlUu69Sfru26Wu9mhsIVDBYf5b--

--j7xusu51LyChyk6ebldeZCRb3aioGC82K
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl74/JYACgkQwRES3m+p
4fkKuw/8DOzYjE+0CdRwEt7cgslLkipG+NHquklJWM1LzNRpjUz5ULQ1PZXCokaB
Tq3P/2VbFg/ASQGsua0q/fdUXgLThcfeqW0V9N1hUlDdV5P9p4E0Rg1Z6YkoYLQy
2F5JReTnTYDP6e9FHHS+EYOC4VEK/aW9GLdSySKdRnUQvgBCEKwObH1aDqmk5G8b
PFRj+4SFyNBHIdPFbNTL07QCZ6MygLrOm5F2sayTSth99h8I+wPgC3mA1XgOGpze
Xz8XYFSvPg/c1GM2zFFh33JnUmvEHxDBSfgLj0Sbyrlr2Sfl5ONauWH7WNu0pH+I
CDcqT70Au3xEvtw6dCxLN+K0gs8slKueGCDiHLXzwAjFuIGVe9K/bxCY5KeZ1M7a
waWj439dfqaOlTLANCYfILuCzUwQBuBi26P/7GxUDSTn8HFR2EH+SwVTloFts7IU
9DQ8SvVAvPWZCRq2NbDSxUPzuN+RIbyQTtBiukOQw4VyexymqTCqZstfVGBLEekx
dqF5RdZz53ZaP473Jhqd8SBKDfpwQdngfZVfwNvT14kX43qk1gYfgK+a3Iy58HjJ
Rx7uN2HZEkKzTOtYB/Zfu5x0CDCfo2Hz9XON/jl8edxXgQsXWf7vciIyE/EBmR3t
TirOxEeNujJlNqQgC6zBLlI+5lod5npZw9eUbSUpOYyvwQqBhC0=
=P3t4
-----END PGP SIGNATURE-----

--j7xusu51LyChyk6ebldeZCRb3aioGC82K--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a5ce383d-7a22-0b69-fb85-27f3b94d9711>