From owner-freebsd-ports@FreeBSD.ORG Thu Apr 17 17:50:50 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 167741065672 for ; Thu, 17 Apr 2008 17:50:50 +0000 (UTC) (envelope-from kenfreebsd@icarz.com) Received: from geordi.icarz.com (geordi.icarz.com [207.99.22.23]) by mx1.freebsd.org (Postfix) with ESMTP id C57DC8FC1A for ; Thu, 17 Apr 2008 17:50:49 +0000 (UTC) (envelope-from kenfreebsd@icarz.com) Received: from [209.123.219.138] (netb-138.icarz.com [209.123.219.138]) (authenticated bits=0) by geordi.icarz.com (8.14.2/8.14.2) with ESMTP id m3HHdU7A039649; Thu, 17 Apr 2008 13:39:32 -0400 (EDT) (envelope-from kenfreebsd@icarz.com) Message-ID: <48078B4C.5090107@icarz.com> Date: Thu, 17 Apr 2008 13:39:24 -0400 From: Ken Menzel User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Laurent Grangeau References: <1bf0a5b00804170454u882c715y3ece0cbc0ad75802@mail.gmail.com> In-Reply-To: <1bf0a5b00804170454u882c715y3ece0cbc0ad75802@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 207.99.22.23 Cc: ports@freebsd.org Subject: Re: FreeBSD Port: portupgrade-2.4.3_2,2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kenm@icarz.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 17:50:50 -0000 Laurent Grangeau wrote: > Hi ! > > I'm having trouble running portupgrade -ra after upgrading from 6.3 to 7.0 > with the freebsd-update util. When I try to run portupgrade, it says : > > "Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12)" > > I've got some troubles running freebsd-update, and I have made some change > manually, like install ports/misc/compat6x in order to have my old apps > running, rename INDEX-6.db to INDEX-6.db.old and reconstruct it. > > I don't see where the problem comes from and I don't know how to solve it. I > have searched on Google and I didn't find anything that can help me. I have > no /usr/src sub-directories. > > Regards, > Lauren, It sounds like you have partially updated some ports and you now have a library conflict with two versions of libc. Make sure your ports collections is up to date (using csup ports.sup or you favorite method ) Then, run cd /usr/ports;make fetchindex . Then delete portupgrade using pkg_delete portupgrade\* and cd /usr/ports/ports-mgmt/portupgrade; make install. You may also want to reinstall ruby this way before reinstalling portupgrade. After portupgraded is installed rm /var/db/pkg/pkgdb.db and portupgrade will rebuild it. Hope this helps you, Ken