buildworld broken with _WITHOUT_SRCCONF=
Alexander Best
arundel at freebsd.org
Wed Dec 21 14:05:41 UTC 2011
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) :)
More information about the freebsd-toolchain
mailing list