From owner-freebsd-current@FreeBSD.ORG Thu Aug 4 15:26:46 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E12916A41F for ; Thu, 4 Aug 2005 15:26:46 +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 4342A43D48 for ; Thu, 4 Aug 2005 15:26:44 +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 j74FQgbS071241; Thu, 4 Aug 2005 18:26:42 +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 61470-10; Thu, 4 Aug 2005 18:26:42 +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 j74FQgxF071238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Aug 2005 18:26:42 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j74FQe5i093131; Thu, 4 Aug 2005 18:26:40 +0300 (EEST) (envelope-from ru) Date: Thu, 4 Aug 2005 18:26:35 +0300 From: Ruslan Ermilov To: Jeremie Le Hen Message-ID: <20050804152635.GA92834@ip.net.ua> References: <20050728181415.GB68965@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <20050728181415.GB68965@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-current@FreeBSD.org Subject: Re: Using "make -d l" makes buildworld to fail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 04 Aug 2005 15:26:46 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 28, 2005 at 08:14:15PM +0200, Jeremie Le Hen wrote: > Hi, >=20 > I have to run multiple buildworlds with and without debugging ("-d l") > these last days. I was nearly turning mad while I realized that > buildworld would fail in "rescue" when using "-d l" make option. >=20 > Both typescripts with and without the debugging option are available : > http://jeremie.le-hen.org/~tataz/make_-d_l_buildworld.gz (ko) > http://jeremie.le-hen.org/~tataz/make_buildworld.gz (ok) >=20 > This is not the stock source tree, but I checked on a non-modified > tree and the behaviour is the same. >=20 crunchgen(1) is broken: it generates a makefile to find a list of object files for a given program, then calls it, parses the output, and expects it to start with the line "OBJS=3D". If something is passed in the MAKEFLAGS environment variable, like -Dl, things are really screwed. Unfortunately, there's no way to remove "-d" and its following argument from .MAKEFLAGS as is done for -P (in rescue/rescue/Makefile), and setting an empty =2EMAKEFLAGS is not an option too -- we at least need to pass the -m option and its argument. :( Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC8jOrqRfpzJluFF4RAiWzAKCXYBCepmKORhcEt9I4BW8hR2sqnACgl6Tl HTRLiV793/sHSan3Aj7U5bg= =AFxh -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk--