From owner-svn-ports-head@FreeBSD.ORG Sun Sep 1 13:20:36 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F3CF8B04 for ; Sun, 1 Sep 2013 13:20:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C291C2AFC for ; Sun, 1 Sep 2013 13:20:35 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r81DKZ7h037290 for ; Sun, 1 Sep 2013 13:20:35 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r81DKZKF037281 for svn-ports-head@freebsd.org; Sun, 1 Sep 2013 13:20:35 GMT (envelope-from bdrewery) Received: (qmail 1509 invoked from network); 1 Sep 2013 08:20:33 -0500 Received: from unknown (HELO ?10.52.15.77?) (freebsd@shatow.net@198.228.235.142) by sweb.xzibition.com with ESMTPA; 1 Sep 2013 08:20:33 -0500 References: <201308311356.r7VDu8N8094811@svn.freebsd.org> <20130831141013.GA27765@FreeBSD.org> <5221FA9D.7020005@FreeBSD.org> <2131634.G81FAWrTEc@dragon.dg> Mime-Version: 1.0 (1.0) In-Reply-To: <2131634.G81FAWrTEc@dragon.dg> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <5EDD9B13-7764-46AB-A8FE-923491771633@FreeBSD.org> X-Mailer: iPhone Mail (10B329) From: Bryan Drewery Subject: Re: svn commit: r325807 - in head: . Mk Date: Sun, 1 Sep 2013 08:20:30 -0500 To: David Naylor Cc: "svn-ports-head@freebsd.org" , Alexey Dokuchaev , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 13:20:36 -0000 On Sep 1, 2013, at 1:49, David Naylor wrote: > On Saturday, 31 August 2013 09:15:57 Bryan Drewery wrote: >> On 8/31/2013 9:10 AM, Alexey Dokuchaev wrote: >>> On Sat, Aug 31, 2013 at 01:56:08PM +0000, Bryan Drewery wrote: >>>> New Revision: 325807 >>>> URL: http://svnweb.freebsd.org/changeset/ports/325807 >>>>=20 >>>> - Add USE_PACKAGE_DEPENDS_ONLY which will try installing dependencies >>>>=20 >>>> from existing packages and not fallback on building from source. >>>>=20 >>>> This is useful for package building tools such as poudriere and >>>> tinderbox >>>> to avoid building from source and confusing the build log, if a >>>> dependency >>>> failed to build for some reason. >>>=20 >>> I actually don't quite see the use for any of them. As for the build lo= g, >>> if I understand correctly what you're describing, usually it's *good* to= >>> "confuse" the log, as it's an indication of wrongly spelled _DEPENDS lin= e. >>>=20 >>> Am I missing some really warranted usage scenario for these knobs? >>>=20 >>> ./danfe >>=20 >> make build-depends USE_PACKAGE_DEPENDS >> This installs dependencies from packages if present, else, fallback on >> source. >>=20 >> make build-depends USE_PACKAGE_DEPENDS_ONLY >> This installs dependencies from packages only. >>=20 >> It has nothing to do with misspelling anything. >>=20 >> These are used to install dependencies from packages using the ports >> framework. The alternative is to have the package building tool install >> the dependencies themselves, which tinderbox _and_ portbuild do wrong! >> Why reinvent the wheel. Let the ports framework install depenencies with >> 'build-depends', and use packages from already built. >=20 > Are you are referring to ports-mgmt/portbuilder? In which case I would li= ke=20 > to clarify that while the default behaviour is this, it can be changed usi= ng=20 > the '--method' argument. Also, portbuilder passes NO_DEPENDS to the build= and=20 > install stages, managing the installation of dependencies itself. No, I am referring to portbuild, the old cluster package tool on pointyhat. The tool should have as little logic as possible and rely on the ports frame= work as much as possible. > =20 >=20 > Regards