Subject: pkg/22420: aperture fails to build in -current with gcc 3.3.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dive@endersgame.net>
List: netbsd-bugs
Date: 08/09/2003 23:43:35
>Number:         22420
>Category:       pkg
>Synopsis:       sysutils/aperture fails to build in -current with gcc 3.3.1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 09 23:44:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     dive
>Release:        NetBSD 1.6W
>Organization:
/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!
>Environment:
System: NetBSD eros.endersgame.net 1.6W NetBSD 1.6W (EROS) #560: Mon Aug 4 02:13:04 EDT 2003 dive@eros.endersgame.net:/sys/arch/i386/compile/EROS i386
(new kernel built, just not booted yet, since I wanted to make sure aperture was
up to date, since not updating aperture has bitten me before.)
Architecture: i386
Machine: i386
>Description:
When doing 'make' in pkgsrc/sysutils/aperture:
all ===> xf86test
rm -f .gdbinit
touch .gdbinit
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized  -Werror      -c    xf86test.c
xf86test.c: In function `main':
xf86test.c:73: warning: implicit declaration of function `exit'
*** Error code 1

Stop.
make: stopped in /misc/obj/wrkobj/sysutils/aperture/work/xf86test
*** Error code 1

Stop.
make: stopped in /misc/obj/wrkobj/sysutils/aperture/work
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/aperture
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/aperture
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/aperture

>How-To-Repeat:
build -current userland with a gcc3 toolchain, install current userland, then cd
/usr/pkgsrc/sysutils/aperture && make
>Fix:
pull in the appropriate header for exit() prototype?
>Release-Note:
>Audit-Trail:
>Unformatted: