serious error possibly related to bsd.*.mk

Andriy Gapon avg at icyb.net.ua
Thu Dec 13 03:55:54 PST 2007


on 13/12/2007 12:28 Rene Ladan said the following:
> 2007/12/13, Andriy Gapon <avg at 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


More information about the freebsd-ports mailing list