From owner-freebsd-bugs Sun Apr 9 13:20:52 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA01439 for bugs-outgoing; Sun, 9 Apr 1995 13:20:52 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA01429 ; Sun, 9 Apr 1995 13:20:49 -0700 Date: Sun, 9 Apr 1995 13:20:49 -0700 Message-Id: <199504092020.NAA01429@freefall.cdrom.com> From: uhclem%nemesis@fw.ast.com Reply-To: uhclem%nemesis@fw.ast.com To: freebsd-bugs Subject: bin/324: /usr/include/sys -> /usr/sys/sys -> /usr/sys/sys FDIV018 In-Reply-To: Your message of Sun, 9 Apr 95 13:54 CDT Sender: bugs-owner@FreeBSD.org Precedence: bulk >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: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 9 13:20:47 1995 >Originator: Frank Durda IV >Organization: >Release: FreeBSD 2.0.0-SNAP950322 i386 >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* >Audit-Trail: >Unformatted: