From owner-freebsd-stable@FreeBSD.ORG Sat Jan 14 17:32:09 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8842106566B for ; Sat, 14 Jan 2012 17:32:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 626488FC0C for ; Sat, 14 Jan 2012 17:32:08 +0000 (UTC) Received: by wibhm4 with SMTP id hm4so1572736wib.13 for ; Sat, 14 Jan 2012 09:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/dIgJpIiIE6dtj7nXxW7RzUuB2ga+KJ86pnHczrxHDc=; b=HMjeZTLAmafeSShsEtDJ4bW8rq8uHbB9S0ax+Q11QiEvW1d2Shn64HWEIrrm1VFpz8 5YBV4NY8eOYa9gek5fOrcsm7+r00n5Y7m1Ox2i9mi4l1jgSp/d00L5v+gfwXrQDxlYGS FTX7eebNaoYIE7eR1yBqL6NRYa6OvM/avSJGg= MIME-Version: 1.0 Received: by 10.180.19.130 with SMTP id f2mr4277488wie.12.1326562328313; Sat, 14 Jan 2012 09:32:08 -0800 (PST) Received: by 10.223.158.129 with HTTP; Sat, 14 Jan 2012 09:32:08 -0800 (PST) In-Reply-To: <4F1140DD.4040300@infracaninophile.co.uk> References: <4F10009A.7000307@FreeBSD.org> <4F100D9E.80807@FreeBSD.org> <4F10B1AD.9000400@FreeBSD.org> <4F10B6C9.8010607@FreeBSD.org> <4F1140DD.4040300@infracaninophile.co.uk> Date: Sat, 14 Jan 2012 09:32:08 -0800 Message-ID: From: Kevin Oberman To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 9 & recompile ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2012 17:32:09 -0000 On Sat, Jan 14, 2012 at 12:46 AM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > On 13/01/2012 22:57, Andriy Gapon wrote: > > But if the appropriate misc/compatX port is installed, then those > libraries do > > actually exist and the system should be fully usable... Modulo the compat > > libraries not working with the new kernel as Kostik has pointed out. > > As soon as you update or install an application after this point, you > are likely to end up with an application that tries to dynamically link > two different versions of the same shlib, and that is a recipe for > tears-before-bedtime. > > I don't recall any "tears", but it does become a real pain. The compat ports only work for those who only update when absolutely required. Thanks to symbol versioning, most base system libraries don't cause a problem, so the problem is far less likely to bite you than it was in the past, but the bottom line is that you should seriously consider updating all ports. Thanks to Doug Barton's work on portmaster(8), doing so with packages is pretty fast and easy. Even doing a full re-build of all ports (over 1000 of them) on the last system I upgraded to 9.0 updated with no intervention over one night. Use the multiple steps in the big example in the portmaster(8) man page for best results and run the re-install step with '-D'. The man page also provides a simple way to do the job, but it does not assure a completely clean system. I would also consider saving the files in /usr/local/etc after all ports have been removed.That can save a fair amount of reconfiguration at the slight risk of retaining some old cruft. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com