Subject: bin/16941: file/mkmagic is not build.sh compatible
To: None <gnats-bugs@gnats.netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: netbsd-bugs
Date: 05/21/2002 10:16:37
>Number:         16941
>Category:       bin
>Synopsis:       file/mkmagic is not build.sh compatible
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 21 00:17:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Antti Kantee
>Release:        NetBSD 1.5ZC
>Organization:
>Environment:
System: NetBSD blitzwing.localhost.fi 1.5ZC NetBSD 1.5ZC (BLITZWING) #142: Sat May 18 17:23:29 EEST 2002 pooka@blitzwing.localhost.fi:/srcs/src/sys/arch/i386/compile/BLITZWING i386
Architecture: i386
Machine: i386
>Description:
	
	mkmagic is build in following way from usr.bin/file/Makefile:

mkmagic: apprentice.c print.c
        ${HOST_LINK.c} -o mkmagic -DHAVE_CONFIG_H -DQUICK -DCOMPILE_ONLY \
		-I${.CURDIR} ${.CURDIR}/apprentice.c ${.CURDIR}/print.c

	This will obviously cause problems which cross-builds.

>How-To-Repeat:
	
	Try to build -current on the 1.5 -branch, which has an old time.h
>Fix:
	
	make mkmagic a standard host tool?
>Release-Note:
>Audit-Trail:
>Unformatted: