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: "Martin S. Weber" <Ephaeton%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/46710: pkgsrc-2012Q2 xosview won't build on amd64/6.0
Date: Tue, 17 Jul 2012 07:22:20 -0400

 On Tue, Jul 17, 2012 at 07:45:02AM +0000, Matthew Mondor wrote:
 > The following reply was made to PR pkg/46710; it has been noted by GNATS.
 > 
 > From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > 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)
 >  Ephaeton%gmx.net@localhost 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=\"\" 
 > -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
 > -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long 
 > -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
 > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IOSTREAM=1 
 > -DHAVE_FSTREAM=1 -DHAVE_XPM=1 -DXOSVIEW_NETBSD=1 -DHAVE_SWAPCTL=1 
 > -DHAVE_BATTERY_METER=1 -DHAVE_USLEEP=1 -I..  -c btrymeter.cc -o btrymeter.o
 >  > btrymeter.cc:23:28: 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 btrymeter.cc 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...
 
 Hmm, I thought that in $WRKDIR/bsd/Makefile the btrmeter.o is always
 included. The configure script seems to check for /dev/apm existence?
 Maybe I should nuke my /dev/ and re-MAKEDEV it, as it stems from eons
 ago (/dev/apm is from Sep 14 2008) and that's the real source of the problem.
 (I recently switched i386->amd64 and didn't nuke my /dev/ then, somehow
 assuming that we only grow /dev and never remove nodes from MAKEDEV)
 
 Indeed, removing /dev/apm makes xosview build.
 
 >  Meanwhile, does gkrellm work better for you?  
 
 Ugh. It ain't so bad but I prefer my xosview for I have spent the time
 to write the proper xresource configuration for it. Besides I hate the
 fact that gkrellm doesn't have a memory graph :)
 
 I'm unsure on whether or not this can be closed, as it's only caused by
 bogus /dev/ entries. Then again, the configure script shouldn't probably
 check for nodes in /dev/, but for existing symbols in header files or
 sysctl nodes, should it?
 
 Regards,
 -Martin
 


Home | Main Index | Thread Index | Old Index