From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 12:02:39 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A73F10656B6 for ; Thu, 23 Sep 2010 12:02:39 +0000 (UTC) (envelope-from admin@kkip.pl) Received: from mainframe.kkip.pl (kkip.pl [87.105.164.78]) by mx1.freebsd.org (Postfix) with ESMTP id B146D8FC15 for ; Thu, 23 Sep 2010 12:02:38 +0000 (UTC) Received: from static-78-8-144-74.ssp.dialog.net.pl ([78.8.144.74] helo=[192.168.0.2]) by mainframe.kkip.pl with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OykVP-000Ika-6q; Thu, 23 Sep 2010 14:02:35 +0200 Message-ID: <4C9B41CF.1090807@kkip.pl> Date: Thu, 23 Sep 2010 14:02:23 +0200 From: Bartosz Stec User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.4) Gecko/20100702 Lanikai/3.1 MIME-Version: 1.0 To: Niclas Zeising References: <4C9ABBA4.5080005@netscape.ca> <4C9AE504.9050609@gmail.com> <4C9B3847.2050503@netscape.ca> <4C9B3BA6.6080909@gmail.com> In-Reply-To: <4C9B3BA6.6080909@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: admin@kkip.pl X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Spam-Score: -8.6 X-Spam-Score-Int: -85 X-Exim-Version: 4.72 (build at 10-Jun-2010 13:05:33) X-Date: 2010-09-23 14:02:35 X-Connected-IP: 78.8.144.74:61133 X-Message-Linecount: 98 X-Body-Linecount: 85 X-Message-Size: 3646 X-Body-Size: 2954 X-Received-Count: 1 X-Recipient-Count: 3 X-Local-Recipient-Count: 3 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 Cc: Ralph Ellis , freebsd-current@freebsd.org Subject: Re: [SPAM] Re: Error message while updating src for FreeBSD 9 current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 12:02:39 -0000 On 2010-09-23 13:36, Niclas Zeising wrote: > On 2010-09-23 13:21, Ralph Ellis wrote: >> Niclas Zeising wrote: >>> On 2010-09-23 04:29, Ralph Ellis wrote: >>>> Hi, >>>> I recently upgraded my FreeBSD 8.1 installation to FreeBSD 9 >>>> current via >>>> buildworld and buildkernel. I was able to one general ports, src >>>> and doc >>>> update by cvsup but now I am getting the following error message >>>> when I >>>> do a src update. >>>> >>>>> cvsup srcsupfile >>>>> Connected to cvsup2.FreeBSD.org >>>>> Updating collection src-all/cvs >>>>> Edit src/bin/ps/extern.h >>>>> Illegal instruction >>>>> >>>> I am new to the mailing list. Is this a known error? >>>> Is this an error to do with the source tree or an issue on my end? >>>> >>>> Just for reference, the contents of my supfile are >>>> >>>> *default tag=. >>>> *default host=cvsup2.FreeBSD.org >>>> *default prefix=/usr >>>> *default base=/var/db >>>> *default release=cvs delete use-rel-suffix compress >>>> src-all >>>> ports-all >>>> doc-all >>>> >>>> Thanks in advance for your assistance, >>>> Ralph Ellis >>>> ralphellis1@netscape.ca >>>> >>> >>> Are you using cvsup or csup? Have you recompiled cvsup in case you use >>> that? What's in your make.conf file? >>> Illegal instruction is usually because the program is compiled for >>> another CPU than what it's running on. It can also be that syscalls >>> has changed, but then it usually complains about that. >>> When doing a major version upgrade, you usually have to recompile all >>> ports. >>> Hope this helps! >>> //Niclas >> >> I am using cvsup. I had recompiled my VirtualBox port but I had not >> finished recompiling the other major ports. Thanks for the suggestion. >> My make.conf is deliberately very plain jane with no special conditions >> or comments. >> Thanks >> Ralph Ellis >> ralphellis1@netscape.ca >> >> >> > > Try to recompile everything, or at least cvsup, and see if it works. > //Niclas Niclas, did you perform 'make delete-old && make delete-old-libs' after upgrade to CURRENT? If you did, many of your ports won't longer work properly (or at all) because of missing libraries. If you didn't, you definitely should do something like 'portupgrade -afrRi' and after you done, you can get rid of these old files with commands above. Of course it could take VERY long time depending on installed ports and machine spec., so if you just need to get your sources updated quickly I recommend: 1. Try csup instead of cvsup. It's integrated in both 8.x and in CURRENT, so should work "out of the box" 2. If you (for some strange reasons) want to stick to cvsup, you'll probably make it work again by portupgrade -fR 'cvsup*' 3. another approach is to get cvsup binaries from package instead of compiling ports - check man pkg_add 4. If you need cvsup to update ports tree, try portsnap instead. It's faster and smarter, and integrated with system :) - check man portsnap Good luck! -- Bartosz Stec