Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 16:46:07 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        David Southwell <david@vizion2000.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Portsclean doesnt like my upgrade from 6.3 > 7.0
Message-ID:  <487F5B2F.1030003@FreeBSD.org>
In-Reply-To: <200807170730.08649.david@vizion2000.net>
References:  <200807170655.30131.david@vizion2000.net>	<487F4B8E.9040909@FreeBSD.org> <200807170730.08649.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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!!!

It was clearly mentioned in the release announcement :)

> 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)

Try pkg_deleting portupgrade and ruby* and reinstalling them, then 
proceed with portupgrade -fa (note -f!) or -faP.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487F5B2F.1030003>