Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2014 12:24:57 -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:  <8010CB28-7BB1-4D6E-A4E0-975A6DB5A8D2@bsdimp.com>
In-Reply-To: <20140402181544.GS21331@kib.kiev.ua>
References:  <20140402121504.GO21331@kib.kiev.ua> <9A4DFA66-A2A3-45DB-9D18-422F9AE7095A@bsdimp.com> <20140402181544.GS21331@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 2, 2014, at 12:15 PM, Konstantin Belousov <kostikbel@gmail.com> =
wrote:

> On Wed, Apr 02, 2014 at 09:46:34AM -0600, Warner Losh wrote:
>>=20
>> On Apr 2, 2014, at 6:15 AM, Konstantin Belousov <kostikbel@gmail.com> =
wrote:
>>=20
>>> 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:
>>>=20
>>> 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.
>>=20
>> I was able to recreate this with ?make -m /blah-blah-blah -C =
tools/regression/kqueue clean?
>> The important bit being -m. I have a fix that I?ll commit shortly.
>>=20
>>> Also, on stable/9 hosting the HEAD cross-env:
>>> cd src && MAKEOBJDIRPREFIX=3D/usr/home/kostik/build/bsd/DEV/obj-amd64 =
DESTDIR=3D/usr/home/kostik/build/bsd/DEV/netboot/sandy-amd64 =
SYSDIR=3D/usr/home/kostik/build/bsd/DEV/src/sys TARGET=3Damd64  make  =
buildenv
>>> Entering world for amd64:amd64
>>> # cd share/mk
>>> # make install
>>> "bsd.own.mk", line 435: Malformed conditional (${.MAKE.LEVEL} =3D=3D =
0)
>>> "bsd.own.mk", line 436: MK_PROFILE can't be set by a user.
>>=20
>> This will happen with fmake. I?ve put some safety belts in place in =
another fix
>> to keep this from tripping people up (and plan on using a similar =
technique
>> to keep people from hitting the aicasm bug on such systems).
> I noted that this is from stable/9-hosted buildenv.  Shouldn't =
buildenv
> mangle the path to select and possibly build bmake if needed ?

Yea, I would have thought so...

> Anyway,  your recent commits seems to fix my problems, thank you.

You are welcome. Don=92t hesitate to give a yell if you discover other
problems=85

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8010CB28-7BB1-4D6E-A4E0-975A6DB5A8D2>