Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2008 22:21:57 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Gary Palmer <gpalmer@freebsd.org>
Cc:        "Jason C. Wells" <jcw@highperformance.net>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: buildworld fails immediately
Message-ID:  <20080925052157.GA4866@icarus.home.lan>
In-Reply-To: <20080925035834.GD60230@in-addr.com>
References:  <48DAF163.8060502@highperformance.net> <20080925034320.GA2985@icarus.home.lan> <20080925035834.GD60230@in-addr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 24, 2008 at 11:58:34PM -0400, Gary Palmer wrote:
> On Wed, Sep 24, 2008 at 08:43:20PM -0700, Jeremy Chadwick wrote:
> > On Wed, Sep 24, 2008 at 07:03:15PM -0700, Jason C. Wells wrote:
> > > I am trying to build RELENG_6.  I receive the following errors.
> > >
> > > [root@s4cr /usr/src]# make buildworld
> > > "/dev/null", line 4: Need an operator
> > > "/dev/null", line 6: Need an operator
> > > "/dev/null", line 8: Need an operator
> > > "/dev/null", line 9: Need an operator
> > > "/dev/null", line 11: Need an operator
> > > "/dev/null", line 12: Need an operator
> > > "/dev/null", line 13: Need an operator
> > > "/dev/null", line 15: Need an operator
> > > "/dev/null", line 16: Need an operator
> > > "/dev/null", line 18: Need an operator
> > >
> > >
> > > I figured I got a partial update or something.  Re-supping didn't help.   
> > > I am building on 6.2-RELEASE inside a jail.  Jails are new for me so  
> > > maybe I missed something there.
> > 
> > Your previous mail (Subject: CPUTYPE Now Required?) answers what's
> > happening quite clearly.  Look closely at the -f argument being
> > passed to make.
> > 
> > I cannot help you with jails, as I know nothing about them.  But it
> > appears to me you have a very broken make.conf or build environment.
> 
> Actually, this is in Makefile.inc1
> 
> _CPUTYPE!=      MAKEFLAGS= CPUTYPE=${_TARGET_CPUTYPE} ${MAKE} \
>                 -f /dev/null -m ${.CURDIR}/share/mk -V CPUTYPE
> 
> (line 141 in my 6.3 era source tree)
> 
> Which I think you'll find ends up with the make command the user
> posted in the other e-mail.

Consider me educated.  I'm sure one can understand why at first glance,
seeing make -f /dev/null will make one's eyeballs grow.

Sorry for the noise.  The CPUTYPE problem still stands however, not sure
where/how it's getting "pentium".  Could be some horrible fall-out as a
result of what Ruslan pointed out.

-- 
| 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?20080925052157.GA4866>