[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#815231: cmake: FTBFS on kfreebsd, hurd: 2 tests fail: BuildDepends, RunCMake.Configure



Hi,

> Steven Chamberlain <steven@pyro.eu.org> writes:
> > Could someone with access to the hurd-i386 or kfreebsd porter boxes
> > try the attached patch please?

Christoph Egger wrote:
>         Start 284: RunCMake.Configure
> 284/371 Test #284: RunCMake.Configure ...............................***Failed    3.19 sec

I have a wild idea what might be happening here.  Please could you try
the attached instead?  You don't need to recompile the whole thing but
only run the single test again with this change, if you still have the
build tree around.

The test was designed to detect cases of CMake running 'again'
unexpectedly, after the explicit run_cmake(RerunCMake).

After writing a new value "2" to CustomCMakeInput.txt, which is not a
declared dependency, it is expected that CMake will not run again and
copy it to the output file (CustomCMakeStamp.txt).

My guess is... if the declared dependency (CustomCMakeDepend.txt) and
output (CustomCMakeOutput.txt) have exactly the same timestamp, it
doesn't know for sure that the output is up-to-date, so it errs on the
side of running again, triggering the bug.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: Digital signature


Reply to: