From owner-freebsd-toolchain@FreeBSD.ORG Wed Dec 21 12:54:40 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 403B3106566C; Wed, 21 Dec 2011 12:54:40 +0000 (UTC) Date: Wed, 21 Dec 2011 12:54:40 +0000 From: Alexander Best To: freebsd-toolchain@freebsd.org Message-ID: <20111221125440.GA50740@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: 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 12:54:40 -0000 hi there, 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. cheers. alex From owner-freebsd-toolchain@FreeBSD.ORG Wed Dec 21 14:02:02 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E55D106566B; Wed, 21 Dec 2011 14:02:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id A5A908FC12; Wed, 21 Dec 2011 14:02:01 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:d0bf:11d8:984d:b0dd] (unknown [IPv6:2001:7b8:3a7:0:d0bf:11d8:984d:b0dd]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8E7F35C37; Wed, 21 Dec 2011 15:02:00 +0100 (CET) Message-ID: <4EF1E6D7.1080507@FreeBSD.org> Date: Wed, 21 Dec 2011 15:01:59 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111214 Thunderbird/9.0 MIME-Version: 1.0 To: Alexander Best References: <20111221125440.GA50740@freebsd.org> In-Reply-To: <20111221125440.GA50740@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:02:02 -0000 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 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) :) 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) :)