From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 02:30:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1790E16A4CE for ; Fri, 17 Dec 2004 02:30:35 +0000 (GMT) Received: from b.smtp.taconic.net (outgoing.taconic.net [205.231.144.130]) by mx1.FreeBSD.org (Postfix) with SMTP id 25B8643D3F for ; Fri, 17 Dec 2004 02:30:34 +0000 (GMT) (envelope-from daemon@taconic.net) Received: (qmail 6460 invoked by uid 0); 17 Dec 2004 02:30:11 -0000 Received: from unknown (HELO ?192.168.1.52?) (daemon@taconic.net@205.231.151.129) by 0 with SMTP; 17 Dec 2004 02:30:11 -0000 Message-ID: <41C244D3.8090204@taconic.net> Date: Thu, 16 Dec 2004 21:30:43 -0500 From: Jonathan Franks User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Altman References: <41C1B2B7.4050602@computer.org> <20041217015720.GB25921@panix.com> In-Reply-To: <20041217015720.GB25921@panix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions cc: Eric Schuele Subject: Re: Trouble with 'portsdb -uU' and ld-elf.so... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 02:30:35 -0000 Joe Altman wrote: >On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote: > > >>Hello, >> >>I'm having trouble with 'portsdb -uU' >> >>It worked exactly twice on my machine. I was using the following >>commands to upgrade all my ports: >> >># cvsup -g -L 2 /root/ports-supfile >># portsdb -uU >># pkgdb -F >># portupupgrade -a >> >>worked fine first two times. Now.. my cvsup works fine. but when I >>'portsdb -uU', it runs for a while and then I get something like: >> >>K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 | >>/usr/bin/awk '{ print $1 }'" returned non-zero status >>===> java/javamail failed >>*** Error code 1 >>2 errors >>/libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table >> >> > >Here is my guess, and I emphasize that it is a guess: > >http://fireflynetworks.net/pipermail/rtg/2004-December/001375.html > >is a page I found by using Google to search for: > >Shared object has no run-time symbol table > > > >>Now mind you I may have broken my ports tree at some point. >> >> > >This appears to be the case: > > > >>I'm >>relatively new to FreeBSD... and before I began using portupgrade... I >>was manually upgrading a handful of ports (make install.. deinstall... >>reinstall type stuff... downloading port folder manually).. >> >> > >I suggest reinstalling the ports you deinstalled, if you haven't >already done so... > > > >>and I think >>a placed a few in 'new' directories in my ports tree. So I do not know >>if that would 'break' my ports tree or not. But thought it was worth >>mentioning. >> >> > >I can't quite parse this because it appears to me that you've left out >a word or two. > > > >>Other things worth mentioning: >>- I have a very slight customized kernel config file. Added support for >>ath, removed some processor support (486/586), added splash screen. >> >> > >I don't think this is relevant. > > > >>- I have NEVER cvsupped my kernel src... only the ports tree. >> >> > >And here it is: go and update your source, including the ports tree, >after you have reinstalled the ports you deinstalled. Make sure that >the world is correctly installed; then go and try the portupgrade >bits, one port at a time. > > > >>I have done nothing such as buildworld. >> >> > >Go and do buildworld, then portupgrade. > > > >>Have I broken something? Am I going about upgrading ports the wrong >>way? >> >> > >Yes, it appears that you have broken something. > > > >>If I have broken my ports tree.... is it possible to recreate it >>correctly? Maybe delete it and reinstall off CD then cvsup it? >> >> > >No, you don't need to do a complete reinstall, IMO; you do need to >update your source, perhaps even desperately. >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o > > From what I've heard, portsdb -Uu is not preferred in 5.3, rather one should do make fetchindex in /usr/ports then run portsdb -u afterwards. I've only HEARD that this is correct, but it worked for me..... so make of it what you will....