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. Note that another tool - check-libtool-deps enters into a recursion for required packages that don't specify their .la requirements. It has a historic background - in the time the check was written, only about a half of .la files was packaged in -devel package.
The second issue, is that this script does not account Requires.private that should be taken in consideration _only_ when the package contains static libraries,
I guess that it should not be complicated to implement it.
the really bad news is that pkgconfig is utterly broken handling Requires.private and doesnt really do the right thing either :-(
http://bugs.freedesktop.org/show_bug.cgi?id=9917
Fixing this issues will make this check a bit more useful, but will still let a lot of stuff to be fixed, including most pkgconfig scripts that are frequently broken as well :-|
In case of enforcing of strict devel file split policy, we may simply backport find_requires/provides from rpm 4.6 and do all these things automatically, and no check will be needed any more. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org