From owner-freebsd-questions@FreeBSD.ORG Wed Nov 3 13:58:12 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 B02A716A4D1 for ; Wed, 3 Nov 2004 13:58:12 +0000 (GMT) Received: from ncm.gu.se (ncm1.ncm.chalmers.se [129.16.132.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45A5543D46 for ; Wed, 3 Nov 2004 13:58:12 +0000 (GMT) (envelope-from dippe@ncm.gu.se) Received: from [129.16.132.22] (ncm022.ncm.chalmers.se [129.16.132.22]) by ncm.gu.se (Postfix) with ESMTP id 3D3DBB87E for ; Wed, 3 Nov 2004 14:53:41 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: quoted-printable Message-Id: <654F4C4B-2DA0-11D9-9197-000393555914@ncm.gu.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: freebsd-questions@freebsd.org From: =?ISO-8859-1?Q?G=FCnther_Dippe?= Date: Wed, 3 Nov 2004 14:58:10 +0100 X-Mailer: Apple Mail (2.619) Subject: portsdb: index generation error 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: Wed, 03 Nov 2004 13:58:12 -0000 Hi all, I downloaded a fresh ports.tar.gz and unpacked it (FreeBSD 5.1). Then I did a portsdb -Uu Which resulted in the following: Updating the ports index ... Generating INDEX.tmp - please=20 wait.."Makefile", line 26: warning: String comparison operator should be either =3D=3D or !=3D "Makefile", line 26: Malformed conditional (${OSVERSION} > 502113 ||=20 (${OSVERSION} > 491100 && ${OSVERSION} < 500000)) "Makefile", line 26: Missing dependency operator "Makefile", line 28: if-less endif "Makefile", line 28: Need an operator make: fatal errors encountered -- cannot continue =3D=3D=3D> sysutils/freebsd-sha1 failed *** Error code 1 1 error ******************************************************************** Before reporting this error.... ******************************************************************** *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error -------- On my two other FreeBSD boxes (5.2 and 5.2.1) it worked without problem. Any suggestions (I googled the net without luck)? Cheers G=FCnther=