Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2008 19:59:38 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Sean Bruno <sbruno@miralink.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [RELENG 6] imake-6 build failure
Message-ID:  <20080930025938.GA24534@icarus.home.lan>
In-Reply-To: <48E19339.4090709@miralink.com>
References:  <48E10860.1070200@miralink.com> <20080930024316.GA24335@icarus.home.lan> <48E19339.4090709@miralink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: '<version>[_<revision>][,<epoch>]'. (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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080930025938.GA24534>