From owner-freebsd-ports@FreeBSD.ORG Thu Apr 17 22:33:18 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 24E46106564A for ; Thu, 17 Apr 2008 22:33:18 +0000 (UTC) (envelope-from thorzero@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id E734B8FC1A for ; Thu, 17 Apr 2008 22:33:17 +0000 (UTC) (envelope-from thorzero@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so189181wfa.7 for ; Thu, 17 Apr 2008 15:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=NtO4/g8e0kUiaN7iNK9cJxTmdR8bYNhyvWnVo6AJgw0=; b=L3gMk6DzM6CSciXmyVxUiOLhqwUTJVt3BZYCBrlbOrt73Q11mt0pimceYMOolWI2Dwyp9n6/rNZvQowRF3JoQIRWvEK03lP9veXK5NJn4zd3CEaXhjeQY11aX8eOZqNs7+ow3u3MHmy2mi1h7OA2zmpoYxqUpKrxZ8R6Mm5CueE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=fAZOgVga6u0dcF/mH7f+YIk5bxj1Hn0wP5EfyRnUs2uIfMUpcH0GUoYu37NZpccEG64ZbCI08MRw2iQJN2BSrCOUoY5RBro2tpsUio5F1H9BY8nLVkQHUYmbYVagDqEPKJgyoTE7bZUhsuTsKGmWdGvX11PQBDRupm//LWnIyDc= Received: by 10.142.216.9 with SMTP id o9mr545307wfg.93.1208471597295; Thu, 17 Apr 2008 15:33:17 -0700 (PDT) Received: by 10.142.165.6 with HTTP; Thu, 17 Apr 2008 15:33:17 -0700 (PDT) Message-ID: <1bf0a5b00804171533h3f470208s7af16f096705e0f0@mail.gmail.com> Date: Fri, 18 Apr 2008 00:33:17 +0200 From: "Laurent Grangeau" To: kenm@icarz.com In-Reply-To: <48078B4C.5090107@icarz.com> MIME-Version: 1.0 References: <1bf0a5b00804170454u882c715y3ece0cbc0ad75802@mail.gmail.com> <48078B4C.5090107@icarz.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 22:33:18 -0000 Thank you Ken for your advice but it didn't solve anything. I ran all the commands you describe below, and all go well, but I'm still having the same issue. Here is the complete error I've got : Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) apxs:Error: Sorry, no shared object support for Apache. apxs:Error: available under your platform. Make sure. apxs:Error: the Apache module mod_so is compiled into. apxs:Error: your server binary `/usr/local/sbin/httpd'.. "/usr/ports/Mk/bsd.apache.mk", line 287: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status eval: 1: Syntax error: "(" unexpected "/usr/ports/Mk/bsd.apache.mk", line 294: warning: "eval `echo "[ 20+ -eq Bus error (core dumped) ]" | /usr/bin/sed -e 's/- -eq/ -ge/ ; s/+ -eq/ -le/' ` ; echo ${?}" returned non-zero status "/usr/ports/Mk/bsd.apache.mk", line 323: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.apache.mk", line 323: Malformed conditional (${APACHE_VERSION} >= 21) "/usr/ports/Mk/bsd.port.mk", line 6123: if-less endif make: fatal errors encountered -- cannot continue /usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' ... 6 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2173 Do you know why this is happened ? On Thu, Apr 17, 2008 at 7:39 PM, Ken Menzel wrote: > 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 > > > -- http://www.thorzero.info Laurent.