Subject: gkrellm fails to build on -current branch
To: None <pkgsrc-users@netbsd.org>
From: Ja'far Railton <ibn.richard@gmail.com>
List: pkgsrc-users
Date: 05/11/2006 22:04:40
------=_Part_20728_27528507.1147385080172
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello
Build fails even after a CVS update today. Any hints?
TIA
--=20
Ja'far ibn Richard Railton
------=_Part_20728_27528507.1147385080172
Content-Type: application/octet-stream; name=gklog
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gklog"
cc -O2 -pipe -march=pentium3 -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -Wall -Werror -I.. `/usr/pkgsrc/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 winops-x11.o winops-x11.c
cc -O2 -pipe -march=pentium3 -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -Wall -Werror -I.. `/usr/pkgsrc/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 `/usr/pkgsrc/sysutils/gkrellm/work/gkrellm-2.2.9/src'
gmake: *** [build-rec] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/sysutils/gkrellm
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/sysutils/gkrellm/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/gkrellm
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/gkrellm
------=_Part_20728_27528507.1147385080172
Content-Type: application/octet-stream; name=uname
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="uname"
NetBSD think.makhraj.net 3.99.18 NetBSD 3.99.18 (SAFAR) #0: Tue Apr 25 18:17:17 UTC 2006 jr0@think.makhraj.net:/usr/obj/sys/arch/i386/compile/SAFAR i386
------=_Part_20728_27528507.1147385080172--