Subject: toolchain/20447: /usr/include/machine symlink
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rtr@netbsd.org>
List: netbsd-bugs
Date: 02/21/2003 13:31:53
>Number:         20447
>Category:       toolchain
>Synopsis:       /usr/include/machine symlink in base.tgz instead of comp.tgz
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 20 07:33:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     tyler
>Release:        NetBSD 1.6O
>Organization:
	none
>Environment:
System: NetBSD elysium 1.6O NetBSD 1.6O (elysium) #0: Fri Feb 21 03:51:36 EST 2003 rtr@elysium:/var/scratch/build/elysium i386
Architecture: i386
Machine: i386
>Description:
	While upgrading a 1-6 release machine to -current of 20020220 I 
	stumbled on a problem where items were not being extracted to
	/usr/include/machine/*.

	After some checking there appeared to be two problems, the first,
	was that my /usr/include/machine was a directory and not a symlink
	I can only assume this is default from the 1-6 release sets since
	I've never modified it.  The second problem was that comp.tgz was
	not creating the /usr/include/machine symlink when extracted.  
	Instead extraction of base.tgz was creating it.  This being the
	case the order of extraction became dependant on base being
	extracted first.

	I have been told that this is probably not correct and thus the
	send-pr.

>How-To-Repeat:
	Attempt to extract -current sets onto an existing 1-6 release system
	existence of directory and not symlink will cause files intended
	for /usr/include/machine/* not to be updated/appear.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: