From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 15:46:44 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6BA0723 for ; Wed, 2 Apr 2014 15:46:44 +0000 (UTC) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AAE016A for ; Wed, 2 Apr 2014 15:46:44 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id jt11so371464pbb.28 for ; Wed, 02 Apr 2014 08:46:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=eNpz4KiGa+mKakOipOS9U3gJxwSgQxWINEQI+yfrk1o=; b=YQXbqqAjLz+Rm1bN74aod3Ood7QWLA6PymcDPSXUaHNmJ09QmRcjRfcJJ3l/KWPisq DN4i1TsUXZNW8kPx9Qkb2c3bO/ZB+G6ftKaoLLLfq7CvNXIkgwJHt+LsljM7lqsl8G74 /xqwxujsi6r9/1QkPhnS/MJHUHekisqSp22NmHPU3P0a2YtJk88kuUFiqjRd/nVZc8Kn 5KSNPbdHw2V2rQNfWgnrgE4fj/hlg61pvR6vCp0bH3RaLJu5Udzhjhgaw4B0dQpdiCnd pK4e6cWrPlCnq0ycS5UOZWJNVOhXqxCHECbx66SNjNbYrtsPn9HhxCXH2lgzl4cMdWMC qG7g== X-Gm-Message-State: ALoCoQnhLWLtaLGkdEbBZnDShjaqdgpDL1KUJwhZRpyYHIdh3s1tFowWizESAYQmX943d9d03ux1 X-Received: by 10.68.99.194 with SMTP id es2mr962896pbb.100.1396453597626; Wed, 02 Apr 2014 08:46:37 -0700 (PDT) Received: from [10.64.24.154] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id au16sm11503769pac.27.2014.04.02.08.46.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Apr 2014 08:46:36 -0700 (PDT) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: make in dir From: Warner Losh In-Reply-To: <20140402121504.GO21331@kib.kiev.ua> Date: Wed, 2 Apr 2014 09:46:34 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <9A4DFA66-A2A3-45DB-9D18-422F9AE7095A@bsdimp.com> References: <20140402121504.GO21331@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1874) Cc: Warner Losh , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 15:46:44 -0000 On Apr 2, 2014, at 6:15 AM, Konstantin Belousov = 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: >=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. I was able to recreate this with =91make -m /blah-blah-blah -C = tools/regression/kqueue clean=92 The important bit being -m. I have a fix that I=92ll commit shortly. > 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. This will happen with fmake. I=92ve 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). Warner