From owner-freebsd-stable@FreeBSD.ORG Mon May 23 13:29:41 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11DC316A41C for ; Mon, 23 May 2005 13:29:41 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BBC443D49 for ; Mon, 23 May 2005 13:29:37 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4NDTZY8041223; Mon, 23 May 2005 16:29:36 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 57610-16; Mon, 23 May 2005 16:29:34 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4NDTRIc041218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 May 2005 16:29:32 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j4NDTkjw058933; Mon, 23 May 2005 16:29:46 +0300 (EEST) (envelope-from ru) Date: Mon, 23 May 2005 16:29:46 +0300 From: Ruslan Ermilov To: NAKAJI Hiroyuki Message-ID: <20050523132946.GB58621@ip.net.ua> References: <867jhs11zv.fsf@ra333.heimat.gr.jp> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5/uDoXvLw7AC5HRs" Content-Disposition: inline In-Reply-To: <867jhs11zv.fsf@ra333.heimat.gr.jp> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-stable@freebsd.org Subject: Re: [RELENG_4] buildkernel failure with MAKEOBJDIRPREFIX X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 13:29:41 -0000 --5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 22, 2005 at 10:30:12AM +0900, NAKAJI Hiroyuki wrote: > Hello, >=20 > I tried to rebuild a debug kernel to analyze one of my problem(*), > and, I faced to another problem. Now this is the main problem for me. >=20 > The problem I have now is that 'make buildkernel' does not refer to > ${MAKEOBJDIRPREFIX} set in /etc/make.conf. The reason I will use > MAKEOBJDIRPREFIX is that my /usr/obj does not have enough space to > build the debug kernel with DEBUG=3D-g. >=20 > I set MAKEOBJDIRPREFIX=3D/other/big/directory in /etc/make.conf and ran > 'make buildkernel' in /usr/src. And got an error "/usr/src: file > system full". Because /usr/src is another partition and has as small > space as /usr/obj. /usr/src is 400MB and /usr/obj is 500MB which are > enouch to build normal RELENG_4 world. >=20 > I noticed that modules are built in /usr/src/sys/modules not in > ${MAKEOBJDIRPREFIX}/usr/src/sys/modules. Of cource, kernel.debug is > created in ${MAKEOBJDIRPREFIX}/usr/src/sys/CONFIG/kernel.debug. >=20 > I think this is a bug of make, *.mk or other Makefiles in /sys but I > cannot fix it. >=20 No, this is because MAKEOBJDIRPREFIX must be an environment variable and should not be set on make's command line or in /etc/make.conf. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --5/uDoXvLw7AC5HRs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCkdrKqRfpzJluFF4RAhZdAJ9kWG2e55XXK4QhGGE4vY1RSbIfJgCfb3UR 9DCEQjLi8cHA3GKo8MywShA= =KUkb -----END PGP SIGNATURE----- --5/uDoXvLw7AC5HRs--