From owner-svn-src-all@freebsd.org Fri Nov 30 16:36:55 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 C3F5B1148D87 for ; Fri, 30 Nov 2018 16:36:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 F29D46B4B6 for ; Fri, 30 Nov 2018 16:36:54 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x834.google.com with SMTP id k12so6540569qtf.7 for ; Fri, 30 Nov 2018 08:36:54 -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=C/y7Yj2vgbXsVzIsUu/b/pkaC85alIo5XmnqdXvZz/4=; b=uR0GTASBhSi3Q0bI5rN1p9iVTFwsiIUmsiBKaeVJeeL51JCjLLCqKLmBpigb+Z5EJ+ KTZei17fimBaRFaUUMtbq/vOf4AZg1mPrngL6sGSWAXfiEFe38fbfriPuUAvRhuTclve oi2TVyDvRAdFfiAMZtAug7sE4t4ZukYClJLmF2zcljkKrvpjr1pQgUTfrb+f/7pkG03E pvSZr32M9F8vLfithTftbIOozG6JOJgf8ookSoSWI28iMQKPsGTVyGDcSgbbyzJZ+Ko+ MSYqk1ecFPBA6IlJAEkHWPFgKdQpzWBqHwgKHyG99LdeKRMLNfrV3kFgfuoXWoe8jDGm gyXg== 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=C/y7Yj2vgbXsVzIsUu/b/pkaC85alIo5XmnqdXvZz/4=; b=SZFaVOlSa/dffZGaWtb/Qr3cO0JeVgyb2GOErohZc7LluVjP1+2c4vS5krQMag1mFm CGTvdvg4QaHtgcQ85F26FfsOQ5V737IlhgJa5LIKKWrm0nHmMj1RBUtHhSrVmco7/FOE gBwcaPlztn0vPFJxsDcMd4/3QYikmovH8nb/b1ZNax60uVtm0RsmNyJ1K+ylWd3Jd9YO zXVH9ByO/T+HXTMH9ebYQYDJOrL7FOFyHz/nAO0nUayx7whTD79dq8JXXRyyX+InyaQm 34jLaLpjLNTHFtMOfBjReEAkmdCUEwoBFi6vB/aCQPU3PwH5SN+xSo/GWYXxW9Ai98Gx Fd5w== X-Gm-Message-State: AA+aEWaFAj5QK30xoSI0SteGkYKTgairnCUScGnYup4TgrQFdDgrcFMr HeNvLrOe7xPBmOx2sDKaRGkdK1iYFj+73mm9ivpC5Q== X-Google-Smtp-Source: AFSGD/UavKrRjP2sVg7Ju6ujf6lagssValdaQFiXcTycLPrMJuTHAQeRyCnf8HAbZXPGg2L/g46Qg8C4EO8/qBY47L0= X-Received: by 2002:a05:6214:1087:: with SMTP id o7mr6299687qvr.115.1543595814477; Fri, 30 Nov 2018 08:36:54 -0800 (PST) MIME-Version: 1.0 References: <201811301556.wAUFuFlQ060205@repo.freebsd.org> <5F231C0E-AD6A-4F85-9D65-3EB414B59E6E@lists.zabbadoz.net> In-Reply-To: From: Warner Losh Date: Fri, 30 Nov 2018 09:36:43 -0700 Message-ID: Subject: Re: svn commit: r341343 - head/share/man/man7 To: Justin Hibbits Cc: "Bjoern A. Zeeb" , =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Rspamd-Queue-Id: F29D46B4B6 X-Spamd-Result: default: False [-3.44 / 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-all@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_FIVE(0.00)[6]; 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)[4.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.81)[-0.814,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.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-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:36:56 -0000 On Fri, Nov 30, 2018 at 9:35 AM Justin Hibbits wrote= : > > > On Fri, Nov 30, 2018, 08:24 Bjoern A. Zeeb 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