From owner-svn-src-head@freebsd.org Fri Nov 30 16:35:15 2018 Return-Path: Delivered-To: svn-src-head@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 EC6081148C50 for ; Fri, 30 Nov 2018 16:35:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4362F6B1DD for ; Fri, 30 Nov 2018 16:35:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x832.google.com with SMTP id k12so6533927qtf.7 for ; Fri, 30 Nov 2018 08:35:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z7/er1ewGrK4SUfev+Dw8svnKg6cMkoCYf58tNIQV4U=; b=BBxyP2xSZY+P1i/25xDzXDFN8jVK2/IUgT9h5ovj27qqTXdJYlj24ChZybvvfMLnbi VBpYgjCyzHOc1Tk1P1Y12ZNPeNyzpfm2shcGujYtLSd0E+vrrZtzTGO90YysV6ca2bYC gVBHJQDdaQxQg+jCkfTEa1+jO+4ykRrZrKq97wWrw3SOzg8goOJ471vHVXAfzT0L3HSo 05lEoYKGWN2XQpicc7lpay8QkCUgL/OyJW/4mZvWx8R0dGHkh1me6PdIlocFsCnhtDDR oYp89F09nfulwq3arjq5fGfeUUWI1k3f7VLYLJBJKvVT+sVek8f/x+f/XMK67QuhYtaj +Dzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z7/er1ewGrK4SUfev+Dw8svnKg6cMkoCYf58tNIQV4U=; b=UBanSanT13lOEDMTqqPz+TpuTBXx0/uuvpjjFGucWmBXKSazn2lws1OncWLbgh5zAM pYtT9u81vKx3INjqur2Ch7mKNIESqfPD1zv8rzg8K/SLH0oWHdkmdXTv2VIG8rWy50rJ AwIiscI2dYoPJ5zIxVt/QgMMFAwwYQVryW9xEzaiza7Xfu7KVba2weTxT7bsTf1c/uCl NEePxUkyAIU0zdtNzRDk3YIBuzrP9rpMsaLdyvXcMNJYLm2imPxTe//BMg/zzbVsWTvG Vg41MPqTZDVeFpybn8dU2/YiVL7G4tE+v26xKoqAKyocV0W984D4iohZNg0D3BHVvVSM 1Mzg== X-Gm-Message-State: AA+aEWapFVwH8TaEJd/1YsReKEqiMejSKfvH2rUeEdV41Glo0XF0nX/q 9mW3DJhQwqVL27N/aFalAs4LVlNffXYR0D9bxyhAlQ== X-Google-Smtp-Source: AFSGD/WUNx3+CrWzSaIGpLg6isV1vrJLcvgx89GTtJJKs0vKSlFde2kEkqbyQZaFUACVhCQxYKhwOzSOJa+mks0/a1g= X-Received: by 2002:ac8:668c:: with SMTP id d12mr5943785qtp.242.1543595713441; Fri, 30 Nov 2018 08:35:13 -0800 (PST) MIME-Version: 1.0 References: <201811301556.wAUFuFlQ060205@repo.freebsd.org> <5F231C0E-AD6A-4F85-9D65-3EB414B59E6E@lists.zabbadoz.net> In-Reply-To: <5F231C0E-AD6A-4F85-9D65-3EB414B59E6E@lists.zabbadoz.net> From: Warner Losh Date: Fri, 30 Nov 2018 09:35:02 -0700 Message-ID: Subject: Re: svn commit: r341343 - head/share/man/man7 To: "Bjoern A. Zeeb" Cc: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Rspamd-Queue-Id: 4362F6B1DD X-Spamd-Result: default: False [-3.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.985,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-head@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[2.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.82)[-0.822,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.63)[ipnet: 2607:f8b0::/32(-1.74), asn: 15169(-1.34), country: US(-0.09)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2018 16:35:15 -0000 On Fri, Nov 30, 2018 at 9:24 AM Bjoern A. Zeeb < bzeeb-lists@lists.zabbadoz.net> wrote: > On 30 Nov 2018, at 15:56, Edward Tomasz Napierala wrote: > > > Author: trasz > > Date: Fri Nov 30 15:56:14 2018 > > New Revision: 341343 > > URL: https://svnweb.freebsd.org/changeset/base/341343 > > > > Log: > > Add an example of rebuilding a single piece of userspace. > > > > Modified: > > head/share/man/man7/development.7 > > > > Modified: head/share/man/man7/development.7 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > --- head/share/man/man7/development.7 Fri Nov 30 15:52:03 > > 2018 (r341342) > > +++ head/share/man/man7/development.7 Fri Nov 30 15:56:14 > > 2018 (r341343) > > @@ -118,6 +118,14 @@ After reboot: > > cd src > > make -j8 installworld > > reboot > > +.Ed > > +.Pp > > +Rebuild and reinstall a single piece of userspace, in this > > +case > > +.Xr ls 1 : > > +.Bd -literal -offset indent > > +cd src/bin/ls > > +make clean all install > > I always thought the proper sequence was: make clean cleandepend obj > depend all install > > However I have recently figured that it=E2=80=99s not actually true as > building inside an individual user space source directory seems to pick > up headers etc from the installed machine and not from the source tree. > I keep arguing with myself if that had always been the case or not.. I > am sure some people here do know better than me (so please see this as > asking for help/advise). > obj and depend are now optional (they are now reconstructed the first time something builds), but used to be required though sometime in the 9.x/10.x series. Except for on super-weird case involving FS level corruption, I've never needed these targets since the cut-over. cleandepend may be required in some weird edge cases, but it's rarely needed that you can omit it most of the time. It used to be required whenever the dependencies changed as part of the build. That's mostly, but not entirely, fixed today. Warner