Subject: Re: sysutils/gkrellm broken on NetBSD-current
To: None <tech-pkg@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: tech-pkg
Date: 04/19/2006 22:07:46
--uTRFFR9qmiCqR05s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 19, 2006 at 09:55:40PM +0200, Jukka Salmi wrote:
> Hi,
>=20
> building sysutils/gkrellm from pkgsrc HEAD on a -current NetBSD system
> currently fails with
>=20
> [...]
> cc -O2 -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/i=
nclude/freetype2   -Wall -Werror -I.. `/build/pkg/sysutils/gkrellm/work/.to=
ols/bin/pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDI=
R=3D\"/usr/pkg/share/locale\" -I/usr/pkg/include -I/usr/include -DGLX_GLXEX=
T_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 incomp=
lete 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 incomp=
lete type
> sysdeps/netbsd.c:457: error: invalid application of `sizeof' to an incomp=
lete type
> sysdeps/netbsd.c:457: warning: division by zero
> sysdeps/netbsd.c:464: error: invalid use of undefined type `struct disk_s=
ysctl'
> sysdeps/netbsd.c:464: error: dereferencing pointer to incomplete type
> sysdeps/netbsd.c:465: error: invalid use of undefined type `struct disk_s=
ysctl'
> sysdeps/netbsd.c:465: error: dereferencing pointer to incomplete type
> sysdeps/netbsd.c:471: error: invalid use of undefined type `struct disk_s=
ysctl'
> 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
> [...]
>=20
> probably due to the recent I/O stats [1]changes. Is anybody already
> working on this, or should I send a PR?

I think I've already seen a patch or PR go by.  I'll have a look as soon
as I update a machine to a newer -current.  With luck it will happen
within a week...=20

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--uTRFFR9qmiCqR05s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBREaYktgoQloHrPnoAQJwHwgAt95k+dGrldNrdB/oeAQ+oDWCUhDaym3I
16mH/LLwveQ3JDpkUt2FSX6e1FOllFIiwHyOsTM1Kl4ry7J4WNpiwRMVBEzuNlxQ
bhu+B1Eo+SB5/Ui7jPPt0hH/qpOJ4KJUd5G1GbNzqNdFwrT7GG5T4SmyJeXbpvLF
OjyPx4wJ+sTHIDnDTp4AIO2XJmPHmMaLIHg4gS8d4O1V6QBWeBCzVEUHEuXi60Bi
zvF72odI2tC+4X803qB7flg7Nt642HyRRTQUJJ7Qto9S0zxX8C9KZ506r/8Hwjd+
MNg3TpeAbQt0W4qtbJZLpDyfo5TgYsiGdw7betQPUCSLUGuj6DEjHQ==
=oifh
-----END PGP SIGNATURE-----

--uTRFFR9qmiCqR05s--