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".
missing dependencies due to pkgconfig files:
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.
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
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
$ grep Req pygobject-2.0.pc
$ 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
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.