From owner-freebsd-questions@freebsd.org Sat Jan 30 18:23:05 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E19F4F52B8 for ; Sat, 30 Jan 2021 18:23:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DSjHq4sDYz4syY for ; Sat, 30 Jan 2021 18:23:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.139]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MXXhv-1lTLoi2A5n-00Z20M; Sat, 30 Jan 2021 19:22:51 +0100 Date: Sat, 30 Jan 2021 19:22:50 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: "Steve O'Hara-Smith" , freebsd-questions@freebsd.org, RW Subject: Re: make config-recursive for an individual port Message-Id: <20210130192250.bb8ac8f1.freebsd@edvax.de> In-Reply-To: References: <5dfb1c4a-d7b3-2059-c76e-7cfd1490c812@dreamchaser.org> <20210130170828.0299f4b5@gumby.homeunix.com> <20210130171424.b9e0f55048c5c3b9cff042f5@sohara.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:9vd4NFAYgQQxKZXvaobdw0hNl6cob8qQgEiqx7ivZ+NLb6dmAML krmIoOmr+SHzVHa9Pu+IRxxcmwpS+v2Qt30rabdVo0TmC7JaugGxCWKzMH4+WBYDumRC2AB W84ECoanK1DgufUVeZZy+Tou33jXlUcOyhMPqTPbC5eB2kWEnoEwUHgt07IlbRoW4FSRIXV FNexKc4LdJQitNXRiu9pg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:IUQ6x/RYJxs=:ZrVVxm1xRgdz7U4VuVeaeH BxGytFrR1T0htQi3sCam1znoSQLtC0Sy6FJjVSlf9fxti2jYQ86Lb1YwSGF4K6ifhGkJdGufr mVFUk/UwqiFrJ0RNxEmGuYrDtedAJUYGTh48HgPNADA66fSwrHqqqW1OnRS7Luxm699jPaJ4H 9pbVg56tSofZJhoQPzgrO0IOZmTA3SC/2Ly9fIRW9+bxxzgUX6gVzWbTxmDE1ztSUr9nKf6UJ 9wtT9IL945yfeGGPllEOXN2uzTFAtAaryjttKCg2tK8FlBu94KdiHQUGPDG1MFWi/dDK44/YI 8Od83kVn8Ka/jj0oq4k+SHIYVdcsv7wq7RR/K2Bs3nSejHaphih/Y6NUq85BY4NY3MmRUkKau xSjVX6CLK0kjicURvM3URDtpQ0GkdHyTERybouikz39uLlJ/yUTPhWRG3TCnx X-Rspamd-Queue-Id: 4DSjHq4sDYz4syY X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [-0.59 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.126.131:from]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.9.139:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.985]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[212.227.126.131:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.131:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.131:from]; FREEMAIL_CC(0.00)[sohara.org,freebsd.org,googlemail.com]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2021 18:23:05 -0000 On Sat, 30 Jan 2021 10:43:42 -0700, Gary Aitken wrote: > On 1/30/21 10:14 AM, Steve O'Hara-Smith wrote: > > On Sat, 30 Jan 2021 17:08:28 +0000 > > RW via freebsd-questions wrote: > > > >> Because that's what the "-recursive" part means - configure the current > >> port and anything it depends on. When you "make install" it will build > >> the dependencies that aren't already installed. > > I understand the -recursive will configure dependent ports. What I don't > understand is why it would configure dependent ports which are already > installed, since they will not be reinstalled. They will be re-installed in case you change options. Only a port with default options equals the already installed package. > It makes no sense to > configure them without first uninstalling them. You can reconfigure them, but only the "make install" step will require uninstalling them first. The configured options will stay; for example, running "make configure" will only allow you to change the options, but nothing else. The changed options might affect the "make" and "make install" stage, and might even introduce new dependencies. That "make configure" step can be done independently of the already installed package, such as the "make patch" step would. Only "make install" affects things that are connected with the already installed port, and "make" _could_ require (re)installation of dependencies, especially if those are build dependencies (as opposed to runtime dependencies) which a certain configuration option might require. Example: You have installed "foo" with the default settings. You do "make configure" and select "optimization". Now the dependency lists changes in a way that "bar-asm" is needed (which it wouldn't for the default settings). You run "make", and because bar-asm isn't there, it will be installed. You then run "make install" - and _here_ it stops because "foo" is still installed. At this stage de-installation and re-installation is needed, but not yet at the configuration stage (or even before it). > It is presuming install - configure - deinstall - build - install > is a reasonable sequence of operations, where a more reasonable one would > be install - deinstall - configure - build - install. Reconfiguring a port does not imply you first have to uninstall it. As mentioned above, only the installation step requires uninstallation of the already installed port, not the configuring step. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...