Subject: Re: pkg/33036: p5-pkgsrc-Dewey-1.0 uses warn() from err.h, even if not included
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-bugs
Date: 03/12/2006 19:20:03
The following reply was made to PR pkg/33036; it has been noted by GNATS.
From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc: stuart@zeus.com
Subject: Re: pkg/33036: p5-pkgsrc-Dewey-1.0 uses warn() from err.h, even if not included
Date: Sun, 12 Mar 2006 20:15:51 +0100
--C8VkwhTltIEgspDW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Mar 09, 2006 at 10:35:00AM +0000, stuart@zeus.com wrote:
> >Number: 33036
> >Category: pkg
> >Synopsis: p5-pkgsrc-Dewey-1.0 uses warn() from err.h, even if not =
included
> >Confidential: no
> >Severity: critical
> >Priority: high
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Thu Mar 09 10:35:00 +0000 2006
> >Originator: Stuart Shelton
> >Release: =20
> >Organization:
> >Environment:
> >Description:
>=20
> p5-pkgsrc-Dewey, now a dependancy for pkg_chk, condiitonally includes err=
.h
>=20
> However, it then uses the warn() function regardless, which is not presen=
t if err.h isn't included.
>=20
> The nbcompat package supplies its own err.h, but this is not used.
>=20
> The p5-pkgsrc-Dewey source should be updated to require and use nbcompat =
for platforms without a native err.h
On what OS exactly does that issue appear?
--=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.
--C8VkwhTltIEgspDW
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBRBRzZ9goQloHrPnoAQLrUQf/fYfUTejvxGC62m4U1SYvUaWVYC4pQ/lH
jQZ62v2ULFcTF6ww0fU0Q9XD99+juL1NgubXjMYAQYu9aHSn4/XGM5uQs9MS3+cv
MyhS0lZF3TSAQHzgIzNXKVBPn2BHyoEUY8RbKkSq69iCu6OdyWXrGmbGNn4PH5Ll
NNza4m8+c1UM9lCelagBl8U5kA094tADDXhkzGQt3mnum8kYDgxk8533NBm+Q+2u
+B+ydcNLQB++15ae8xidti0MMDpC+v4JYeA9QVE7w0wNx0o0stsPbjYbA2gXe+qp
w9m0scDqi9i6Xew/6ymrWzD1nBRGvtyR6oX39eZE1BKUZI1nSsHQQg==
=k0pe
-----END PGP SIGNATURE-----
--C8VkwhTltIEgspDW--