Red Hat Bugzilla – Bug 185778
pkgconfig file requires fontenc, rpm does not
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
In /usr/lib64/pkgconfig/xfont.pc, xfont requires fontenc:
"Requires.private: fontenc freetype2"
But none of libXfont-devel's dependencies pulls in libfontenc-devel which has
the required /usr/lib64/pkgconfig/fontenc.pc file.
This causes "pkg-config --list-all" to fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install libXfont-devel but not libfontenc-devel
2. pkg-config --list-all
Package fontenc was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontenc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontenc', required by 'Xfont', not found
(a list of libraries on the system with .pc files)
A tool to automate pkg-config and rpm dependency checks would be handy.
Fixed in 1.1.0-2
*** Bug 185421 has been marked as a duplicate of this bug. ***
*** Bug 196542 has been marked as a duplicate of this bug. ***