Subject: toolchain/29007: tools/binstall requires utimes/futimes which isn't on Interix
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joff@embeddedARM.com>
List: netbsd-bugs
Date: 01/19/2005 03:04:00
>Number:         29007
>Category:       toolchain
>Synopsis:       tools/binstall requires utimes/futimes which isn't on Interix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 19 03:04:00 +0000 2005
>Originator:     joff@embeddedARM.com
>Release:        NetBSD 2.99.14
>Organization:
	Technologic Systems
>Environment:
System: NetBSD oz 1.6.2_STABLE NetBSD 1.6.2_STABLE (DELL400SC) #1: Wed Jul 21 21:00:42 MST 2004 joff@oz:/u/src/sys/arch/i386/compile/DELL400SC i386
Architecture: i386
Machine: i386
>Description:
	tools/binstall (usr.bin/xinstall) only works with utimes or futimes.  Interix only
	has utime().
>How-To-Repeat:
	Try a build.sh on Interix
>Fix:
	Check for utime.h and utime() function in tools/compat/configure.ac and conditionally
	emit fallback code in usr.bin/xinstall with #elif HAVE_UTIME if HAVE_FUTIMES and HAVE_UTIMES
	fails.