From owner-freebsd-ports@FreeBSD.ORG Mon May 10 21:04:18 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40CFA16A4CE; Mon, 10 May 2004 21:04:18 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83C4B43D53; Mon, 10 May 2004 21:04:17 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (8bc5f4274846a70c38ea9bbb9ba4964d@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i4B44GNw000075; Mon, 10 May 2004 21:04:16 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 67CF4525F5; Mon, 10 May 2004 20:04:37 -0700 (PDT) Date: Mon, 10 May 2004 20:04:37 -0700 From: Kris Kennaway To: Andy Smith Message-ID: <20040511030437.GA77037@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: pav@freebsd.org cc: Palle Girgensohn cc: freebsd-ports@freebsd.org Subject: Re: broken ports index X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 04:04:18 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Adding maintainer and last committer to CC list since there's a good chance one of them is responsible :-) Kris On Tue, May 11, 2004 at 01:06:23AM +0000, Andy Smith wrote: > Hi, >=20 > Someone asked me today, "how is it possible that I get 'package supercede= s port' > when I run pkg_version or portversion? The only thing I've been doing is > updating my ports with cvsup" >=20 > I thought this was a very good question, especially as it then made me no= tice > that I was getting the same on one of my machines. So I had a bit of a g= oogle > and found a post that suggested I should do: >=20 > cd /usr/ports > make index >=20 > I tried this, and got this result: >=20 > $ sudo make index = =20 > Generating INDEX-5 - please wait..=3D=3D=3D> comms/gnokii failed: > "/usr/ports/Mk/bsd.gnome.mk", line 8: Malformed conditional > (${_USE_GNOME_ALL:Mglib12}=3D=3D"") > "/usr/ports/Mk/bsd.gnome.mk", line 8: Need an operator > "/usr/ports/Mk/bsd.gnome.mk", line 8: Malformed conditional > (${_USE_GNOME_ALL:Mgtk12}=3D=3D"") > "/usr/ports/Mk/bsd.gnome.mk", line 8: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 1520: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 1520: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 4830: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 4830: Need an operator > make: fatal errors encountered -- cannot continue > *** Error code 1 > 1 error >=20 > ******************************************************************** > Before reporting this error, verify that you are running a supported > version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you > have a complete and up-to-date ports collection. If so, then report > the failure to ports@FreeBSD.org together with relevant details of > your ports configuration (including FreeBSD version, environment and > /etc/make.conf settings). > ******************************************************************** >=20 > *** Error code 1 >=20 > Stop in /usr/ports. > *** Error code 1 >=20 > Stop in /usr/ports. >=20 > So I did a cvsup in the hope that it would have been a momentary problem = that > got fixed, but this does not appear to be the case. Now my pkg_version a= nd > portversion scripts do not work (they give similar errors to above). >=20 > Was this a bad thing to do? >=20 > How do I recover from it? I do have backups, but I would like to know wh= ich > files to restore. Or I could just nuke /usr/ports and cvsup them again. >=20 > [andy@laudanum ports]$ uname -a > FreeBSD laudanum.strugglers.net 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1= #0: > Wed Mar 3 02:18:05 GMT 2004 =20 > root@laudanum.strugglers.net:/usr/obj/usr/src/sys/LAUDANUM i386 >=20 > [andy@laudanum ports]$ cat /etc/make.conf=20 > CPUTYPE=3Dp2 > # -- use.perl generated deltas -- # > # Created: Wed Feb 4 03:36:35 2004 > # Setting to use base perl from ports: > PERL_VER=3D5.8.2 > PERL_VERSION=3D5.8.2 > PERL_ARCH=3Dmach > NOPERL=3Dyo > NO_PERL=3Dyo > NO_PERL_WRAPPER=3Dyo >=20 > Thanks, > Andy >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >=20 --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAoELFWry0BWjoQKURAgtRAKDiGNKEM4BBhI0J4y+9Z1H1yC1vjgCePfl6 piScm4nB28sHKgG76eVq/E4= =GGfZ -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--