From owner-freebsd-toolchain@FreeBSD.ORG Wed Dec 21 14:05:41 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 683661065672; Wed, 21 Dec 2011 14:05:41 +0000 (UTC) Date: Wed, 21 Dec 2011 14:05:41 +0000 From: Alexander Best To: Dimitry Andric Message-ID: <20111221140541.GA60520@freebsd.org> References: <20111221125440.GA50740@freebsd.org> <4EF1E6D7.1080507@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EF1E6D7.1080507@FreeBSD.org> Cc: freebsd-toolchain@freebsd.org Subject: Re: buildworld broken with _WITHOUT_SRCCONF= X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 14:05:41 -0000 On Wed Dec 21 11, Dimitry Andric wrote: > On 2011-12-21 13:54, Alexander Best wrote: > >i just ran into some issues while trying to make buildworld: > > > >otaku% make buildworld > > > >-------------------------------------------------------------- > >>>>Building an up-to-date make(1) > >-------------------------------------------------------------- > >"/usr/share/mk/bsd.prog.mk", line 13: Malformed conditional > >(${MK_ASSERT_DEBUG} == "no") > >"/usr/share/mk/bsd.prog.mk", line 16: if-less endif > >"/usr/share/mk/bsd.prog.mk", line 58: Malformed conditional (${MK_CTF} != > >"no") > >"/usr/share/mk/bsd.prog.mk", line 99: Malformed conditional (${MK_MAN} != > >"no"&& !defined(MAN)&& !defined(MAN1)&& !defined(MAN2)&& > >!defined(MAN3)&& !defined(MAN4)&& !defined(MAN5)&& !defined(MAN6)&& > >!defined(MAN7)&& !defined(MAN8)&& !defined(MAN9)&& !defined(MAN1aout)) > >"/usr/share/mk/bsd.prog.mk", line 102: if-less endif > >"/usr/share/mk/bsd.prog.mk", line 103: if-less endif > >"/usr/share/mk/bsd.prog.mk", line 106: Malformed conditional (${MK_MAN} != > >"no") > >"/usr/share/mk/bsd.prog.mk", line 108: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 20: Malformed conditional > >(${MK_BIND_LIBS} != "no") > >"/usr/share/mk/bsd.libnames.mk", line 23: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 66: Malformed conditional (${MK_IPX} > >!= "no") > >"/usr/share/mk/bsd.libnames.mk", line 68: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 69: Malformed conditional > >(${MK_BIND_LIBS} != "no") > >"/usr/share/mk/bsd.libnames.mk", line 73: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 84: Malformed conditional > >(${MK_BIND} != "no") > >"/usr/share/mk/bsd.libnames.mk", line 86: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 93: Malformed conditional > >(${MK_SENDMAIL} != "no") > >"/usr/share/mk/bsd.libnames.mk", line 95: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 97: Malformed conditional (${MK_NCP} > >!= "no") > >"/usr/share/mk/bsd.libnames.mk", line 99: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 112: Malformed conditional > >(${MK_KERBEROS} != "no") > >"/usr/share/mk/bsd.libnames.mk", line 121: Malformed conditional > >(${MK_OPENSSH} != "no") > >"/usr/share/mk/bsd.libnames.mk", line 124: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 125: Malformed conditional > >(${MK_NIS} != "no") > >"/usr/share/mk/bsd.libnames.mk", line 128: if-less endif > >"/usr/share/mk/bsd.libnames.mk", line 129: if-less endif > >"/usr/share/mk/bsd.incs.mk", line 7: Malformed conditional > >(!defined(NO_INCS)&& ${MK_TOOLCHAIN} != "no") > >"/usr/share/mk/bsd.prog.mk", line 198: Malformed conditional (${MK_MAN} != > >"no") > >"/usr/share/mk/bsd.prog.mk", line 201: if-less endif > >"/usr/share/mk/bsd.prog.mk", line 203: if-less endif > >"/usr/share/mk/bsd.prog.mk", line 212: Malformed conditional (${MK_MAN} != > >"no") > >"/usr/share/mk/bsd.prog.mk", line 214: if-less endif > >"/usr/share/mk/bsd.sys.mk", line 102: Malformed conditional (${MK_SSP} != > >"no"&& ${MACHINE_CPUARCH} != "ia64"&& ${MACHINE_CPUARCH} != "arm"&& > >${MACHINE_CPUARCH} != "mips") > >"/usr/share/mk/bsd.sys.mk", line 106: if-less endif > >make: fatal errors encountered -- cannot continue > >*** Error code 1 > > > >Stop in /usr/subversion-src. > >*** Error code 1 > > > >Stop in /usr/subversion-src. > > > >... it seems _WITHOUT_SRCCONF= is causing this error. basically i thought > >defining _WITHOUT_SRCCONF was equal to setting SRCCONF=/dev/null, but that > >doesn't seem to be the case. > > Why would you want to do this? The documented way in src.conf(5), is to > set SRCCONF to /dev/null. > > It looks like _WITHOUT_SRCCONF is for ports-internal use only, see > http://svnweb.freebsd.org/base?view=revision&revision=164411 thanks for the info. i wasn't aware that _WITHOUT_SRCCONF is a ports thing. cheers. alex > > If you define _WITHOUT_SRCCONF, none of the MK_XXX variables gets > defined, causing all the errors later on. So "Don't Do That"(TM) :)