From owner-freebsd-questions@freebsd.org Wed Dec 12 18:52:48 2018 Return-Path: Delivered-To: freebsd-questions@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 9DD5E1321594 for ; Wed, 12 Dec 2018 18:52:48 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E21447313D for ; Wed, 12 Dec 2018 18:52:47 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.5] ([70.121.63.82]) by cmsmtp with ESMTPA id X9cagv8nqP088X9ceg3dkv; Wed, 12 Dec 2018 18:52:41 +0000 Date: Wed, 12 Dec 2018 12:52:36 -0600 From: Paul Schmehl Reply-To: Paul Schmehl To: FreeBSD Questions Subject: Re: Forcing port reinstalls without rebuilding over and over again Message-ID: <1793865D5AEE79C2FC27331F@Pauls-MacBook-Pro.local> In-Reply-To: <47758EF2A172AE3BCA2F6E66@Pauls-MacBook-Pro.local> References: <47758EF2A172AE3BCA2F6E66@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfFXY7WoMyeRUspowy/RQmr4sx1dse+kIQwrEC+HSgOkBDv0uIpK7kqnYnHsNKrO9ugEie2W8LXSLNlBn1l/cJgkUiDXab8N330PRmr8kzeF9GMZioeCn 9qT06/xudoLoXa5wmw40PuqkH7S1fvUrnEBZ/lrD+qHpAKzIkwFNT0iv+a9ws2s2vEHF76gyqoN7YA== X-Rspamd-Queue-Id: E21447313D X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pschmehl_lists@tx.rr.com designates 107.14.73.225 as permitted sender) smtp.mailfrom=pschmehl_lists@tx.rr.com X-Spamd-Result: default: False [-3.64 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[pschmehl_lists@tx.rr.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[rr.com]; RCPT_COUNT_ONE(0.00)[1]; REPLYTO_EQ_FROM(0.00)[]; IP_SCORE(-1.39)[ipnet: 107.14.73.0/24(-3.82), asn: 7843(-3.06), country: US(-0.09)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: dnvrco-cmedge01.email.rr.com]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; RCVD_IN_DNSWL_NONE(0.00)[225.73.14.107.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2018 18:52:48 -0000 --On December 12, 2018 at 2:07:35 AM -0600 Paul Schmehl wrote: > Is there a way, using portmaster, to force the rebuild of all ports > without rebuilding the same ports over and over and over again? > > I've noticed that using portmaster -f forces the rebuild of every > dependency. I think I've now rebuild perl and python at least 20 or 30 > times. Once should be enough. I guess if you're going to rebuild > everything, it would be ok to ignore dependencies for ports, since > they're all going to be rebuilt anyway. > > What's the magic potion for that? After reading through the man page, I thought that portmaster -Rfd would do the trick, but it didn't. ISTM that, when you're building every port on a box, you shouldn't need to build all the dependencies for every port, because they're all going to be built anyway. Rebuilding perl (for example) repeatedly, makes no sense at all. It would be nice if there were a --force-with-no-dependencies switch so that every port could be built once and once only. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell