Ninja infinite loop after meson v0.37.0

479 views
Skip to first unread message

Mads Berre

unread,
Dec 20, 2016, 6:13:22 AM12/20/16
to The Meson Build System
Hi, 

I have updated from meson v0.36.0 to v0.37.0, this result in what looks like an "infinite loop" ending with: ninja: error: manifest 'build.ninja' still dirty after 100 tries
I have another project that uses another compiler that works just fine.  

the project with problems has the following properties:
gcc 4.9.2
meson 0.37.0 
ninja 1.7.1 
OS: debian jessie 
build machine: x86_64


hope that anyone can help me!

Best regards
Mads

Igor Gnatenko

unread,
Dec 20, 2016, 6:17:30 AM12/20/16
to Mads Berre, The Meson Build System
Interesting, can you share reproducer? (tarball or link to repository)

--
You received this message because you are subscribed to the Google Groups "The Meson Build System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mesonbuild+...@googlegroups.com.
To post to this group, send email to meson...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mesonbuild/5114a5a8-6e05-4834-b2f7-741ddec0ac46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

-Igor Gnatenko

Mads Berre

unread,
Dec 20, 2016, 7:04:16 AM12/20/16
to Igor Gnatenko, The Meson Build System
Hi Igor, 

Unfortunately i am not able to share anything that can reproduce the issue. 

But i have found out how to resolve it and perhaps an explanation. 

to diagnose i used the ninja -d explain option, that told me: 
ninja explain: output build.ninja older than most recent input ../src/meson.build (1482235161 vs 1482744227) 

I then figured that it must be a time stamp issue, so i touched the files that it reported and everything works. 

Strange I think!

Mads
Reply all
Reply to author
Forward
0 new messages