Subject: pkg/20719: aperture fails to build on -current
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/15/2003 11:11:26
>Number:         20719
>Category:       pkg
>Synopsis:       aperture fails to build on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 15 11:12:00 PST 2003
>Originator:     Stefan Krüger
>Release:        NetBSD 1.6P
NetBSD localhost 1.6P NetBSD 1.6P (GENERIC) #0: Sat Mar 15 12:17:48 CET 2003  skrueger@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
I've just tried to compile and install sysutils/aperture, but the build process failed:

all ===> module
cc -O2 -pipe -ffreestanding  -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-uninitialized  -Werror    -nostdinc -I. -I/usr/obj/pkg/sysutils/aperture/work/module -isystem /sys -i system
/sys/arch -D_KERNEL -D_LKM  -c aperture.c
cc1: warnings being treated as errors
aperture.c: In function `xf86mmap':
aperture.c:156: warning: implicit declaration of function `i386_btop'
*** Error code 1

make: stopped in /usr/obj/pkg/sysutils/aperture/work/module
*** Error code 1

seems like i386_btop has been renamed to x86_btop on -current...
cd /usr/pkgsrc/sysutils/aperture; make