Stanislav Brabec escribió:
Cristian Rodríguez wrote in Sun 03/01 2009 at 15:28 -0300:
Hi ;-)
11-check-pkgconfig-deps has some issues, that causes increasing package dependency bloat. let say we have packages X, Y, Z where Z is being checked by this script.
Z : Requires Y that provides Y.pc Y: Requires X that provides X.pc
when Z is checked, it complains that there is a missing Require on X which is not really correct,and will led packagers to add X as a dependency of Z and on.. and on.. and on... over the whole dependency tree..thing that will of course end in a unfixable mess as time passes, as dependencies are always added but never removed in this case,even when some intermediate package doesn't use a particular library or component anymore.
Are you sure? check-pkgconfig-deps is not recursive.
That's exactly the problem, the lack of at least some recursive checks ;) looks like I failed to express the problem in words, so let's do a practical example.. osc co GNOME:Factory vte see the -devel package requires they say: Requires: %{name} = %{version} fontconfig-devel glib2-devel gtk2-devel ncurses-devel pango-devel xorg-x11-devel They should say Requires: %{name} = %{version} gtk2-devel now it you rebuild the package you will see: .. testing devel dependencies required by pkgconfig .pc files Error: Missing "Requires: glib2-devel" in vte-devel (/usr/lib64/pkgconfig/vte.pc requires glib-2.0.pc). Error: Missing "Requires: glib2-devel" in vte-devel (/usr/lib64/pkgconfig/vte.pc requires gobject-2.0.pc). Error: Missing "Requires: pango-devel" in vte-devel (/usr/lib64/pkgconfig/vte.pc requires pango.pc). headers installed by vte-devel only require gtk2-devel (and the dependencies of it , in this particular case pango-devel that will pull glib2-devel into the system) all the other Requires will be either pulled by other -devel packages or are simple not needed (like ncurses-devel) Is it now more clear ? -- "If this is the best God can do, I am not impressed" -George Carlin (1937-2008) Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/