From owner-freebsd-questions@FreeBSD.ORG Sat Mar 1 18:11:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FA14106566B for ; Sat, 1 Mar 2008 18:11:28 +0000 (UTC) (envelope-from freebsd@superhero.nl) Received: from wolverine.superhero.nl (wolverine.superhero.nl [77.73.16.20]) by mx1.freebsd.org (Postfix) with ESMTP id B109D8FC13 for ; Sat, 1 Mar 2008 18:11:27 +0000 (UTC) (envelope-from freebsd@superhero.nl) Received: (qmail 65507 invoked by uid 80); 1 Mar 2008 18:11:11 -0000 Received: from 82.95.198.17 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Sat, 1 Mar 2008 19:11:11 +0100 (CET) Message-ID: <61939.82.95.198.17.1204395071.squirrel@webmail.superhero.nl> In-Reply-To: <20080229154033.GL48248@laa.zp.ua> References: <2003.80.127.127.95.1204297604.squirrel@webmail.superhero.nl> <20080229154033.GL48248@laa.zp.ua> Date: Sat, 1 Mar 2008 19:11:11 +0100 (CET) From: "Gelsema, P \(Patrick\) - FreeBSD" To: "Lystopad Oleksandr" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: bsd.port.mk broken: malformed conditional X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 18:11:28 -0000 On Fri, February 29, 2008 16:40, Lystopad Oleksandr wrote: > Hello, Gelsema, P (Patrick) - FreeBSD! > > On Fri, Feb 29, 2008 at 04:06:44PM +0100 > freebsd@superhero.nl wrote about "bsd.port.mk broken: malformed > conditional": >> Hi, >> >> When I run portupgrade I get errors and portupgrade crashes. >> Any ideas? > > Similar trouble. > Completly deleting /var/db/portsnap/ + /usr/ports and portsnap > again helps me. I don't use portsnap, so I just deleted /usr/ports after which I issued the portupgrade -ai command again. No avail, still same error. Someone more ideas? Error: wolverine# portupgrade -ai ---> Session started at: Sat, 01 Mar 2008 19:08:06 +0100 [Updating the pkgdb in /var/db/pkg ... - 223 packages found (-0 +1) . done] /usr/ports/INDEX-7.bz2 100% of 1161 kB 353 kBps done [Updating the portsdb in /usr/ports ... - 18151 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000. ..... done] ** Makefile possibly broken: devel/pear: "/usr/ports/Mk/bsd.php.mk", line 337: Malformed conditional (${_USE_PHP_VER${PHP_VER}:Mpcre} != "") "/usr/ports/Mk/bsd.php.mk", line 337: Malformed conditional (${_USE_PHP_VER${PHP_VER}:Mxml} != "") "/usr/ports/Mk/bsd.port.mk", line 6144: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6147: if-less endif make: fatal errors encountered -- cannot continue ---> Session ended at: Sat, 01 Mar 2008 19:08:43 +0100 (consumed 00:00:37) /usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' ... 6 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2173 > >> Running: >> FreeBSD wolverine.superhero.nl 7.0-RELEASE >> FreeBSD 7.0-RELEASE #0: Sun Feb 24 14:28:41 CET 2008 >> drmanhattan@wolverine.superhero.nl:/usr/obj/usr/src/sys/WOLVERINE i386 >> >> >> wolverine# portupgrade -ai >> ---> Session started at: Fri, 29 Feb 2008 15:59:35 +0100 >> ** Makefile possibly broken: devel/pear: >> "/usr/ports/Mk/bsd.php.mk", line 337: Malformed conditional > > -- > Oleksandr Lystopad >