Subject: pkg/33444: sysutils/gkrellm fails to build after recent I/O stats changes
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2006.salmi.ch>
List: pkgsrc-bugs
Date: 05/08/2006 17:10:01
>Number: 33444
>Category: pkg
>Synopsis: sysutils/gkrellm fails to build after recent I/O stats changes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 08 17:10:00 +0000 2006
>Originator: Jukka Salmi
>Release: NetBSD 3.99.18
>Environment:
System: NetBSD moray.salmi.ch 3.99.18 NetBSD 3.99.18 (MORAY.APM) #0: Thu Apr 27 11:31:46 CEST 2006 build@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/MORAY.APM i386
Architecture: i386
Machine: i386
>Description:
On NetBSD-current sysutils/gkrellm fails to build because of the recent
I/O stats changes:
http://mail-index.netbsd.org/source-changes/2006/04/14/0012.html
>How-To-Repeat:
$ cd pkgsrc/sysutils/gkrellm && make
[...]
cc -O2 -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -Wall -Werror -I.. `/build/pkg/sysutils/gkrellm/work/.tools/bin/pkg-config --cflags gtk+-2.0 gthread-2.0` -DENABLE_NLS -DLOCALEDIR=\"/usr/pkg/share/locale\" -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -c -o sysdeps-unix.o sysdeps-unix.c
In file included from sysdeps-unix.c:51:
sysdeps/netbsd.c: In function `gkrellm_sys_disk_init':
sysdeps/netbsd.c:434: error: `HW_DISKSTATS' undeclared (first use in this function)
sysdeps/netbsd.c:434: error: (Each undeclared identifier is reported only once
sysdeps/netbsd.c:434: error: for each function it appears in.)
sysdeps/netbsd.c:434: error: invalid application of `sizeof' to an incomplete type
sysdeps/netbsd.c: In function `gkrellm_sys_disk_read_data':
sysdeps/netbsd.c:447: error: `HW_DISKSTATS' undeclared (first use in this function)
sysdeps/netbsd.c:447: error: invalid application of `sizeof' to an incomplete type
sysdeps/netbsd.c:457: error: invalid application of `sizeof' to an incomplete type
sysdeps/netbsd.c:457: warning: division by zero
sysdeps/netbsd.c:464: error: invalid use of undefined type `struct disk_sysctl'
sysdeps/netbsd.c:464: error: dereferencing pointer to incomplete type
sysdeps/netbsd.c:465: error: invalid use of undefined type `struct disk_sysctl'
sysdeps/netbsd.c:465: error: dereferencing pointer to incomplete type
sysdeps/netbsd.c:471: error: invalid use of undefined type `struct disk_sysctl'
sysdeps/netbsd.c:471: error: dereferencing pointer to incomplete type
gmake[1]: *** [sysdeps-unix.o] Error 1
gmake[1]: Leaving directory `/build/pkg/sysutils/gkrellm/work/gkrellm-2.2.9/src'
gmake: *** [build-rec] Error 1
*** Error code 2
[...]
>Fix: