Subject: bin/35943: NetBSD 4.0 BETA_2: file(1) is ... confused
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <giles.lean@pobox.com>
List: netbsd-bugs
Date: 03/07/2007 12:35:00
>Number:         35943
>Category:       bin
>Synopsis:       file(1) reports regular binaries as X11/NeWS bitmap fonts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 07 12:35:00 +0000 2007
>Originator:     Giles Lean
>Release:        NetBSD 4.0_BETA2
>Organization:
	
>Environment:
	
	
System: NetBSD amethyst.netherstone.net 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #0: Fri Mar 2 11:45:20 EST 2007 giles@citrine.netherstone.net:/Users/giles/projects/netbsd-4/tmp/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
file(1) is rather confused:

$ /usr/bin/file /usr/bin/vi
/usr/bin/vi: X11/NeWS bitmap font, for NetBSD 4.0, dynamically linked (uses shared libs), not stripped

$ /usr/bin/ldd /usr/bin/vi
/usr/bin/vi:
	-lcurses.6 => /usr/lib/libcurses.so.6
	-lc.12 => /usr/lib/libc.so.12

So ... file(1) knows that 4.0 executables are NetBSD 4.0 *something*,
but a font with shared libraries is new to me.

>How-To-Repeat:
	
See above.
>Fix:
	

>Unformatted: