Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 14:27:55 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Rene Ladan <r.c.ladan@gmail.com>, Dirk Meyer <dinoex@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: serious error possibly related to bsd.*.mk
Message-ID:  <4761254B.9070304@icyb.net.ua>
In-Reply-To: <47611DC7.20008@icyb.net.ua>
References:  <476101F5.9040803@icyb.net.ua> <e890cae60712130228v6382c9e7vedd366ff29603cff@mail.gmail.com> <47611DC7.20008@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <avg@icyb.net.ua>:
>>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4761254B.9070304>