[webkit-gtk] Hangs while "Scanning dependencies for target"

Franz Fellner alpine.art.de at gmail.com
Sun Apr 12 14:27:04 PDT 2015


Michael Catanzaro wrote:
> 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. :)
No, it doesn't get written to the Makefile. This really is a call to stdout.
No WriteLocalMakefile or or similar involved.
But at least this opened my eyes :)
I simply grepped for it in the cmake-sources after a grep on the builddir
did not result in any output - but did not look at the filename. But I got
that "Scanning ..." message when I (tried to) build with ninja :oops:
Really can't tell you what I actually did - was in a hurry...
But now everything goes fine! Changing the Generator in the ebuild was easier
than I guessed - just set a variable. Build time dopped by 30 minutes!!
Great!
And thx alot for your help.


More information about the webkit-gtk mailing list