From owner-freebsd-ports@freebsd.org Sun Jun 28 20:37:13 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9D9C03549E0 for ; Sun, 28 Jun 2020 20:37:13 +0000 (UTC) (envelope-from dutchdaemon@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49w2VK3dYcz3Z1H; Sun, 28 Jun 2020 20:37:13 +0000 (UTC) (envelope-from dutchdaemon@freebsd.org) Received: from [10.255.0.6] (ansible.tepucom.nl [91.190.105.24]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: dutchdaemon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id CB77D2F28F; Sun, 28 Jun 2020 20:37:12 +0000 (UTC) (envelope-from dutchdaemon@freebsd.org) From: "Dutch Daemon - FreeBSD Forums Administrator" To: George Mitchell , Date: Sun, 28 Jun 2020 22:37:10 +0200 Message-ID: <172fca5e4f0.2790.b36d34a15fda208b80f54b6ad54d9e04@freebsd.org> In-Reply-To: References: <66e8ea52-da15-72ef-ce21-efc4d265cd3a@FreeBSD.org> User-Agent: AquaMail/1.25.0-1628 (build: 102500003) Subject: Re: Can anyone build www/node right now? MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2020 20:37:13 -0000 On June 28, 2020 22:25:31 George Mitchell wrote: > On 2020-06-28 16:07, DutchDaemon - FreeBSD Forums Administrator wrote: >> [...] >> Traceback (most recent call last): >> >> File "tools/genv8constants.py", line 23, in >> >> 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.