From owner-freebsd-ports@freebsd.org Tue Mar 26 11:22:21 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAE72154E18F for ; Tue, 26 Mar 2019 11:22:21 +0000 (UTC) (envelope-from bhughes@freebsd.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E71FD8C9DB for ; Tue, 26 Mar 2019 11:22:20 +0000 (UTC) (envelope-from bhughes@freebsd.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C449A45A0; Tue, 26 Mar 2019 07:22:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 26 Mar 2019 07:22:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=o/ZXsihZuyF05Bs1jRqAh/ZMku/azqNR5CZ7b/1he zU=; b=vEKgBx98ozjzNLUHHcCZgnrJ1JuUmU8K5mX3DUqYVGwJRomYucQgiIlyd k9PS+X0crsdpxUlX7w2HQv3xm73jwsqV8OnxrLpEiJBxdhH+e5VmzQFLJdD157C9 +5+PEpg+Aama3seJ8X2J20U4qRDCQI51h1DR2wV8hDp4646tFIFmMp0gWsdbbZoy HcRDVLXRao7a5l7uJym/Q63f/Q6rrJLqU2fh8t2OOJ7q6dpTB0eMg4j4rtk/KdpU xXo/Lc52UJqSriY9+OIB62DNmg1WQGO86XKVzxxYYDIEWNr624VsUa2ljij7CRQr oJ2U/ke9IMpsS+umOhcFkriccFI1g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedtgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhohfkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpedfuehrrggulhgvhicuvfdrucfjuhhghhgvshdfuceosghh uhhghhgvshesfhhrvggvsghsugdrohhrgheqnecuffhomhgrihhnpehhthhtphdvrdgttg enucfkphepuddtledrvdegjedrvddvjedrvddukeenucfrrghrrghmpehmrghilhhfrhho mhepsghhuhhghhgvshesfhhrvggvsghsugdrohhrghenucevlhhushhtvghrufhiiigvpe dt X-ME-Proxy: Received: from [10.10.66.90] (unknown [109.247.227.218]) by mail.messagingengine.com (Postfix) with ESMTPA id 290ED100E5; Tue, 26 Mar 2019 07:22:12 -0400 (EDT) Subject: Re: Can't compile www/node on rpi2 To: bob prohaska Cc: freebsd-ports@freebsd.org References: <20190323213940.GA74509@www.zefox.net> <20190326021459.GA87373@www.zefox.net> From: "Bradley T. Hughes" Organization: FreeBSD Message-ID: Date: Tue, 26 Mar 2019 12:22:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190326021459.GA87373@www.zefox.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: E71FD8C9DB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2019 11:22:22 -0000 On 2019-03-26 03:14, bob prohaska wrote: > On Mon, Mar 25, 2019 at 10:23:26PM +0100, Bradley T. Hughes wrote: >> Hi Bob! >> >> On 2019-03-23 22:39, bob prohaska wrote: >>> Recent attempts to compile www/node using 11-Stable on an rpi2 >>> fail with >>> ../src/node_file.cc:2023:15: error: use of undeclared identifier 'uv_fs_lchown' >>> uv_fs_lchown, *path, uid, gid); >>> ^ >>> ../src/node_file.cc:2029:14: error: use of undeclared identifier 'uv_fs_lchown' >>> uv_fs_lchown, *path, uid, gid); >>> followed by many more errors in the same vein. >> >> I build www/node on i386, amd64, and arm64 before committing version > > Not sure it matters, but this is armv7 on a Pi2, not arm64. It shouldn't matter, but it's impossible to be 100% sure it will work since I don't explicitly test it. >> bumps in the hopes that I can build failures like this. I haven't seen >> this one before, though, but from the error, I have to ask which version >> of devel/libuv you have installed? If you don't have the latest, can yo >> upgrade devel/libuv first and try again? >> > Looks like the existing version of libuv was libuv-1.20.3, now it's > up to libuv-1.27.0 but not still fails to build: > > In file included from ../src/node_http2.cc:5: > ../src/node_http2.h:707:15: error: unknown type name 'nghttp2_origin_entry'; did you mean > 'nghttp2_settings_entry'? > void Origin(nghttp2_origin_entry* ov, size_t count); > ^~~~~~~~~~~~~~~~~~~~ [snip] Looks like you need to upgrade www/libnghttp2 as well. :) > Thanks for reading, I'd be pleased to try any experiments suggested. In general, www/node requires that all dependencies are up-to-date. The port doesn't explicitly list minimum versions of its dependencies, but I am beginning to think that it should (this is not the first time I have seen this kind of problem). Good luck, let me know if you still have problems after making sure everything is up-to-date. :) -- Bradley T. Hughes bhughes@freebsd.org