On Thu, May 1, 2008 at 5:09 PM, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > > Hi folks, > > while building yum, I again ran into trouble because one > dependency has to be rebuilt with an specific useflag first > (in this case it was libxml2 + python useflag). Actually, > there are *lots* of these cases and (AFAIK) portage has no > way for properly handling this - it's up to the individual > ebuilds to check for those situations and artifically breaking > the build. Of coure, breaking builds are ugly.
The proper solution for these cases is implementing USE dependencies, which would obsolete pkg_setup checks, and would provide portage with info about which USE flags are needed for each dependency. This feature is already implemented in other package managers (it's in Paludis, maybe in pkgcore too?) and I think we all look forward its inclusion in portage. > My suggestion: make those language bindings being separate > packages. So, other packages can depend on them directly, > instead of the current, build-breaking hack. > > I'm not advocating gentoo should do this step alone, but > instead join in the upstream and solve it there. > Yes, sometimes it makes sense for upstream to split packages, anyone is free to push them for doing so. Regards, -- Santiago M. Mola Jabber ID: [EMAIL PROTECTED] -- gentoo-dev@lists.gentoo.org mailing list