Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 00:12:47 -0600
From:      Scott Bennett <bennett@sdf.org>
To:        david@catwhisker.org, dim@FreeBSD.org
Cc:        freebsd-stable@freebsd.org
Subject:   Re: why does buildworld fail on stable/11 ?
Message-ID:  <201801250612.w0P6ClAr011958@sdf.org>
In-Reply-To: <0A86F03E-DB69-4DD0-B67B-E9BFBE3DC739@FreeBSD.org>
References:  <201801240851.w0O8pnDl008705@sdf.org> <0A86F03E-DB69-4DD0-B67B-E9BFBE3DC739@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@FreeBSD.org> wrote:

> On 24 Jan 2018, at 09:51, Scott Bennett <bennett@sdf.org> wrote:
> > 
> > Subject: Re: why does buildworld fail on stable/11 ?
> > 
> >     I wrote:
> >>    On Mon, 22 Jan 2018 12:42:58 +0000 lists <tech-lists@zyxst.net> wrote:
> >>> On 22/01/2018 09:17, Scott Bennett wrote:
> >>>>    Anyway, I'm stuck.  Can someone please tell me what is going wrong and
> >>>> how to fix it?  I'd really like to be able to update my system, not only to
> >>>> keep it reasonably current, but also to be able to customize a kernel.  Thanks
> >>>> in advance for any suggestions/solutions.
> >>> 
> >     [much deleted  --SB]
> >>> then
> >>> 
> >>> [/usr/src #] make cleandir && make clean && make buildworld && make
> >>> buildkernel && make installkernel && mergemaster -p
> >> 
> >>    At this point, that looks very optimistic, to say the least. :-)  I've
> >> tried "make cleanworld" (with /etc/make.conf still in place), and it failed
> >> exactly like the buildworld example I posted before.
> > 
> >     Okay.  Here's what happened.
> > 
> > Script started on Wed Jan 24 02:17:30 2018
> > hellas#	mv /etc/make.conf{,.save}
> > hellas#	mv /etc/src.conf{,.save}
> > hellas#	cd /usr/src
> > hellas#	make cleandir
> > "/usr/src/share/mk/local.sys.mk", line 51: Malformed conditional (${.MAKE.MODE:Mmeta*} != "")
> > "/usr/src/share/mk/local.sys.mk", line 58: Malformed conditional (${.MAKE.MODE:Mnofilemon} == "")
> > "/usr/src/share/mk/local.sys.mk", line 76: if-less else
> > "/usr/src/share/mk/local.sys.mk", line 79: if-less endif
> > "/usr/src/share/mk/sys.mk", line 476: if-less endif
> > bmake: fatal errors encountered -- cannot continue
>
> Looks like your make is broken.  What is the output of "which make"?
>
hellas# echo $PATH
/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
hellas# which make
/usr/bin/make
hellas# file /usr/bin/make
/usr/bin/make: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 11.1 (1101506), FreeBSD-style, stripped
hellas# 

     Thanks, both of you, for something to try.  With enough ideas, maybe
the problem can be uncovered.


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:   bennett at sdf.org   *xor*   bennett at freeshell.org  *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************



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