From owner-freebsd-current@freebsd.org Wed Dec 27 15:48:47 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C16B1E9D231 for ; Wed, 27 Dec 2017 15:48:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 807F36A7D0; Wed, 27 Dec 2017 15:48:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id AD0A0C101; Wed, 27 Dec 2017 16:48:43 +0100 (CET) From: Dimitry Andric Message-Id: <364A159B-ACE7-4842-BAD9-E8D407F7429B@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_F5C8CD1B-D1FE-48F0-A1B0-007C3176B7D0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: /usr/obj is 11GB huge on FreeBSD 12-current Date: Wed, 27 Dec 2017 16:48:43 +0100 In-Reply-To: Cc: Konstantin Belousov , Wolfram Schneider , David Wolfskill , freebsd-current To: Julian Elischer References: <20171215120243.GB1179@albert.catwhisker.org> <20171215183928.GO2272@kib.kiev.ua> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 15:48:47 -0000 --Apple-Mail=_F5C8CD1B-D1FE-48F0-A1B0-007C3176B7D0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 27 Dec 2017, at 16:39, Julian Elischer wrote: > > On 16/12/17 2:39 am, Konstantin Belousov wrote: >> Put the following into /etc/src.conf: > > This brings up two questions: > when to use make.conf and when to use src.conf, make.conf is for building everything, so ports, or your own programs. src.conf is for building and installing /usr/src. WITH_, WITHOUT_ or MK_ settings go in here. > and.. > >> WITHOUT_PROFILE=yes >> WITHOUT_DEBUG_FILES=yes >> WITHOUT_TESTS=yes > which of the following is correct and why? > > WITH_DEBUG_FILES=no > WITHOUT_DEBUG_FILES=yes Since r265399, the WITHOUT_ setting wins. Note that the value of the WITH_ or WITHOUT_ setting does not matter, so WITH_DEBUG_FILES=no still means that DEBUG_FILES is turned on. If you want less ambiguity, spell your settings in src.conf like: MK_FOO=yes MK_BAR=no -Dimitry --Apple-Mail=_F5C8CD1B-D1FE-48F0-A1B0-007C3176B7D0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWkPA2wAKCRCwXqMKLiCW o87xAJ0fOfm8ESEPbC2TS0104AeuYzu00ACeJuHFL/StNq78jseqACVIKICqOvA= =JLAW -----END PGP SIGNATURE----- --Apple-Mail=_F5C8CD1B-D1FE-48F0-A1B0-007C3176B7D0--