=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [bsd.prefs.mk] The package aperture-2.0nb7 is missing DESTDIR support.
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for aperture-2.0nb7
--- clean ---
--- cleandir-module ---
--- clean ---
rm -f apNetBSD.shar
--- cleandir-module ---
cleandir ===> module
--- cleandir-memconfig ---
cleandir ===> memconfig
--- cleanobjs-memconfig ---
--- cleandir-module ---
--- cleankmod ---
--- cleandir-memconfig ---
rm -f memconfig.o  memconfig.ln
--- cleandir-module ---
rm -f a.out [Ee]rrs mklog core *.core  xf86.o aperture.o i686_mem.o k6_mem.o xf86_mod.o  machine i386 x86   tmp.o
--- cleandir-memconfig ---
--- cleanprog-memconfig ---
--- cleandir-module ---
--- cleanman ---
--- cleandir-memconfig ---
rm -f memconfig 
--- cleandir-module ---
rm -f xf86.cat4
rm -f xf86.html4
--- cleandir-memconfig ---
--- cleanman ---
rm -f memconfig.cat8
--- cleandir-module ---
--- cleandepend ---
--- cleandir-memconfig ---
rm -f memconfig.html8
--- cleandir-module ---
rm -f .depend aperture.d i686_mem.d k6_mem.d xf86_mod.d /scratch/sysutils/aperture/work/module/tags 
--- cleandir ---
rm -f machine i386 x86   tmp.o
--- cleandir-memconfig ---
--- cleandepend ---
rm -f .depend memconfig.d /scratch/sysutils/aperture/work/memconfig/tags 
--- cleandir-xf86test ---
--- cleandir-memconfig ---
--- cleanprog ---
rm -f a.out [Ee]rrs mklog core *.core .gdbinit
--- cleandir-xf86test ---
cleandir ===> xf86test
--- cleanobjs-xf86test ---
rm -f xf86test.o  xf86test.ln
--- depend-module ---
--- cleandir-xf86test ---
--- cleanprog-xf86test ---
rm -f xf86test 
--- depend-module ---
depend ===> module
--- cleandir-xf86test ---
--- cleandepend ---
rm -f .depend xf86test.d /scratch/sysutils/aperture/work/xf86test/tags 
--- cleanprog ---
rm -f a.out [Ee]rrs mklog core *.core .gdbinit
--- depend-memconfig ---
depend ===> memconfig
--- depend-module ---
--- aperture.d ---
#    create  module/aperture.d
mkdep -f aperture.d --       -nostdinc -I. -I/scratch/sysutils/aperture/work/module -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM   aperture.c
--- depend-memconfig ---
--- memconfig.d ---
#    create  memconfig/memconfig.d
mkdep -f memconfig.d --      -I/scratch/sysutils/aperture/work/memconfig/../module     memconfig.c
--- .depend ---
#    create  memconfig/.depend
rm -f .depend
mkdep -d -f .depend -s .o\ .ln memconfig.d
--- depend-module ---
--- i686_mem.d ---
#    create  module/i686_mem.d
mkdep -f i686_mem.d --       -nostdinc -I. -I/scratch/sysutils/aperture/work/module -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM   i686_mem.c
--- depend-xf86test ---
depend ===> xf86test
--- xf86test.d ---
#    create  xf86test/xf86test.d
mkdep -f xf86test.d --          xf86test.c
--- depend-module ---
--- k6_mem.d ---
#    create  module/k6_mem.d
mkdep -f k6_mem.d --       -nostdinc -I. -I/scratch/sysutils/aperture/work/module -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM   k6_mem.c
--- depend-xf86test ---
--- .depend ---
#    create  xf86test/.depend
rm -f .depend
mkdep -d -f .depend -s .o\ .ln xf86test.d
--- depend-module ---
--- xf86_mod.d ---
#    create  module/xf86_mod.d
mkdep -f xf86_mod.d --       -nostdinc -I. -I/scratch/sysutils/aperture/work/module -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM   xf86_mod.c
--- all-module ---
all ===> module
--- depend-module ---
--- .depend ---
#    create  module/.depend
--- all-module ---
--- aperture.o ---
--- depend-module ---
rm -f .depend
--- all-module ---
#   compile  module/aperture.o
cc -O2 -ffreestanding  -fno-strict-aliasing -Wno-pointer-sign -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings  -Werror    -nostdinc -I. -I/scratch/sysutils/aperture/work/module -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM  -c    aperture.c
--- depend-module ---
mkdep -d -f .depend -s .o aperture.d i686_mem.d k6_mem.d xf86_mod.d
--- all-module ---
--- i686_mem.o ---
#   compile  module/i686_mem.o
cc -O2 -ffreestanding  -fno-strict-aliasing -Wno-pointer-sign -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings  -Werror    -nostdinc -I. -I/scratch/sysutils/aperture/work/module -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM  -c    i686_mem.c
--- aperture.o ---
aperture.c:183: error: expected declaration specifiers or '...' before 'caddr_t'
aperture.c:190: error: conflicting types for 'xf86ioctl'
xf86_mod.h:15: error: previous declaration of 'xf86ioctl' was here
aperture.c: In function 'xf86ioctl':
aperture.c:192: error: 'data' undeclared (first use in this function)
aperture.c:192: error: (Each undeclared identifier is reported only once
aperture.c:192: error: for each function it appears in.)
*** [aperture.o] Error code 1
--- i686_mem.o ---
cc1: warnings being treated as errors
i686_mem.c: In function 'i686_mrstore':
i686_mem.c:240: warning: implicit declaration of function 'disable_intr'
i686_mem.c:242: warning: implicit declaration of function 'enable_intr'
*** [i686_mem.o] Error code 1
2 errors

make: stopped in /scratch/sysutils/aperture/work/module
*** [all-module] Error code 2
1 error

make: stopped in /scratch/sysutils/aperture/work
*** Error code 2

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

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