From nemesis!uhclem@fw.ast.com  Sun Apr  9 13:13:50 1995
Received: from relay1.UU.NET (relay1.UU.NET [192.48.96.5])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA01115
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 Apr 1995 13:13:47 -0700
Received: from ast.com by relay1.UU.NET with SMTP 
	id QQyktk25398; Sun, 9 Apr 1995 16:13:42 -0400
Received: from trsvax.fw.ast.com (fw.ast.com) by ast.com with SMTP id AA08904
  (5.67b/IDA-1.5 for uunet!freebsd.org!FreeBSD-gnats-submit); Sun, 9 Apr 1995 13:17:50 -0700
Received: by trsvax.fw.ast.com (/\=-/\ Smail3.1.18.1 #18.1)
	id <m0ry3FH-0000HQC@trsvax.fw.ast.com>; Sun, 9 Apr 95 15:06 CDT
Received: by nemesis.lonestar.org (Smail3.1.27.1 #18)
	id m0ry27t-0004upC; Sun, 9 Apr 95 13:54 CDT
Message-Id: <m0ry27t-0004upC@nemesis.lonestar.org>
Date: Sun, 9 Apr 95 13:54 CDT
From: uhclem%nemesis@fw.ast.com
Reply-To: uhclem%nemesis@fw.ast.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: uhclem@nemesis.lonestar.org
Subject: /usr/include/sys -> /usr/sys/sys -> /usr/sys/sys 	FDIV018
X-Send-Pr-Version: 3.2

>Number:         324
>Category:       bin
>Synopsis:       /usr/include/sys -> /usr/sys/sys -> /usr/sys/sys 	FDIV018
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr  9 13:20:47 1995
>Closed-Date:    Sat Jun 24 08:37:09 PDT 1995
>Last-Modified:
>Originator:     Frank Durda IV
>Release:        FreeBSD 2.0.0-SNAP950322 i386
>Organization:
>Environment:

FreeBSD 2.0.0-SNAP950322 i386

>Description:

[FDIV018]

Hopefully everybody has noticed this by now.

After install, /usr/include/sys ends up as a link to /usr/sys/sys,
which is a link to /usr/sys/sys.

The files that used to be in /usr/include/sys (or its symlink) appear
to be erased.

Make world cannot be done with the links like this.

If you correct this problem, "make world" will try to change it near the
start of the make "world process" back to the incorrect linking and wlll
change it again a second time at the end of the "make world" process.

Make sure you fix both attempts to scramble links in the "make world" process.


>How-To-Repeat:

Install complete system.
Try to do a "make world".  After twenty minutes or so it will fail and stop.
When that fails, rm /usr/include/sys and re-extract that directory manually
from the distrbution (if you kept it around).
Now make tar of /usr/include/sys and keep it safe.  You will need it.

Start "make world" again.  About fifteen minutes into the process
before it actually starts compiling anything, verify that /usr/include/sys
is still intact.  Keep checking every few minutes until /usr/include/sys
turns back into the mangled links.  Now ^Z the make.  Extract the tar you
made earlier into /usr/include/sys and let the make world resume.
"Make world" will now complete correctly with no fatal errors.

After "make world" finishes, look at /usr/include/sys and you will
find the files are gone again and the crazy links are back.  Re-extact
the tar you made of /usr/include/sys if you feel energetic.


>Fix:
	

*END*

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sat Jun 24 08:37:09 PDT 1995 
State-Changed-Why:  
old snap - long since fixed 
>Unformatted:



