Re: [Doxygen-develop] Build failure because src/Makefile is not properly parsed (some of the time)
Brought to you by:
dimitri
From: Hanspeter N. <fi...@sn...> - 2013-05-03 10:14:14
|
On 5/2/2013 6:17 PM, Erik Zeek wrote: > On Thu, May 2, 2013 at 4:02 PM, Hanspeter Niederstrasser < > fi...@sn...> wrote: > >> After trying to understand the doxygen build system, I can say this: >> >> 1) the bad compiler commands come from src/Makefile.libdoxycfg. In the >> failed builds, src/Makefile.libdoxycfg is not regenerated by tmake and >> therefore uses the file that came with the tarball >> >> 2) src/Makefile.libdoxycfg is not regenerated because the >> "Makefile.libdoxycfg" target in src/Makefile is skipped >> >> For reasons that we have not been able to figure out, this target is not >> run about 50% of the time. This is the log output from a successful run: >> > > What's the difference in the modification times between libdoxycfg.pro and > Makefile.libdoxycfg and what is the timing resolution of the file system? > Could make think that the Makefiles are newer than the pro files? Thank you, that was most likely it. We had to patch out "-Wno-invalid-source-encoding" because some older compilers don't like it, and doing so moved the Makefile.libdoxycfg timestamp ahead of libdoxycfg.pro file. I've removed the patch for Makefile.libdoxycfg and that seems to make Makefile.libdoxycfg regenerate 100% of the time (tested 10 times). Thanks! Hanspeter |