Subject: pkg/12842: sysutils/aperture doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 05/05/2001 09:27:29
>Number: 12842
>Category: pkg
>Synopsis: sysutils/aperture doesn't build
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 05 07:27:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Frederick Bruckman
>Release: 1.4.3
>Organization:
Frederick
>Environment:
System: NetBSD 1ton.villians.invalid 1.4.3 NetBSD 1.4.3 (1TON) #0:
Thu Nov 9 14:14:11 CST 2000 root@1ton.villians.invalid:
/s/src/sys/arch/i386/compile/1TON i386
Maybe relevant...
handy-> dmesg | head -4
NetBSD 1.4.3 (1TON) #0: Thu Nov 9 14:14:11 CST 2000
root@1ton.villians.invalid:/s/src/sys/arch/i386/compile/1TON
cpu0: family 4 model 8 step 0
cpu0: Intel 486DX4 (486-class)
>Description:
Here's the whole build log from the package, as it's not very big. This
might be considered an xsrc bug, too. I certainly hope it gets fixed in
both places.
=> Checksum OK for aperture-2.0nb1/apNetBSD.shar.
===> Extracting for aperture-2.0nb1
work.i386 -> /t/pkgobj/sysutils/aperture/work.i386
x - COPYRIGHT
x - Makefile
x - Makefile.inc
x - README
c - memconfig
c - module
c - xf86test
x - memconfig/Makefile
x - memconfig/memconfig.8
x - memconfig/memconfig.c
x - module/Makefile
x - module/aperture.c
x - module/i686_mem.c
x - module/k6_mem.c
x - module/memrange.h
x - module/xf86.4
x - module/xf86_mod.c
x - module/xf86_mod.h
x - module/xf86_mod_install
x - module/xf86_reg.h
x - xf86test/Makefile
x - xf86test/xf86test.c
===> Patching for aperture-2.0nb1
===> Applying NetBSD patches for aperture-2.0nb1
===> Building for aperture-2.0nb1
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
rm -f xf86.cat4
rm -f .depend /t/pkgobj/sysutils/aperture/work.i386/module/tags
cleandir ===> memconfig
rm -f a.out [Ee]rrs mklog core *.core memconfig memconfig.o memconfig.ln
rm -f memconfig.cat8
rm -f .depend /t/pkgobj/sysutils/aperture/work.i386/memconfig/tags
cleandir ===> xf86test
rm -f a.out [Ee]rrs mklog core *.core xf86test xf86test.o xf86test.ln
rm -f xf86test.cat1
rm -f .depend /t/pkgobj/sysutils/aperture/work.i386/xf86test/tags
depend ===> module
rm -f machine && ln -s /s/src/sys/arch/i386/include machine
rm -f i386 && ln -s /s/src/sys/arch/i386/include i386
mkdep -a -D_KERNEL -D_LKM -I. -I/t/pkgobj/sysutils/aperture/work.i386/module -I/s/src/sys -I/s/src/sys/arch aperture.c i686_mem.c k6_mem.c xf86_mod.c
depend ===> memconfig
mkdep -a -I/t/pkgobj/sysutils/aperture/work.i386/memconfig/../module memconfig.c
depend ===> xf86test
mkdep -a xf86test.c
all ===> module
rm -f machine && ln -s /s/src/sys/arch/i386/include machine
rm -f i386 && ln -s /s/src/sys/arch/i386/include i386
cc -O2 -D_KERNEL -D_LKM -I. -I/t/pkgobj/sysutils/aperture/work.i386/module -I/s/src/sys -I/s/src/sys/arch -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -c aperture.c
cc -O2 -D_KERNEL -D_LKM -I. -I/t/pkgobj/sysutils/aperture/work.i386/module -I/s/src/sys -I/s/src/sys/arch -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -c i686_mem.c
cc1: warnings being treated as errors
i686_mem.c: In function `i686_mrfetch':
i686_mem.c:156: warning: implicit declaration of function `rdmsr'
i686_mem.c: In function `i686_mrstoreone':
i686_mem.c:266: warning: implicit declaration of function `wbinvd'
i686_mem.c:267: warning: implicit declaration of function `wrmsr'
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
>How-To-Repeat:
Obvious.
>Fix:
Don't use the aperture driver (on 1.4.3): run the Xserver with
"options INSECURE" (the default), instead.
>Release-Note:
>Audit-Trail:
>Unformatted: