Subject: pkg/9837: sysutils/xbatt doesn't compile (probably should say it's not supported on non-i386 instead)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mw34@cornell.edu>
List: netbsd-bugs
Date: 04/07/2000 17:30:44
>Number:         9837
>Category:       pkg
>Synopsis:       sysutils/xbatt doesn't compile (probably should say it's not supported on non-i386 instead)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 07 15:45:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        1.4.2
>Organization:
>Environment:
NetBSD fatmac 1.4.2 NetBSD 1.4.2 (FATMAC) #0: Mon Mar 20 00:36:27 EST 2000     mw@fatmac:/usr/src/sys/arch/hp300/compile/FATMAC hp300
>Description:

sysutils/xbatt (1.3pr1) from pkgsrc.tar.gz (dated Apr 1, 2000) doesn't compile properly.

===>  Building for xbatt-1.3pr1
gcc -O2     -I/usr/X11R6/include   -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO  
-DUPDATE_INTERVAL=30  -c xbatt.c
xbatt.c:83: machine/apmvar.h: No such file or directory
*** Error code 1

Stop.

>How-To-Repeat:

Get pkgsrc.tar.gz (dated Apr 1, 2000)
cd sysutils/xbatt
make
>Fix:

Should probably say it's not yet supported on non-i386 platforms, since NetBSD doesn't support apm-like functions on non-i386 hardware yet.
>Release-Note:
>Audit-Trail:
>Unformatted: