From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 22:45:29 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 3BAE816A4CE for ; Thu, 16 Dec 2004 22:45:29 +0000 (GMT) Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D91343D1F for ; Thu, 16 Dec 2004 22:45:28 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041216224527.JWTA28362.out005.verizon.net@ringworm.mechee.com> for ; Thu, 16 Dec 2004 16:45:27 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id E95952CE753; Thu, 16 Dec 2004 14:42:52 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Thu, 16 Dec 2004 14:42:44 -0800 User-Agent: KMail/1.7.1 References: <41C1B2B7.4050602@computer.org> In-Reply-To: <41C1B2B7.4050602@computer.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412161442.45854.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [4.26.84.7] at Thu, 16 Dec 2004 16:45:27 -0600 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: Thu, 16 Dec 2004 22:45:29 -0000 On Thursday 16 December 2004 08:07 am, 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 > *** Error code 1 > > Stop in /usr/ports. > *** Error code 1 > > Stop in /usr/ports. > failed to generate INDEX! > fangorn# > > // Note that if I do a ls immediately afterwards i get > > fangorn# ls > /libexec/ld-elf.so.1: ls: Shared object has no run-time symbol table. > > Now mind you I may have broken my ports tree at some point. 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).. 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. > > 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 have NEVER cvsupped my kernel src... only the ports tree. > - Other than changing the kernel config file and buildkernel/install > kernel... I have done nothing such as buildworld. > - No other problems on my machine. > > # unanme -a > FreeBSD fangorn.nxdomain.org 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Thu > Nov 11 09:39:38 CST 2004 root@unx.nxdomain.org: > /usr/obj/usr/src/sys/INSPIRON5100 i386 > > Have I broken something? Am I going about upgrading ports the wrong > way? If I have broken my ports tree.... is it possible to recreate > it correctly? Maybe delete it and reinstall off CD then cvsup it? Before you go deleting your entire port tree try the following: 1. install /usr/ports/sysutils/portmanager 2. To see the status of installed ports: portmanager -s 3. To upgrade installed ports portmanager -u Note: portmanager does not depend on INDEX, INDEX-5 etc... -Mike