Subject: 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: None <stuart@zeus.com>
List: pkgsrc-bugs
Date: 03/09/2006 10:35:00
>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:        
>Organization:
>Environment:
>Description:

p5-pkgsrc-Dewey, now a dependancy for pkg_chk, condiitonally includes err.h

However, it then uses the warn() function regardless, which is not present if err.h isn't included.

The nbcompat package supplies its own err.h, but this is not used.

The p5-pkgsrc-Dewey source should be updated to require and use nbcompat for platforms without a native err.h
>How-To-Repeat:

>Fix: