From owner-freebsd-ports Sat Dec 8 22:32:39 2001 Delivered-To: freebsd-ports@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 5F5E937B416 for ; Sat, 8 Dec 2001 22:32:35 -0800 (PST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id fB96WI531503; Sun, 9 Dec 2001 19:32:19 +1300 (NZDT) (envelope-from dan@langille.org) From: "Dan Langille" Organization: novice in training To: Will Andrews Date: Sun, 9 Dec 2001 01:32:13 -0500 MIME-Version: 1.0 Subject: Re: bsd.port.mk", line 695: Inconsistent operator for pre-everything Reply-To: dan@langille.org Cc: ports@freebsd.org Message-ID: <3C12BF1D.14896.1CC005C5@localhost> In-reply-to: <20011208160108.V56385@squall.waterspout.com> References: <3C120026.32454.19D635AD@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 8 Dec 2001 at 16:01, Will Andrews wrote: > On Sat, Dec 08, 2001 at 11:57:26AM -0500, Dan Langille wrote: > > # pkg_version -L = > > "/usr/ports/Mk/bsd.port.mk", line 695: Inconsistent operator for pre- > > everything make: fatal errors encountered -- cannot continue > > > > Seems like there's a problem here... > > Hmm, that looks interesting. The pre-everything target it's > complaining about is this: > > .if !target(pre-everything) > pre-everything: > @${DO_NADA} > .endif > > as opposed to all the others being "pre-everything::". You and I > have looked at this before. I am still uncertain how you manage > to run into these problems with FreshPorts but nobody else does. :) I am merely special. Actually, this problem *is* on the FreshPorts webserver, but it's a problem I encountered while wearing my sysadmin hat, not my FP hat. > This is around line 2162 on bsd.port.mk rev 1.394. I have that revision. > So this > problem you're seeing is extremely strange. Would it be possible > for you to do a full cvsup from scratch to make sure that the > environment is at fault? I've done two. One prior to reading your message and one just now. The problem persists. > Then if it is, I want to know how it's > triggering this, because this should never happen. > pre-everything should only have two colons if it is defined, > otherwise only one colon. For info on the difference, see > make(1) manual page. Looking at line 695, the conditions in the if above must be met before the pre-everything is invoked. It's trying to tell me that some port has an old format. I'd like to know which one.... *grin* I'm guessing it must be one of my installed ports given that the problem is being raised by pkg_version. The condition in question is: .if (!defined(PATCHDIR) && exists(${MASTERDIR}/patches)) || \ (!defined(PKGDIR) && exists(${MASTERDIR}/pkg)) || \ (!defined(MD5_FILE) && exists(${MASTERDIR}/files/md5)) Does the above provide any suggestions as to where to search next? -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message