Subject: pkg/32696: x11/kdelibs3 needs an EXPLICIT dependency on devel/pkg-config
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <nbgnats@anastigmatix.net>
List: pkgsrc-bugs
Date: 02/02/2006 08:30:00
>Number:         32696
>Category:       pkg
>Synopsis:       x11/kdelibs3 needs an EXPLICIT dependency on devel/pkg-config
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 02 08:30:00 +0000 2006
>Originator:     Chapman Flack
>Release:        2.0
>Organization:
>Environment:
NetBSD lundestad.anastigmatix.net 2.0 NetBSD 2.0 (lundestad) #118: Sat Jan 28 19:46:11 EST 2006  xxx@xxx:/usr/src/sys/arch/i386/compile/lundestad i386

>Description:
The configure script for kdelibs3 relies on another package, devel/pkg-config, to detect the presence of graphics/openexr.
If pkg-config is not installed, the result is a warning early
in the build process, but no failure until installation/package
time, after a few nice hours of building.

The generated html page for kdelibs3 /shows/ a dependency on
pkg-config, but that apparently came from transitive closure
through some other dependency. That is not sufficient, as the
dependency could have been bin-installed without pulling in
pkg-config.  Since kdelibs3 itself relies on pkg-config,
kdelibs3 itself must declare the dependency.
>How-To-Repeat:
make bin-install in x11/kdelibs3 when all of its dependencies are
either already installed or available as binary packages but
kdelibs3 isn't, and pkg-config is not installed. Do not do this
unless you enjoy wasting time.
>Fix: