Subject: pkg/34104: 2006Q2 pkgsrc/sysutils/xfce4-diskperf-plugin won't compile under 3.99.21 (gnu4)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kennethcf@earthlink.net>
List: pkgsrc-bugs
Date: 07/28/2006 18:40:00
>Number:         34104
>Category:       pkg
>Synopsis:       2006Q2 pkgsrc/sysutils/xfce4-diskperf-plugin won't compile under 3.99.21 (gnu4)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 28 18:40:00 +0000 2006
>Originator:     Kenneth Freidank
>Release:        current 3.99.21 i386
>Organization:
>Environment:
NetBSD mybsdkf.delta.rl.delta.com 3.99.21 NetBSD 3.99.21 (XSPD) #0: Wed Jul 12 18:36:12 EST 2006  solomon@mybsdkf.delta.r1.delta.com:/usr/obj/sys/arch/i386/compile/XSPD i386
>Description:
mybsdkf# make package ...
....the build proceeds until this cc line errors out....

 cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include -DGLX_GLXEXT_LEGACY -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/freetype2 -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/xfce4 -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.x11-buildlink/include -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/libxml2 -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/gtk-2.0 -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/lib/gtk-2.0/include -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/pango-1.0 -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/cairo -I/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.buildlink/include/atk-1.0 -DXFCE_PANEL_T
 HREADED=1 "-DXFCE_PANEL_LOCK()=gdk_threads_enter()" "-DXFCE_PANEL_UNLOCK()=gdk_threads_leave()" -O2 -MT libdiskperf_la-devperf.lo -MD -MP -MF .deps/libdiskperf_la-devperf.Tpo -c devperf.c  -fPIC -DPIC -o .libs/libdiskperf_la-devperf.o
devperf.c: In function 'DevGetPerfData':
devperf.c:267: error: storage size of 'drive' isn't known
devperf.c:271: error: 'HW_DISKSTATS' undeclared (first use in this function)
devperf.c:271: error: (Each undeclared identifier is reported only once
devperf.c:271: error: for each function it appears in.)
devperf.c:272: error: invalid application of 'sizeof' to incomplete type 'struct disk_sysctl' 
devperf.c:275: error: invalid application of 'sizeof' to incomplete type 'struct disk_sysctl' 
devperf.c:275: warning: division by zero
devperf.c:281: error: invalid use of undefined type 'struct disk_sysctl'
devperf.c:281: error: dereferencing pointer to incomplete type
devperf.c:282: error: invalid use of undefined type 'struct disk_sysctl'
devperf.c:282: error: dereferencing pointer to incomplete type
gmake[2]: *** [libdiskperf_la-devperf.lo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/xfce4-diskperf-plugin-1.5/panel-plugin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/xfce4-diskperf-plugin-1.5'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/sysutils/xfce4-diskperf-plugin
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/sysutils/xfce4-diskperf-plugin/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xfce4-diskperf-plugin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/meta-pkgs/xfce4-extras
mybsdkf#
>How-To-Repeat:
# cd /usr/pkgsrc/meta-pkgs/xfce4-extras
# make package
>Fix:
None.  I comment out the following Makefile line so as not to build and install the diskperf package.
.include "../../sysutils/xfce4-diskperf-plugin/buildlink3.mk"