From owner-freebsd-questions@FreeBSD.ORG Sat Mar 13 05:06:18 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 0DA6F16A4CE for ; Sat, 13 Mar 2004 05:06:18 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3958C43D48 for ; Sat, 13 Mar 2004 05:06:17 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i2DD6804055737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Mar 2004 13:06:08 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2DD672I055736; Sat, 13 Mar 2004 13:06:07 GMT (envelope-from matthew) Date: Sat, 13 Mar 2004 13:06:07 +0000 From: Matthew Seaman To: Hermes Trismegistus Message-ID: <20040313130607.GD98015@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Hermes Trismegistus , questions@freebsd.org References: <20040313015712.K74166@sherman.trismegistus.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2iBwrppp/7QCDedR" Content-Disposition: inline In-Reply-To: <20040313015712.K74166@sherman.trismegistus.net> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: questions@freebsd.org Subject: Re: Major Problems 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: Sat, 13 Mar 2004 13:06:18 -0000 --2iBwrppp/7QCDedR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 13, 2004 at 02:13:26AM -0600, Hermes Trismegistus wrote: > This request is much a cry in desperation. I have tried everything > possible, at least, everything I know to do. I have sent inquiries to the > ports list, none can solve it. Usually such problems are temporary glitches caused by mistakes in ports Makefiles or commits to ports being caught at just the wrong moment when you do your cvsup(1). The vast majority of the time, the solution is simply to go away for a few hours and then try again. =20 > After I run my cvsup on my ports, I get this kind of stderr at the CLI > when I run the "portsdb -Uu": Another standard response is that if 'portsdb -Uu' doesn't work, then try 'make index' instead. It used to be the portsdb worked better, but honours have oscillated between the two over the last few years. At the moment, I'd say that 'make index' has the advantage, especially since the commits Kris made recently that knocked about 30% off the execution time. =20 > --------------just a small snip of the errors------------------ > make_index: ifm-4.1_2: no entry for /usr/ports/x11-toolkits/tk84 > make_index: gnomeblog-0.7_1: no entry for /usr/ports/x11-toolkits/py-gtk2 > make_index: gnomeblog-0.7_1: no entry for > /usr/ports/x11/XFree86-4-libraries > make_index: gnomeblog-0.7_1: no entry for /usr/ports/misc/gnomehier > make_index: gnomeblog-0.7_1: no entry for /usr/ports/x11-toolkits/py-gtk2 > make_index: gnomeblog-0.7_1: no entry for > /usr/ports/x11/XFree86-4-libraries > Warning: Duplicate INDEX entry: *** Error code 1 > Warning: Duplicate INDEX entry: > ----------------------------------------------------------------- Making INDEX successfully generally requires that you pull down a full copy of the ports tree: if you refuse, say, the foreign language ports there's no guarrantee that there won't be other ports in the system that depend on those ports. And a missing dependency like that is a prime cause of the sort of breakage you're seeing. Check your /usr/sup/refuse file carefully. The 'Duplicate INDEX entry' response happens when the /usr/ports/Tools/portbuild/scripts/makeindex script trips over an error in the output of the 'make describe' target -- usually it's trying to parse a couple of blank lines. A good way to fix such problems is to run 'make describe' from /usr/ports, look at any error messages to pick out the individual ports that are causing problems, and in your case, delete those ports and then re-cvsup to get a clean copy. Usually the instruction would be to "fix whatever is wrong with the port", but that's directed more at ports committers rather than general users. Whatever you do: lather, rinse and repeat until you can build the INDEX cleanly. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --2iBwrppp/7QCDedR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAUwc/dtESqEQa7a0RAnpqAJ0V2y9BWVGUYA5psoIgrbuiTyFEjgCeLDs1 hAWqS5hpy+6eBvvGcFboPSs= =8fu3 -----END PGP SIGNATURE----- --2iBwrppp/7QCDedR--