From owner-freebsd-ports@freebsd.org Tue May 4 14:50:00 2021 Return-Path: Delivered-To: freebsd-ports@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 BBA846349F3 for ; Tue, 4 May 2021 14:50:00 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FZN6b3hkkz3Mdx for ; Tue, 4 May 2021 14:49:59 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 2f74a734; Tue, 4 May 2021 14:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=RtF0AYMf ERDLBilf6gZx3BoMve0=; b=IdYdB1wXwMn0qbQGsNr0DdYsrHuraTnGDVC+3vmM GrrBb7kEXHoo/erCMKD19DvObevEkrAzsIxyw4GRwBZxaK6rL8SE+mZaAku7RGeJ dmDBZMwbEcJbnILnpCaJFl4NTs9fnKWmqU0e+rgSuqiilbDXAU8Bh5CR5EnRgnKJ nQirOGBa1W47W4zbxboe76mNN2kcOMZkTrlwRgjlrp9ShoPEUrZY+KzlRJC6fPVy cDJeuJ0nH0m++2zA/VLv9n0+43u5jAUdgkl92s5ZV3nch8Z5dnXvqFrlVChOtxOG aU3F1p/piOlwxyAvUrDyOqm1iuA31d7DN1rRu6mK9AlYcA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=Af VMO7fcsIQjCKVr3katvWKWfGNQ3edppZ5NYLlVZpsn+WQNy74Y9jcFzof2RGMwtc dClnLNSiikPKDpdHoL4GIU+cekzOrTfMwl6A7q0GOdrxSQ1APXRpb7vatWAdY/Tr G1HDUZexvgZwU8NZnnLI9anPr5nVTfFwknM1SByqRY4t4mRUsWMn0Z04NXBQBmNi trTE4zyqKPlSTi+qKtx0wHOVoJSqYxPBUollPGWG57OCe2gke2NwRINC4UGZt9Zz ZT99OxEsh2REU3E+WYTPrAHYa+ngT7pn+LyjIVmEJRyBYTd7JY/3/ybU5dZYFxbr hVlHSysPRN4h4jZe2g1g== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 1aa80632 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Tue, 4 May 2021 14:49:52 +0000 (UTC) Date: Tue, 4 May 2021 16:49:18 +0200 From: Michael Gmelin To: "@lbutlr" Cc: FreeBSD Subject: Re: Ports recompile for 13.0-RELEASE Message-ID: <20210504164918.07864f1a@bsd64.grem.de> In-Reply-To: References: X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FZN6b3hkkz3Mdx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=IdYdB1wX; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; SPAMHAUS_ZRD(0.00)[213.239.217.29:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.239.217.29:from]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 14:50:00 -0000 On Tue, 4 May 2021 08:10:38 -0600 "@lbutlr" wrote: > With the move to FreeBSD 13.0 is there a simple (single step) way to > reinstall all the current ports other than saving off a list of the > ports and then stepping through that list to reinstall them? > It was very inefficient when moving to 12.0 as many ports in the > list, of course, were dependent on other ports, but then got > recompiled, sometimes multiple times. I know I ended up in a make > loop where came was compiled over and over again until I aborted, > listed the current ports, differ on the previous ports, and picked a > port I though would have a lot of reps to restart the compile. I then > did this several more times to get back to where I had been on 11.x Using a local poudriere repo fixes all of the above ;) > > And there's still no way to tell if a port was installed from pkg or > from ports, correct? Since I use MariaDB instead of MySQLI have to be > sure I don't try to use package for anything that will try to install > MySQL instead. The repository the package came from is stored in the annotation tag named "repository". You can see this, e.g., by using pkg query "%n %At %Av" or pkg info -R By default this is "FreeBSD" for the official repos. If you install locally ("make install"), it's not set. > > And finally, the release of 13.0 ends the 12.x versions, right? There > will not be a 12.3. See https://www.freebsd.org/security/#sup, there will be a 12.3. > > (And yes, I've tried moving to poudrerie several times and we do not > get on. At all.) Well, that's the recommended way of doing what you're trying to accomplish, otherwise you'll be in dependency hell like we've all been updating our machines in the 2000s. Alternatively, you could create a jail or VM manually, install all packages you need in there from ports using make install. You can retrieve the list of what you need on your target host using pkg query -e "%a = 0" %o Then run "pkg create -a" on that machine to get a set of all binary packages. Then copy those over to your target machine and install them using pkg add. Will be messy, but kind of work. I really would prefer poudriere over that though. Best Michael -- Michael Gmelin