Subject: bin/8742: -current builds with warnings in file(1)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <scotte@warped.com>
List: netbsd-bugs
Date: 11/02/1999 17:39:55
>Number:         8742
>Category:       bin
>Synopsis:       usr.bin/fine builds with warnings
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov  2 17:39:00 1999
>Last-Modified:
>Originator:     Scott Ellis
>Organization:
None
	
>Release:        <NetBSD-current source date> Source as of Nov 2, 1999
>Environment:
	
System: NetBSD se.ipivot.com 1.4M NetBSD 1.4M (SE) #0: Tue Nov 2 12:44:53 PST 1999 scotte@se.ipivot.com:/usr/home/netbsd_src/src/sys/arch/i386/compile/SE i386


>Description:
	

When doing 'make release' with DESTDIR and RELEASEDIR set...

dependall ===> usr.bin/file
mkdep -a  -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H -I/usr/home/netbsd_src/src/usr.bin/file -DBUILTIN_ELF -DELFCORE -nostdinc -idirafter /misc/i386_destdir/usr/include file.c apprentice.c fsmagic.c softmagic.c ascmagic.c is_tar.c print.c compress.c readelf.c internat.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H -I/usr/home/netbsd_src/src/usr.bin/file -DBUILTIN_ELF -DELFCORE -nostdinc -idirafter /misc/i386_destdir/usr/include -c file.c
cc1: warnings being treated as errors
In file included from /misc/i386_destdir/usr/include/sys/param.h:89,
                 from file.c:37:
/misc/i386_destdir/usr/include/sys/inttypes.h:54: warning: empty declaration
/misc/i386_destdir/usr/include/sys/inttypes.h:55: warning: empty declaration
/misc/i386_destdir/usr/include/sys/inttypes.h:56: warning: empty declaration
/misc/i386_destdir/usr/include/sys/inttypes.h:57: warning: empty declaration
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

>How-To-Repeat:
	

'make release' with DESTDIR and RELEASEDIR set
>Fix:
	
>Audit-Trail:
>Unformatted: