Package pygtk2-devel contains a pkgconfig template file, which lists other pkgconfig files as requirements. When these files are included in other RPM packages, the RPM package "Requires" must be complete. Else pkgconfig fails, prints an error message and returns an error code for standard queries like "pkg-config --exists foo-1.0", "pkg-config --cflags foo-1.0" or "pkg-config --list-all". pygtk2-devel-2.6.0-2.i386.rpm missing dependencies due to pkgconfig files: Requires: glib2-devel
Created attachment 113072 [details] patch against CVS
Thanks for the patch. It look like this has since been fixed. The latest Rawhide release lists glib2-devel as a BuildRequires. Closing this bug. pygtk2-2.10.1-4.fc6
You are mistaken. BuildRequires glib2-devel would _not_ fix this, since I do not refer to a problem at build-time, but to a problem at run-time. I even provided a *patch* in comment 1! But I've verified that pygtk2-devel-2.10.1-3.fc6 does not depend on glib2-devel anymore. Now it depends on pygobject2-devel and in turn the breakage has relocated to pygobject2-devel. $ cd /usr/lib/pkgconfig $ grep Req pygtk-2.0.pc Requires: pygobject-2.0 $ grep Req pygobject-2.0.pc Requires: gobject-2.0 $ grep Req gobject-2.0.pc grep: gobject-2.0.pc: No such file or directory ==> missing "Requires: glib2-devel" in package "pygobject2-devel"! $ rpm -qR pygobject2-devel pkgconfig pygobject2 = 2.12.1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
The only way to avoid this kind of problem reliable is to make rpm pick up dependencies from .pc files. Anything else is just bandaids.
The pygobject2-devel package in Fedora Core 6 now requires glib2-devel (band-aid though it may be), so I'm closing this bug. Please feel free to reopen it if you feel the problem has still not been addressed.