pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/46710: pkgsrc-2012Q2 xosview won't build on amd64/6.0

The following reply was made to PR pkg/46710; it has been noted by GNATS.

From: Matthew Mondor <>
Subject: Re: pkg/46710: pkgsrc-2012Q2 xosview won't build on amd64/6.0
Date: Tue, 17 Jul 2012 03:40:22 -0400

 On Mon, 16 Jul 2012 19:15:00 +0000 (UTC) wrote:
 > c++ -O2 -pipe -DUVM -I/usr/pkg/include -O2 -pipe -DUVM -I/usr/pkg/include  
 > -I/usr/pkg/include  -DXOSVIEW_VERSION=\"1.8.3\" 
 > -I/space/obj/sysutils/xosview/work/xosview-1.8.3 
 > -I/space/obj/sysutils/xosview/work/xosview-1.8.3/bsd -DPACKAGE_NAME=\"\" 
 > -DHAVE_BATTERY_METER=1 -DHAVE_USLEEP=1 -I..  -c -o btrymeter.o
 > fatal error: machine/apmvar.h: No such file or directory
 > compilation terminated.
 > *** Error code 1
 > >How-To-Repeat:
 > on 6.0/amd64, go to $PKGSRC, cvs update to -rpkgsrc-2012Q2,
 > cd sysutils/xosview && make
 Unfortunately, I'm unable to reproduce this error on netbsd-6/amd64.
 I can't find any attempt to build in the backlog either,
 however, so I assume that this only matters if a battery meter was
 found at configure time, setting -DHAVE_BATTERY_METER.  This is itself
 bogus, as one may want to select which features to support when
 building, to run the package on another system...
 Meanwhile, does gkrellm work better for you?  Ideally our native systat
 should also be more powerful, but that's another matter :)
 I'll try to look further into this when I have more time and possibly
 replace those detected options by mk options, or simply force all
 options to be enabled; then it should be easier to reproduce the build
 error and patch the package.  It also seems that neither netbsd-5 nor
 netbsd-6 have machine/apmvar.h exposed in a machine-independent way
 anymore (and we have envsys for sensors today):
 cd /usr/include/ && grep -r apmvar *
 i386/apmvar.h:/*        $NetBSD: apmvar.h,v 1.25 2008/04/28 20:23:24 martin 
Exp $       */

Home | Main Index | Thread Index | Old Index