From nobody@FreeBSD.org  Sun Sep 15 10:36:01 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3FE3937B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2002 10:36:01 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E16E243E42
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2002 10:36:00 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8FHa0OT000671
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2002 10:36:00 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g8FHa0Zr000670;
	Sun, 15 Sep 2002 10:36:00 -0700 (PDT)
Message-Id: <200209151736.g8FHa0Zr000670@www.freebsd.org>
Date: Sun, 15 Sep 2002 10:36:00 -0700 (PDT)
From: Doug White <dwhite@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: make installworld does not make usr/include/g++ before using it
X-Send-Pr-Version: www-1.0

>Number:         42811
>Category:       misc
>Synopsis:       make installworld does not make usr/include/g++ before using it
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 15 10:40:01 PDT 2002
>Closed-Date:    Sat Sep 21 16:46:01 PDT 2002
>Last-Modified:  Sat Sep 21 16:46:01 PDT 2002
>Originator:     Doug White
>Release:        4-STABLE
>Organization:
>Environment:
4.7-PRERELEASE as of Sep 14 2002
>Description:
"make installworld" does not create the /usr/include/g++ directory to receive g++ includes before actually trying to install files there.  What results is a file called "g++" and "make installworld" dying when install tries to put something in there.
>How-To-Repeat:
1. Create empty directory somewhere with space.
2. make DESTDIR=/empty/directory installworld


>Fix:

>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: Doug White <dwhite@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: misc/42811: make installworld does not make usr/include/g++ before using it
Date: Mon, 16 Sep 2002 11:47:45 +0300

 On Sun, Sep 15, 2002 at 10:36:00AM -0700, Doug White wrote:
 > 
 > >Number:         42811
 > >Category:       misc
 > >Synopsis:       make installworld does not make usr/include/g++ before using it
 > >Originator:     Doug White
 > >Release:        4-STABLE
 > >Organization:
 > >Environment:
 > 4.7-PRERELEASE as of Sep 14 2002
 > >Description:
 > "make installworld" does not create the /usr/include/g++ directory to
 > receive g++ includes before actually trying to install files there.
 > What results is a file called "g++" and "make installworld" dying when
 > install tries to put something in there.
 > >How-To-Repeat:
 > 1. Create empty directory somewhere with space.
 > 2. make DESTDIR=/empty/directory installworld
 
 The directory should have been created by the mtree(8) run at the very
 start of the installworld process.  Can you verify that:
 
 1. you have a src/etc/mtree/BSD.include.dist rev. 1.2 or higher;
 2. your BSD.include.dist file includes the g++ directory around line 28;
 3. you have a src/etc/Makefile rev. 1.153 or higher;
 4. the mtree(8) commands are run at the beginning of the installworld
    process.
 
 If all of those seem to be true, could you post the contents of your
 src/etc/mtree/BSD.include.dist file, and the 'Making hierarchy' section
 of your installworld output?
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 I am jealous of the first word in this sentence.
State-Changed-From-To: open->closed 
State-Changed-By: dwhite 
State-Changed-When: Sat Sep 21 16:45:31 PDT 2002 
State-Changed-Why:  
I wasn't able to reproduce this problem later ... will close until I can get 
more information. 

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