Subject: toolchain/17584: "file" broken again for NetBSD-1.5.3 hosts
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-bugs
Date: 07/12/2002 11:43:54
>Number:         17584
>Category:       toolchain
>Synopsis:       current "file" won't build on NetBSD 1.5.3 host
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 12 09:44:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Frederick Bruckman
>Release:        NetBSD 1.5.3
>Organization:
>Environment:
	
	
System: NetBSD tautology.immanent.net 1.5.3 NetBSD 1.5.3 (TAUTOLOGY) #5:
  Tue Jul 9 09:39:34 CDT 2002 fredb@tautology.immanent.net:
  s/src-release/sys/arch/i386/compile/TAUTOLOGY i386
Architecture: i386
Machine: i386
>Description:
	
	Cross build of "file" from 1.5.3 host fails for lack of <stdint.h>:

	cc -O   -o mkmagic -DHAVE_CONFIG_H -DQUICK -DCOMPILE_ONLY 
		-I/s/src-current/usr.bin/file /s/src-current/usr.bin/file/apprentice.c
		/s/src-current/usr.bin/file/print.c
	In file included from /s/src-current/usr.bin/file/apprentice.c:30:
		/s/src-current/usr.bin/file/file.h:47: stdint.h: No such file or directory
	In file included from /s/src-current/usr.bin/file/print.c:30:
		/s/src-current/usr.bin/file/file.h:47: stdint.h: No such file or directory
	*** Error code 1

	Stop.
	nbmake: stopped in /s/src-current/usr.bin/file
	*** Error code 1

	Stop.
	nbmake: stopped in /s/src-current/usr.bin/file

>How-To-Repeat:
	
	Try to build a 1.6D release on a 1.5.3 host.
>Fix:
	
	Commit file's configure script, and make mkmagic a host tool?
>Release-Note:
>Audit-Trail:
>Unformatted:
 	Using sources from head as of 11-07-2002