Date: Tue, 26 Mar 2019 18:46:47 -0700 From: bob prohaska <fbsd@www.zefox.net> To: "Bradley T. Hughes" <bhughes@freebsd.org> Cc: Jonathan Chen <jonc@chen.org.nz>, freebsd-ports@freebsd.org Subject: Re: Can't compile www/node on rpi2 Message-ID: <20190327014647.GB90710@www.zefox.net> In-Reply-To: <8be4cab4-febb-17d6-fa6c-422fb8085b78@freebsd.org> References: <20190323213940.GA74509@www.zefox.net> <c2fd7325-ad2e-afbb-4f5b-3223e530d6d3@freebsd.org> <20190326021459.GA87373@www.zefox.net> <b8fcb348-6dd6-38b0-f1a3-fa84214bc7b3@freebsd.org> <CAJuc1zP%2Bq6bTndL9ShCH=0wfdS5TrbWOqaAwEJNa97dM%2B40wUw@mail.gmail.com> <8be4cab4-febb-17d6-fa6c-422fb8085b78@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 26, 2019 at 08:07:48PM +0100, Bradley T. Hughes wrote: > > > On 2019-03-26 19:07, Jonathan Chen wrote: > > On Wed, 27 Mar 2019 at 00:24, Bradley T. Hughes <bhughes@freebsd.org> wrote: > >> On 2019-03-26 03:14, bob prohaska wrote: > >>> On Mon, Mar 25, 2019 at 10:23:26PM +0100, Bradley T. Hughes wrote: > >> > >> 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). > > > > You shouldn't have to list the minimum version for dependencies. If > > someone is following the tip of the ports tree, it is expected that > > all the port dependencies are up to date when building a port. Not sure I understand this statement. How can one know the port's dependencies until a build (or something equivalent) is attempted? I'd understand the statement better if there were some way to identify and check out "consistent" versions of the ports tree, for a particular port and revision. Is such a thing possible? > All the > > port-management tools in ports-mgmt assume this, and build > > port-dependancies as required. When building ports, it is always best > > to use one of the build-tools (ie: poudriere, synth , portmaster) > > instead of by hand. > I've played a little with portmaster, and it seemed more prone to stopping unintentionally than a simple "make -DBATCH" in the port directory. IIRC, it always stopped on stale but installed dependencies. Perhaps I'm doing somthing dumb, but I couldn't figure out what it was. Could it merely be the fact that I'm using a Raspberry Pi 2 or 3? > I may not have to, no, but since I have had a couple of reports about > build errors due to out-of-date dependencies, I can help out fellow > users by giving them a helpful message instead of a daunting build error. > > Right? :) > Amen! Informative error messages are a huge help. Library names easily associated with the port that made them would be another large help. Some are obvious, but a few have been real headscratchers. Thank you! bob prohaska
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190327014647.GB90710>