From owner-freebsd-ports@FreeBSD.ORG Tue Dec 11 15:55:27 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD315E03 for ; Tue, 11 Dec 2012 15:55:27 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B76DF8FC08 for ; Tue, 11 Dec 2012 15:55:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBBFtRQL078236 for ; Tue, 11 Dec 2012 15:55:27 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBBFtRDA078235 for ports@freebsd.org; Tue, 11 Dec 2012 15:55:27 GMT (envelope-from bdrewery) Received: (qmail 8599 invoked from network); 11 Dec 2012 09:55:25 -0600 Received: from unknown (HELO ?192.168.0.74?) (freebsd@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 11 Dec 2012 09:55:25 -0600 Message-ID: <50C7576C.5040100@FreeBSD.org> Date: Tue, 11 Dec 2012 09:55:24 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Ports Subject: [RFC/HEADSUP] portmaster default -w (preserve shared libraries) X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig811FD9DE60957647A683B1C6" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 15:55:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig811FD9DE60957647A683B1C6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable (As maintainer) I'm proposing to make -w the default for portmaster. This will preserve old shared libraries when upgrading. This helps 2 thin= gs: 1. Prevents a broken system during upgrades 2. Prevents a broken system after upgrading for ports that did not get a PORTREVISION bump from a shared library update. You have certainly ran into this problem with large library updates such as png, pcre, openssl, etc. Portupgrade has always done this as default, and I have never seen any problems arise from it. It also cleans up prevents duplicated library versions. If portmaster is not already doing this, I will ensure it does.= You could then use pkg_libchk to rebuild any lingering ports if you wanted to ensure your system was using the latest. Then cleanout the preserved shared library. Of course there will be a way to stick to the old default of not preserving the libraries. Someone may consider this a POLA violation, but I consider that a broken system from missing libraries and PORTREVISION bumps is more of a POLA violation. The other option to ensuring that all ports work correctly after a shared library update is to just rebuild any port which recursively is affected by another port being updated. I think this is fine in scenarios such as tinderbox/poudriere, but with end-user compiling ports on their system, this may quickly become too much of a burden. Regards, Bryan Drewery --------------enig811FD9DE60957647A683B1C6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQIcBAEBAgAGBQJQx1dxAAoJEG54KsA8mwz5L+UQAIHBLr/7anTy9HQkPe8CbOUW QWlZOlTu/gILhk9q7wFwD319dswEdDBpbe5UIcdVaAqDn3C43y4+91z++IozmeC+ Ww9/aG/Q+O4/6lRvc3cI8BXXs2WKP+6J54MbMVpM8vUJnN6YEerFcI4bJh41uWZG qglHhfRy07c0dvrl+hjCyeMrWVWrIsaTv6XoJhGQDPI7k2lDDx/6LotWcIBaeBVS M4ZmDYQrdY1G2+sR3r2ESxVoo35K/3qQSOlyDHUbwA1pI8HOPMud4jTcwburBpCl lRV8UnI7Wd1nmwU8SM3O3oz4nC2GDdLX8qttzOQEj+Svk7R1QT7Qd1uNuRenZept YkeavTn0USLVzXHgkge03kqbUnmB1uVqEsoITQNyC6BaEUgFI1DrohXAmSAEtsv9 5SqkIaoBHw7/GEM9TlEdX/muqQNtzEMI6YmjJCQ5oPj/mhFUUQ6irXTv0bKTrubl Nsul4b2ERpxFNZbAsovcp8lx62/0QXAsVMmSzOu4/wWOXKFbxzZEz1PBCVqcy719 XNzYZOqi5JnFD+bAk2ojGnegn5klKLkBjuscekJ3y/iYZ7Qyyg2R0PpX95kvb9BQ 43LeOi/Nz5I1wiTR1wlJuhHTf0qCX/Q0cxl6ji9IseZLQf3R8vUzc2L/ygKtJS27 a6/2HVINtXM/3JetcmGL =xjdB -----END PGP SIGNATURE----- --------------enig811FD9DE60957647A683B1C6--