[webkit-gtk] Hangs while "Scanning dependencies for target"
Michael Catanzaro
mcatanzaro at igalia.com
Sun Apr 12 07:58:46 PDT 2015
On Sun, 2015-04-12 at 11:35 +0200, Franz Fellner wrote:
> Michael Catanzaro wrote:
> > On Tue, 2015-04-07 at 15:45 +0200, Franz Fellner wrote:
> > > Since webkit-gtk moved to cmake I have weird hangs while cmake
> > > is scanning dependencies.
> >
> > "Scanning dependencies for target" is printed by make, no cmake,
> > so
> > you might try switching to ninja (cmake -DPORT=GTK ... -GNinja) to
> > skip that entirely. Good luck. :)
>
> Please don't just speculate, because your statement caused another
> round
> of useless efforts.
> Just to profe you are wrong:
> $ pwd
> /tmp/cmake-3.1.0
>
> $ grep -r "Scanning dependencies of target" *
> Source/cmLocalUnixMakefileGenerator3.cxx: std::string message =
> "Scanning dependencies of target ";
Yes... by the cmLocalUnixMakefileGenerator... so that's being written
to the Unix makefile that is not generated or used if you use ninja
instead of make. :) Indeed, the only real advantage to ninja is that
it doesn't take forever to compute dependencies (at the cost of having
them specified in an absurdly huge file on disk). It would probably
make sense to use ninja in the ebuild TBH, not only for WebKit but for
other CMake projects in Gentoo as well.
Anyway I'm glad you figured out the problem!
Michael
More information about the webkit-gtk
mailing list