From owner-freebsd-stable@FreeBSD.ORG Thu Jul 17 15:25:00 2008 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 9C68C1065678 for ; Thu, 17 Jul 2008 15:25:00 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5749F8FC17 for ; Thu, 17 Jul 2008 15:25:00 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (localhost [127.0.0.1]) by dns1.vizion2000.net (Postfix) with ESMTP id 639F21CC3E; Thu, 17 Jul 2008 08:46:31 -0700 (PDT) Received: from localhost (localhost [[UNIX: localhost]]) by dns1.vizion2000.net (8.14.2/8.14.2/Submit) id m6HFkURb048734; Thu, 17 Jul 2008 08:46:30 -0700 (PDT) (envelope-from david@vizion2000.net) X-Authentication-Warning: dns1.vizion2000.net: david set sender to david@vizion2000.net using -f From: David Southwell Organization: Voice and Vision To: Andrew D Date: Thu, 17 Jul 2008 08:46:30 -0700 User-Agent: KMail/1.9.7 References: <200807170655.30131.david@vizion2000.net> <200807170730.08649.david@vizion2000.net> <487F57EB.3050007@webzone.net.au> In-Reply-To: <487F57EB.3050007@webzone.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807170846.30483.david@vizion2000.net> Cc: freebsd-stable@freebsd.org Subject: Re: Portsclean doesnt like my upgrade from 6.3 > 7.0 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: Thu, 17 Jul 2008 15:25:00 -0000 On Thursday 17 July 2008 07:32:11 Andrew D wrote: > David Southwell wrote: > > On Thursday 17 July 2008 06:39:26 Kris Kennaway wrote: > >> David Southwell wrote: > >>> It looks as though I have missed something!! > >>> FreeBSD dns1.vizion2000.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Jul > >>> 16 09:27:38 PDT 2008 > >>> root@dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64 > >>> > >>> [root@dns1 ~]# portsclean > >>> FFaattaall eerrrroorr ''Thread is not system scope. > >>> Thread is not system scope. > >>> '' aatt lliinnee 331199 iinn > >>> ffiillee > >>> /usr/src/lib/libpthread/thread/thr_sig.c/usr/src/lib/libpthread/thread/ > >>>th r_sig.c ((eerrrrnnoo == 22)) > >>> > >>> Segmentation fault: 11 (core dumped) > >>> > >>> Ok where do I go from here?? > >> > >> Find out which port(s) you didnt recompile as part of the upgrade (e.g. > >> check mtime in /usr/local), and do that now. You may need to also > >> recompile the ports that depend on them to undo the damage. > >> > >> Kris > >> _______________________________________________ > > > > Thanks Kris > > I have been unable to find instructions in the manual about recompiling > > ports as part of a system upgrade process. There seems to be no reference > > to it. The upgrade from 6.1 to 6.3 seemed to work OK once I sorted out a > > problem with perl. However 6.3 to 7.0 seems to produce more difficulties > > than I bargained for!!! > > > > How can I best reconfigure and recompile all th installed ports? > > > > As you can see from below: > > [root@dns1 ~]# portupgrade -a > > Fatal error 'Thread is not system scope. > > ' at line 319 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno = > > 2) Segmentation fault: 11 (core dumped) > > I saw this not too long ago, The culprit was ruby. > > Go into each of these ports and > 'make clean && make && make deinstall reinstall' them > > lang/ruby18 (I assume) > databases/ruby-bdb > ports-mgmt/portupgrade > > you might have blow away /var/db/pkg/pkgdb.db a couple of times for it > to work. > > Then portupgrade should work fine :) > Right on the nail !! I now have portupgrade -af fulfilling its magic Thank you and everyone else. David