buildworld fails immediately

Jeremy Chadwick koitsu at FreeBSD.org
Thu Sep 25 05:21:58 UTC 2008


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 at 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 |



More information about the freebsd-stable mailing list