From owner-svn-src-head@freebsd.org Fri Nov 30 16:38:26 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 979AF1148E89; Fri, 30 Nov 2018 16:38:26 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 C79A06B661; Fri, 30 Nov 2018 16:38:25 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-lj1-x235.google.com with SMTP id z80-v6so5526444ljb.8; Fri, 30 Nov 2018 08:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jQpNKCVZULTxDExZrJiw/u/7LLDgJWAehBDsyaMwJ0k=; b=GJ61jCNXApE0ZcB7UtOkQFkwYIhTMb7rWkaSP7sKtD9n3OuOzMfiFqoISPCimRZ7PV RlaEzpCZuVk10UqVdJVQ3yFNX6ayICS9rjn3aWcNJC0MXUSQ80no5/+7pdKJxi4qBTaU XILRHeYZHghjoWdxM1aRaGrGOoBm2IcbBh8+clx7o0UeHAbYthXfbUZXJIZyagiOMWjI jF+srXu+XbcN7AGtOgHD6p8r4MYGz2e6FARFlysS7Rk7TtTxStL4r4w+TtvRhfHGoMCq RpRHT04tcPwR9bVaFqwe3QgZ0vbwKPds1IOIK72AQKdEc7snwmynifVExMrWRDyCt8cQ 0jPg== 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=jQpNKCVZULTxDExZrJiw/u/7LLDgJWAehBDsyaMwJ0k=; b=WGNr+PYd3yv6qDpf+V+YD15wny2DHKHg6qTqj6oj04NzdpFnlZRM7vtGTkO65IdKUy iEOv81sJdnn/kZnDk3DqoWfAV6JGK4aKL7x6uAHTrbGW7xoN3XSNhgYibhtESJ9bKOps RPrlwnR2UUBWocUM3+Siv+tQwD+Jsm68DJfGTkUfD8ZwBgcQy31NqkL7UD27FE4Evhbj lY26Eq270g8d7bieeA0lxA/X4Mu3ipEo0oq8nb6Y5OkMWNwyb9sWz84wTYcQQFIosqBw LtFEQa2rLcktsgBPoQtVGFapzphz6m2xKLKf0baQHDtn9YalD4sqa+sufAcvhR3Ct2Yn 0z2g== X-Gm-Message-State: AA+aEWZyDimcrr6BkaPYMetPfjuFW/Tp0WxjN2OCYfIgWklEn/d9GQrL iMwrw2KlU28Pz15FlRC10CfNGizD/ScWaWEuehg= X-Google-Smtp-Source: AFSGD/WcFnJgYlESL6G0fVH1iSug/S6f/0oRlktJdxmUAt0Au2oCBmBvknqvzw2+zdj5SZwjb4B0zFZmi5eJ5ldL+sE= X-Received: by 2002:a2e:9e03:: with SMTP id e3-v6mr4426798ljk.4.1543595904215; Fri, 30 Nov 2018 08:38:24 -0800 (PST) MIME-Version: 1.0 References: <201811301556.wAUFuFlQ060205@repo.freebsd.org> <5F231C0E-AD6A-4F85-9D65-3EB414B59E6E@lists.zabbadoz.net> In-Reply-To: From: Justin Hibbits Date: Fri, 30 Nov 2018 08:38:11 -0800 Message-ID: Subject: Re: svn commit: r341343 - head/share/man/man7 To: Warner Losh 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: C79A06B661 X-Spamd-Result: default: False [-4.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-0.58)[ipnet: 2a00:1450::/32(-1.48), asn: 15169(-1.34), country: US(-0.09)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[5.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.93)[-0.933,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; 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:38:26 -0000 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! - Justin >