From owner-svn-src-all@freebsd.org Fri Nov 30 16:43:31 2018 Return-Path: Delivered-To: svn-src-all@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 A5D25114944D; Fri, 30 Nov 2018 16:43:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BA9C6BD0D; Fri, 30 Nov 2018 16:43:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id D3B918D4A217; Fri, 30 Nov 2018 16:43:29 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id BDF62D1F874; Fri, 30 Nov 2018 16:43:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id WU7SGd9bD5HZ; Fri, 30 Nov 2018 16:43:27 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:2ef0:eeff:fe03:ee34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id BCBC7D1F857; Fri, 30 Nov 2018 16:43:26 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Justin Hibbits" Cc: "Warner Losh" , "Edward Tomasz =?utf-8?q?Napiera=C5=82a?=" , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r341343 - head/share/man/man7 Date: Fri, 30 Nov 2018 16:44:00 +0000 X-Mailer: MailMate (2.0BETAr6132) Message-ID: <06F736F1-E101-4720-A70C-A58D143CFE49@lists.zabbadoz.net> In-Reply-To: References: <201811301556.wAUFuFlQ060205@repo.freebsd.org> <5F231C0E-AD6A-4F85-9D65-3EB414B59E6E@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 1BA9C6BD0D X-Spamd-Result: default: False [-4.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: cross.sbone.de]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; IP_SCORE(-1.32)[ipnet: 2a01:4f8::/29(-3.93), asn: 24940(-2.68), country: DE(-0.02)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2018 16:43:31 -0000 On 30 Nov 2018, at 16:38, Justin Hibbits wrote: > On Fri, Nov 30, 2018, 08:36 Warner Losh >> >> >> On Fri, Nov 30, 2018 at 9:35 AM Justin Hibbits >> wrote: >> >>> >>> >>> On Fri, Nov 30, 2018, 08:24 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). >>>> >>>> /bz >>>> >>>> >>>> When I need the build headers I use >>> >>> >>> make buildenv >>> ... cd bin/ls >>> ... make >>> >> >> You can also do cd bin/ls ; make buildenv now too :) >> >> Warner >> > > I learn something new everyday! Thanks! I guess that should be documented as part of the needed steps then? /bz