Red Hat Bugzilla – Bug 152169
broken pkgconfig dependency chain
Last modified: 2007-11-30 17:11:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050308 Firefox/1.0.1 Fedora/1.0.1-5
Description of problem:
/usr/lib/pkgconfig/gnopernicus-1.0.pc requires "cspi-1.0", but the package which provides it (at-spi-devel) is not in gnopernicus' list of package dependencies.
This results in a broken pkgconfig dependency chain, which is not limited to querying gnopernicus-1.0.pc.
For instance, it breaks "pkg-config --list-all" as parsed by some applications and makes the query print an error message and return an error code (!), too.
$ pkg-config --exists gnopernicus-1.0 || echo "no"
$ pkg-config --cflags gnopernicus-1.0
Package cspi-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `cspi-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'cspi-1.0', required by 'gnopernicus', not found
Whenever a package contains a pkgconfig template, it ought to have a complete set of dependencies which provide every dependency listed in the pkgconfig file's "Requires:" line.
Package gnopernicus could require at-spi-devel easily if a -devel package were split off. It contains headers and build-time library softlinks, but doesn't "Provides: gnopernicus-devel = %version-%release", btw.
Version-Release number of selected component (if applicable):
Steps to Reproduce: