From owner-freebsd-current Sat Aug 17 16:47: 2 2002 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 D136E37B400; Sat, 17 Aug 2002 16:47:00 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D073243E75; Sat, 17 Aug 2002 16:46:51 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g7HNkZQe011230; Sat, 17 Aug 2002 17:46:36 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 17 Aug 2002 17:45:46 -0600 (MDT) Message-Id: <20020817.174546.76176639.imp@bsdimp.com> To: phk@FreeBSD.ORG Cc: current@FreeBSD.ORG Subject: Re: Kernel Makefile bogon... From: "M. Warner Losh" In-Reply-To: <37542.1029231980@critter.freebsd.dk> References: <37542.1029231980@critter.freebsd.dk> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <37542.1029231980@critter.freebsd.dk> Poul-Henning Kamp writes: : : The final make in this script fails, I don't think it should. : : #!/bin/sh : set -ex : rm -rf /usr/src/sys/i386/compile/GENERIC : cd /usr/src/sys/i386/conf : config GENERIC : cd ../compile/GENERIC : make depend > _.m.0.d 2>&1 : make > _.m.1 2>&1 : make clean > _.m.2.c 2>&1 : make : echo "SUCCESS" : : The error is included below. If I run "make depend" it works, but that : should not be needed after a "make clean". Some dependencies must : be missing somewhere. Yes. This was broken about 3 years ago, and no one had cared enough to fix this case. After a make clean, you must do a make depend. Definitely a bug. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message