Date: Mon, 10 Dec 2001 23:50:56 -0500 From: "Dan Langille" <dan@langille.org> To: Andrew Stuart <elitetek@tekrealm.net> Cc: Dan Langille <dan@langille.org>, ports@freebsd.org Subject: Re: bsd.port.mk", line 695: Inconsistent operator for pre-everything 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
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C154A60.23289.30CB0DF>