Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2014 08:34:05 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Warner Losh <imp@FreeBSD.org>, current@freebsd.org
Subject:   Re: make in dir
Message-ID:  <87B178AD-D9F4-412A-B9B0-FADC729430C6@bsdimp.com>
In-Reply-To: <20140402121504.GO21331@kib.kiev.ua>
References:  <20140402121504.GO21331@kib.kiev.ua>

index | next in thread | previous in thread | raw e-mail


On Apr 2, 2014, at 6:15 AM, Konstantin Belousov <kostikbel@gmail.com> wrote:

> Hi,
> it seems that recent changes to share/mk broke the ability to do anything
> in subdir of the source tree.  As example, on the HEAD r264012 installed
> yesterday:
> 
> sandy% make           /usr/home/pooma/build/bsd/DEV/src/tools/regression/kqueue
> make: "/usr/share/mk/bsd.own.mk" line 436: MK_MAN can't be set by a user.

I’ve had reports of this, but couldn’t recreate it. Will try again...

> Also, on stable/9 hosting the HEAD cross-env:
> cd src && MAKEOBJDIRPREFIX=/usr/home/kostik/build/bsd/DEV/obj-amd64 DESTDIR=/usr/home/kostik/build/bsd/DEV/netboot/sandy-amd64 SYSDIR=/usr/home/kostik/build/bsd/DEV/src/sys TARGET=amd64  make  buildenv
> Entering world for amd64:amd64
> # cd share/mk
> # make install
> "bsd.own.mk", line 435: Malformed conditional (${.MAKE.LEVEL} == 0)
> "bsd.own.mk", line 436: MK_PROFILE can't be set by a user.
> # ^D

This is news to me...

> I believe I am not the first person reporting the problem.

Half true…

Warner

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87B178AD-D9F4-412A-B9B0-FADC729430C6>