From owner-svn-ports-all@FreeBSD.ORG Sat Aug 31 14:16:16 2013 Return-Path: Delivered-To: svn-ports-all@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 62844E41 for ; Sat, 31 Aug 2013 14:16:16 +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 45E902453 for ; Sat, 31 Aug 2013 14:16:16 +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 r7VEGGuZ046525 for ; Sat, 31 Aug 2013 14:16:16 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7VEGG9p046521 for svn-ports-all@freebsd.org; Sat, 31 Aug 2013 14:16:16 GMT (envelope-from bdrewery) Received: (qmail 65709 invoked from network); 31 Aug 2013 09:16:14 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 31 Aug 2013 09:16:14 -0500 Message-ID: <5221FA9D.7020005@FreeBSD.org> Date: Sat, 31 Aug 2013 09:15:57 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Re: svn commit: r325807 - in head: . Mk References: <201308311356.r7VDu8N8094811@svn.freebsd.org> <20130831141013.GA27765@FreeBSD.org> In-Reply-To: <20130831141013.GA27765@FreeBSD.org> X-Enigmail-Version: 1.5.2 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XXoMtJ12k5ivo0XOrbO0O676OIph0kC3v" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2013 14:16:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XXoMtJ12k5ivo0XOrbO0O676OIph0kC3v Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 >> >> - Add USE_PACKAGE_DEPENDS_ONLY which will try installing dependencies >> from existing packages and not fallback on building from source. >> >> This is useful for package building tools such as poudriere and tind= erbox >> to avoid building from source and confusing the build log, if a depe= ndency >> failed to build for some reason. >=20 > I actually don't quite see the use for any of them. As for the build l= og, > if I understand correctly what you're describing, usually it's *good* t= o > "confuse" the log, as it's an indication of wrongly spelled _DEPENDS li= ne. >=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. make build-depends USE_PACKAGE_DEPENDS_ONLY This installs dependencies from packages only. It has nothing to do with misspelling anything. 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. The reason for _ONLY is that if a dependency failed to build, a port would still, in some race-condition cases, run build-depends, not find the dependency packages, then try to build them. Having no network access, it would hit fetch errors; it shouldn't be building missing dependencies, it should immediately fail because dependencies were not me= t. The PR has more information and linked patches which demonstrate the issu= e: http://www.bayofrum.net/~crees/scratch/log.log With fix: http://www.bayofrum.net/~crees/scratch/loglog.log --=20 Regards, Bryan Drewery --XXoMtJ12k5ivo0XOrbO0O676OIph0kC3v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSIfqeAAoJEG54KsA8mwz50zQP/RDA/zPFEKl1JnmsZXbh4bwG 6I4nsC1Bk0nKh9+GaiJpQ5AWXx4gp1uLGzW8hMWfl9mpk5jWgQ/YpFtZkGK3tV4K NOOAzzlJnNTDjhCfUsTS6BXJHwVYe/Hre1RzDrYKhcoAhwEckzRLLDM1UJQud241 gLDRvwswByXKmcFXaZaAAII1y9VK188Z9iK1aAB+iwCOiMW0cxB6Qs8X709OPAVf BWlGBsfTMQDxsowLn23vPXT6gI/VRnY163nAmiHXBjQ2JrLUgw0BVusDyNqvlril DQdQvypTnQ7ahiOT5an30bErHCBbwkNPayVYx1+K7X0GPymY2QcAYR8pGPm4AJzL 1BsXQODNOVci9xC91C9G0753iqcx8LmxWhk6YBTB+LYaaVG3c5wvUrC4zw9y21VA xZQ6qUzDRcK5kt3MJMn2KKKG10lIGcr4C+QY4cRQdU03vwpqLMNaBllhN8CMoUMw B7EY3597LbHvUKIS69ODgi9zaIKqAE5VS2nYua/FyOIDW+IwVyJZ9yVbp5yIHqtt FQuo4mlX2vPY2f/21bPmTcWw4Y+XMWDuuKHiqyNA3wD2U45GP0tQOgAE0nuHyJXZ xuRUczIbzhqRBbjIYc2cTTzKkWocEjCcvhFv6shnAgPbyqxalm8QrOHGLGY2U9my XeaRY+onpaztk4ITSkLK =e5of -----END PGP SIGNATURE----- --XXoMtJ12k5ivo0XOrbO0O676OIph0kC3v--