buildworld fails immediately

Gary Palmer gpalmer at freebsd.org
Thu Sep 25 03:58:35 UTC 2008


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.

Regards,

Gary


More information about the freebsd-stable mailing list