From owner-freebsd-ports@FreeBSD.ORG Thu Dec 13 12:27:58 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F2B316A419; Thu, 13 Dec 2007 12:27:58 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 890B113C461; Thu, 13 Dec 2007 12:27:57 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id A9DA274401C; Thu, 13 Dec 2007 14:27:56 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rI61e0UCarXo; Thu, 13 Dec 2007 14:27:56 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 2BCEC744003; Thu, 13 Dec 2007 14:27:56 +0200 (EET) Message-ID: <4761254B.9070304@icyb.net.ua> Date: Thu, 13 Dec 2007 14:27:55 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Rene Ladan , Dirk Meyer References: <476101F5.9040803@icyb.net.ua> <47611DC7.20008@icyb.net.ua> In-Reply-To: <47611DC7.20008@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: serious error possibly related to bsd.*.mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 12:27:58 -0000 Sorry for top-posting. Just discovered that if I remove saved options file then things seems to be better. Here's what I had in the file: _OPTIONS_READ=graphviz-2.12_2 WITH_TK=true WITH_XPM=true WITH_ICONV=true WITH_NLS=true WITH_PANGOCAIRO=true WITH_PERL=true WITHOUT_PHP=true WITH_PYTHON=true WITH_RUBY=true WITH_LUA=true WITH_TCL=true WITH_GUILE=true Not sure what exactly and why confused the port. I wasn't even able to run make config. Here's diff between old and new options just in case: --- /tmp/options Mon May 21 11:12:22 2007 +++ /var/db/ports/graphviz/options Thu Dec 13 14:27:03 2007 @@ -1,12 +1,18 @@ # This file is auto-generated by 'make config'. # No user-servicable parts inside! -# Options for graphviz-2.12_2 -_OPTIONS_READ=graphviz-2.12_2 +# Options for graphviz-2.16 +_OPTIONS_READ=graphviz-2.16 WITH_TK=true WITH_XPM=true WITH_ICONV=true WITH_NLS=true WITH_PANGOCAIRO=true +WITH_GTK=true +WITHOUT_GDK_PIXBUF=true +WITH_GNOMEUI=true +WITHOUT_DIGCOLA=true +WITHOUT_IPSEPCOLA=true +WITHOUT_MING=true WITH_PERL=true WITHOUT_PHP=true WITH_PYTHON=true on 13/12/2007 13:55 Andriy Gapon said the following: > on 13/12/2007 12:28 Rene Ladan said the following: >> 2007/12/13, Andriy Gapon : >>> Anybody else seeing this ? Seems to be pretty serious if it's not my >>> local issue. >>> >>> >>> $ portupgrade graphviz >>> "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional >>> (${_USE_GNOME_ALL:Mpango}=="") >>> "/usr/ports/Mk/bsd.port.mk", line 6147: if-less endif >>> make: fatal errors encountered -- cannot continue >>> >>> This is after portsnap five minutes before this writing. >>> >> Yes, it's been there since the ports thaw. It seems to be related to >> graphics/graphviz/Makefile, the bsd.*.mk files haven't been altered >> since >> 2007-12-04 (bsd.ruby.mk) so they should be ok. >> >> Rene > > Hmm, portlint also produces quite a bag of messages in that port: > $ portlint -A > "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional > (${_USE_GNOME_ALL:Mpango}=="") > "/usr/ports/Mk/bsd.port.mk", line 6147: if-less endif > make: fatal errors encountered -- cannot continue > WARN: Makefile: [316]: use ${VARIABLE}, instead of $(VARIABLE). > FATAL: Makefile: [264]: USE_RUBY is set after including bsd.port.pre.mk. > WARN: Makefile: [188]: is USE_XORG a user-settable option? Consider > using WITH_XORG instead. > WARN: Makefile: possible use of absolute pathname "/nonexistent". > WARN: Makefile: for new port, make $FreeBSD$ tag in comment section > empty, to make CVS happy. > FATAL: Makefile: CATEGORIES left blank. set it to "misc" if nothing > seems apropriate. > FATAL: Makefile: either PORTVERSION or DISTVERSION must be specified > Syntax error: Unterminated quoted string > WARN: Makefile: COMMENT should begin with a capital, and end without a > period > FATAL: breaks INDEX ("/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed > conditional (${_USE_GNOME_ALL:Mpango}=="") "/usr/ports/Mk/bsd.port.mk", > line 6147: if-less endif make: fatal errors encountered -- cannot continue). > 4 fatal errors and 5 warnings found. > > Not sure which of them are relevant and which are just consequences. > > This is from make -dA: > . if ${_USE_GNOME_ALL:Mpango}=="" > IGNORE= cannot install: Unknown component pango > . endif > _USE_GNOME+= ${pango_USE_GNOME_IMPL} pango > > ---- at line 634 > Global:delete component > Applying :M to "" > Result is "" > "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional > (${_USE_GNOME_ALL:Mpango}=="") > -- Andriy Gapon