On 16:29 Fri 15 Jul , Александр Берсенев wrote: > 2011/7/15 Donnie Berkholz : > > For DEPEND rather than RDEPEND ones, we'll want to make sure they're > > definitely listed in dependencies of the ebuild being used, rather > > than any level. > > The main drawback of hooklib approach is an inability to track what > files have been loaded while exec call(runtime libraries). Most > RDEPENDS are naturally filtered here. Fusefs approach logs all file > system events. > > This is a difficult problem to distinguish RDEPENDS from DEPENDS. If I > look on files accessed I can say if the dependency is runtime, but I > haven't general strategy. I should watch more building logs of various > packages to find a way. You might be able to use src_test for this. If a package is accessed in src_test as well as src_configure/src_compile, it's RDEPEND. Clearly this won't work when src_test isn't defined, but it's a start. -- Thanks, Donnie Donnie Berkholz Admin, Summer of Code Gentoo Linux and X.Org Blog: http://dberkholz.com