[Xapian-devel] Test failures

Olly Betts olly at survex.com
Sun Jun 24 19:09:19 BST 2007


On Sun, Jun 24, 2007 at 12:15:40AM +0100, Olly Betts wrote:
> If you're bored, you could usefully binary chop SVN to find the change
> which caused it to start failing.  My guess would be some time in April.

I realised this is a good job for atreus, since it can compile
xapian-core from scratch in about 90 seconds.

The commit at which it stopped working is much older than I expected:

r7561 | richard | 2006-12-12 19:20:25 +0000 (Tue, 12 Dec 2006) | 9 lines

Fix detection of valgrind for newer valgrind.  My version of valgrind
(valgrind-3.2.1-Debian, from ubuntu feisty) treats the parameter supplied to
--log-file as a base path, and appends a process ID. This caused the test for
the log-file option to fail with permission denied errors due to trying to
write to files of the form '/dev/null.16098'.  Solution - test for the
--log-file-exactly option, and use that.  Also, change configure.ac to display
the result of the tests for valgrind; was displaying that it had found it, but
not mentioning that it couldn't make it work.

However, I don't believe this is actually the cause of the problem, since
this change just fixes configure to actually successfully detect modern
versions of valgrind.

Cheers,
    Olly



More information about the Xapian-devel mailing list