From owner-freebsd-ports Mon Dec 10 20:51:32 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 049C037B41D for ; Mon, 10 Dec 2001 20:51:24 -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 fBB4ov557729; Tue, 11 Dec 2001 17:51:01 +1300 (NZDT) (envelope-from dan@langille.org) From: "Dan Langille" Organization: novice in training To: Andrew Stuart Date: Mon, 10 Dec 2001 23:50:56 -0500 MIME-Version: 1.0 Subject: Re: bsd.port.mk", line 695: Inconsistent operator for pre-everything Reply-To: dan@langille.org Cc: Dan Langille , ports@freebsd.org Message-ID: <3C154A60.23289.30CB0DF@localhost> In-reply-to: <20011210203834.A90786@freebsd.tekrealm.net> References: <20011208160108.V56385@squall.waterspout.com>; from will@csociety.org on Sat, Dec 08, 2001 at 04:01:08PM -0500 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 10 Dec 2001 at 20:38, Andrew Stuart wrote: > On Sat, 08 Dec 2001 at 16:01:08 -0500, 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 hate to join in.. but i am having the same issue on 2 box's that have > recent cvsup's (within about 2 hrs of this email). > > using a make NOCLEANDEPENDS=yes clean > > ===> Cleaning for ja-postgresql-6.5.3 > ===> japanese/postgresql7 > "/usr/ports/Mk/bsd.port.mk", line 695: Inconsistent operator for > pre-everything > make: fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /usr/ports/japanese. > *** Error code 1 > > Stop in /usr/ports. > > I will try deleting port tree on one of them, and try it from scratch, to > see if it helps.. My box uses postgresql, if that's any help. Given that I'm getting the problem on pkg_version, I suspect it's one of my installed ports causing the problem. So I tried this: [root@m20:/usr/ports/databases/postgresql7] # make clean "/usr/ports/Mk/bsd.port.mk", line 695: Inconsistent operator for pre- everything make: fatal errors encountered -- cannot continue [root@m20:/usr/ports/databases/postgresql7] # ls Makefile files pkg-descr pkg-plist pkg- plist.notk scripts Makefile.org pkg pkg-install pkg-plist.doc pkg- plist.odbc typescript distinfo pkg-comment pkg-message pkg-plist.jdbc pkg- plist.tcl typescript.1 [root@m20:/usr/ports/databases/postgresql7] # ls pkg [root@m20:/usr/ports/databases/postgresql7] # rmdir pkg [root@m20:/usr/ports/databases/postgresql7] # make clean ===> Cleaning for gettext-0.10.35 ===> Cleaning for gmake-3.79.1 ===> Cleaning for libtool-1.3.4_2 ===> Cleaning for tcl-8.3.4_3 ===> Cleaning for tk-8.3.4_1 ===> Cleaning for XFree86-3.3.6_10 ===> Cleaning for postgresql-7.1.3 [root@m20:/usr/ports/databases/postgresql7] # There's the cause. pkg. But the symptoms don't point to pkg as being the issue. How can we make it so if pkg exists, a reasonable error is produced? What's wrong with having :: all the time? Does that help anyone? -- 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