From owner-freebsd-ports@freebsd.org Tue Mar 26 19:06:08 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 E1415155C0DC for ; Tue, 26 Mar 2019 19:06:07 +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 4268F82246 for ; Tue, 26 Mar 2019 19:06:07 +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 21AFD4638; Tue, 26 Mar 2019 15:06:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 26 Mar 2019 15:06:05 -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=7rHDuSBDwp4PvI5I4ZwYQlxfjOoZhSeA+nZvTdnp9 E8=; b=qSp45eWvofsQd1GuqpgFjG8Jo7TrZmhQudmADT3v3DmV1ppY9ZtdDlZj6 TSinjOWVLD1vE9gGnl+i7VveXit2lhVl36jJaYmwzYcTgPb7pLvHR4JQ2C086IY0 6tmhHP9hqh6wp/Y8MnXd5TxiOKR3n+V4ddDndj6ujpDL/eltoAPZQBXkB1BNATtR nWPY1xdle8zcg8vYcfgk33+9pB6ZPsF3k27IHMFYAgmLQAvuCM9V/amWrcb/34rZ 5QigQpDPRS93K/xX/0j/O0zwYX/jhWSJ/LJlIgB4/Fhls0Wpt9nBiLZpTn406p++ 1c7WQNuTonoan/e/nSCAqYYkrQHUQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedtgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhfhokffffgggjggtgfesth ejredttdefjeenucfhrhhomhepfdeurhgrughlvgihucfvrdcujfhughhhvghsfdcuoegs hhhughhhvghssehfrhgvvggsshgurdhorhhgqeenucfkphepkedtrddvudefrddvtdelrd dvtdeknecurfgrrhgrmhepmhgrihhlfhhrohhmpegshhhughhhvghssehfrhgvvggsshgu rdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [10.0.0.107] (ti0081a400-1737.bb.online.no [80.213.209.208]) by mail.messagingengine.com (Postfix) with ESMTPA id 749A11031A; Tue, 26 Mar 2019 15:06:02 -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> <20190326152954.GA90710@www.zefox.net> From: "Bradley T. Hughes" Organization: FreeBSD Message-ID: <881ed419-9485-8958-8449-9b34e20bcf7b@freebsd.org> Date: Tue, 26 Mar 2019 20:05:59 +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: <20190326152954.GA90710@www.zefox.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4268F82246 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US] 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 19:06:08 -0000 On 2019-03-26 16:29, bob prohaska wrote: > On Tue, Mar 26, 2019 at 12:22:08PM +0100, Bradley T. Hughes wrote: >> >> >> On 2019-03-26 03:14, bob prohaska wrote: >>> On Mon, Mar 25, 2019 at 10:23:26PM +0100, Bradley T. Hughes wrote: >> [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). >> > > Is there a test, a make target perhaps, that will help? I probably should > have recognized nghttp2 as a name implying a dependency, but didn't. Yes, there is ports infrastructure that allows me to put the minimum required versions in the port. If you don't have a dependency installed, ports will install it for you. If you have the dependency, but it's too old, ports will tell you. :) > >> Good luck, let me know if you still have problems after making sure >> everything is up-to-date. :) >> > > I'm starting to wonder if it's even possible to reconcile dependencies > among ports that require mismatched versions of supporting programs > and libraries. At the very least it would seem to require an automatic, > consistent naming scheme to avoid conflicts and breakage. At small > scale it seems feasible, but the ports tree is no longer small. As I mentioned above, there is some infrastructure in ports to do this. In some cases, there may be multiple versions of a port (think lang/python2 vs. lang/python3 or www/node vs. www/node{6,8,10}) which allow users and other ports to choose between. And as you mention, we do adhere to naming and versioning conventions (specifically, semver) to reduce conflicts and breakage. Despite the occasional breakage here and there, I think it works pretty well, even with the size of the ports tree. :) > Thanks for reading, and your help! And thanks for the report! I will take a look at fixing all the www/node* ports to specify minimum required versions for all dependencies a little later this evening :) -- Bradley T. Hughes bhughes@freebsd.org