From owner-freebsd-ports@FreeBSD.ORG Tue Sep 30 02:59:40 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C22C1065688 for ; Tue, 30 Sep 2008 02:59:40 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id EE56A8FC1C for ; Tue, 30 Sep 2008 02:59:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id LoM81a00g1GXsucA9qzftq; Tue, 30 Sep 2008 02:59:39 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA07.emeryville.ca.mail.comcast.net with comcast id Lqze1a00C4v8bD78TqzeDj; Tue, 30 Sep 2008 02:59:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=jTWcN5MmAAAA:8 a=QycZ5dHgAAAA:8 a=T0Pnfk4NfhkPkEqPjZ8A:9 a=9kts-3XvUcNo7Dqe7RwA:7 a=BdemocJ4PzWyUp--daEOzIuktSUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 70680C9432; Mon, 29 Sep 2008 19:59:38 -0700 (PDT) Date: Mon, 29 Sep 2008 19:59:38 -0700 From: Jeremy Chadwick To: Sean Bruno Message-ID: <20080930025938.GA24534@icarus.home.lan> References: <48E10860.1070200@miralink.com> <20080930024316.GA24335@icarus.home.lan> <48E19339.4090709@miralink.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E19339.4090709@miralink.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: [RELENG 6] imake-6 build failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 02:59:40 -0000 On Mon, Sep 29, 2008 at 07:47:21PM -0700, Sean Bruno wrote: > Jeremy Chadwick wrote: >> On Mon, Sep 29, 2008 at 09:54:56AM -0700, Sean Bruno wrote: >> >>> Anyone else seeing this on RELENG 6? >>> >>> >>> [sbruno@desdemona /usr/ports/devel/imake-6]$ sudo make all >>> "Makefile", line 58: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg) >>> "Makefile", line 63: if-less endif >>> make: fatal errors encountered -- cannot continue >>> >> >> Note that ports/devel/imake-6 was migrated to devel/image 16 months ago. >> >> http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/imake-6/Attic/Makefile >> >> > Ok, I'm not sure what is going on then. Help? > > [sbruno@desdemona /usr/ports]$ sudo portupgrade -aP > ** Port marked as IGNORE: devel/imake-6: > "Makefile", line 63: if-less endif > ** Proceeding anyway since NO_IGNORE is defined > /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize': : > Not in due form: '[_][,]'. (ArgumentError) > from /usr/local/sbin/portupgrade:645:in `new' > from /usr/local/sbin/portupgrade:645:in `main' > from /usr/local/sbin/portupgrade:613:in `each' > from /usr/local/sbin/portupgrade:613:in `main' > from /usr/local/sbin/portupgrade:588:in `catch' > from /usr/local/sbin/portupgrade:588:in `main' > from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' > from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' > ... 7 levels... > from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' > from /usr/local/sbin/portupgrade:229:in `new' > from /usr/local/sbin/portupgrade:229:in `main' > from /usr/local/sbin/portupgrade:2208 > I can't help with the portupgrade craziness that's going on there (I do not use portupgrade), but it's obvious it's induced by the Makefile being broken. The fact you still have ports/devel/imake-6 indicates: 1) Outdated ports tree, 2) A corrupt or incorrect /var/db/sup/ports-all tree (if you remove this directory, you will need to rm -fr /usr/ports/* as well) 3) When building the machine you chose "ports" from the list of things to install (from CD/DVD/FTP/whatever), but never "adopted" them. The "adopted" ordeal is explained in the cvsup documentation (in this case, also applies to csup): http://www.cvsup.org/faq.html#caniadopt 4) Read-only filesystem where /usr/ports resides (e.g. csup won't work), 5) Bizarre file flags on parts of the ports tree (e.g. schg set on some ports for some reason; maybe some chflags -R script went crazy), 6) Corrupt filesystem (boot into single-user and do fsck -y. And yes, the single-user part is important). Item #3 is why I advocate folks do not choose "src" and "ports" from their installation media unless absolutely forced to, and to simply do a full csup once the system is up for the first time. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |