From root@arnold.neland.dk  Wed Dec 19 11:11:01 2001
Return-Path: <root@arnold.neland.dk>
Received: from arnold.neland.dk (0x3ef34d8c.albnxx2.adsl.tele.dk [62.243.77.140])
	by hub.freebsd.org (Postfix) with ESMTP id 02F0437B417
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Dec 2001 11:11:00 -0800 (PST)
Received: (from root@localhost)
	by arnold.neland.dk (8.11.6/8.11.6) id fBJJCmC94979;
	Wed, 19 Dec 2001 20:12:48 +0100 (CET)
	(envelope-from root)
Message-Id: <200112191912.fBJJCmC94979@arnold.neland.dk>
Date: Wed, 19 Dec 2001 20:12:48 +0100 (CET)
From: "leifn@neland.dk" <root@arnold.neland.dk>
Reply-To: "leifn@neland.dk" <root@arnold.neland.dk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: installkernel without buildkernel gives confusing error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33014
>Category:       kern
>Synopsis:       installkernel without buildkernel gives confusing error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 19 11:20:00 PST 2001
>Closed-Date:    Fri Aug 09 11:18:46 PDT 2002
>Last-Modified:  Fri Aug 09 11:18:46 PDT 2002
>Originator:     Leif Neland
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
organized? Me?
>Environment:
System: FreeBSD arnold.neland.dk 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Dec 17 22:42:24 CET 2001 root@arnold.neland.dk:/usr/obj/usr/src/sys/ARNOLD i386


	
>Description:
        If I make installkernel without having done a buildkernel, I get
	this error: 
install date '+%Y%m%d' > /var/db/port.mkversion 
make: don't know how to make bsd.README. 
Stop
*** Error code 2

This doesn't hint that I've forgotten to buildkernel first.

>How-To-Repeat:
>Fix:

Don't do that :-)


>Release-Note:
>Audit-Trail:

From: Sheldon Hearn <sheldonh@starjuice.net>
To: "leifn@neland.dk" <root@arnold.neland.dk>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/33014: installkernel without buildkernel gives confusing error 
Date: Sun, 30 Dec 2001 16:12:50 +0200

 On Wed, 19 Dec 2001 20:12:48 +0100, "leifn@neland.dk" wrote:
 
 > >Category:       kern
 > >Synopsis:       installkernel without buildkernel gives confusing error
 
 How do you propose that the buildkernel target verify that a full buildworld
 has completed?  Is it as simple as this?
 
 Index: Makefile.inc1
 ===================================================================
 RCS file: /home/ncvs/src/Makefile.inc1,v
 retrieving revision 1.235
 diff -u -d -r1.235 Makefile.inc1
 --- Makefile.inc1	28 Dec 2001 11:53:18 -0000	1.235
 +++ Makefile.inc1	30 Dec 2001 14:12:05 -0000
 @@ -406,7 +407,7 @@
  #
  # Builds all kernels defined by BUILDKERNELS.
  #
 -buildkernel:
 +buildkernel: buildworld
  .if empty(BUILDKERNELS)
  	@echo ">>> ERROR: Missing kernel configuration file(s) (${KERNCONF})."
  	@false
 
 Ciao,
 Sheldon.
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Fri Aug 9 11:13:10 PDT 2002 
State-Changed-Why:  
No it's not that easy. You don't need a buildworld, if you have not 
updated your src tree, but modified the KERNCONF. As the originator 
said: http://www.tuxedo.org/~esr/jargon/html/entry/Don't-do-that-then!.html 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33014 
>Unformatted:
