Subject: bin/3414: file(1) Makefile & magdir/Header fixes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thieleke@ix.netcom.com>
List: netbsd-bugs
Date: 03/30/1997 14:21:21
>Number: 3414
>Category: bin
>Synopsis: file(1) Makefile & magdir/Header fixes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 30 12:35:02 1997
>Last-Modified:
>Originator: Jeff Thieleke
>Organization:
>Release: 1.2D 970330
>Environment:
All NetBSD platforms
System: NetBSD schnauzer.ix.netcom.com 1.2D NetBSD 1.2D (SCHNAUZER) #136: Thu Mar 27 21:46:05 CST 1997 thieleke@schnauzer.ix.netcom.com:/usr/src/sys/arch/i386/compile/SCHNAUZER i386
>Description:
1. src/usr.bin.file/Makefile magic target is broken:
magic: $(MAGFILES)
cat $(MAGFILES) > $(.TARGET)
% make magic
make: don't know how to make /usr/src/usr.bin/file/magdir/[a-z]*. Stop
2. src/usr.bin/file/magdir/Header is incorrect for NetBSD environment
% cat Header
#! file
# Magic data for file(1) command.
# Machine-genererated from src/cmd/file/magdir/*; edit there only!
# Format is described in magic(files), where:
# files is 4 on V7 and BSD, 4 on SV, and ?? in the SVID.
>How-To-Repeat:
>Fix:
1. src/usr.bin.file/Makefile
magic:
cat $(MAGFILES) > $(.TARGET)
% make magic
cat /usr/src/usr.bin/file/magdir/Header /usr/src/usr.bin/file/magdir/Localstuff
/usr/src/usr.bin/file/magdir/netbsd /usr/src/usr.bin/file/magdir/[a-z]* > magic
2. src/usr.bin/file/magdir/Header
#! file
# Magic data for file(1) command.
# Machine-genererated from src/usr.bin/file/magdir/*; edit there only!
# Format is described in magic(files), where:
# files is 4 on V7, 5 on BSD, 4 on SV, and ?? in the SVID.
>Audit-Trail:
>Unformatted: