[Xapian-discuss] xapian 1.0.x compiled on Interix / Eric Lindblad

Eric Lindblad geirfuglaps at yahoo.com
Fri Sep 11 11:12:40 BST 2015


Report by Eric Lindblad 11-09-2015
http://www.ericlindblad.blogspot.com

I compiled xapian-core-1.0.23 today on Interix.

'gmake check' summary

PASS: btreetest, quartztest, stemtest, termgentest
FAIL: apitest, internaltest, queryparsertest

MS XP SP3 HOME

modified SFU Interix 3.5 w/ getopt.h, inttypes.h, & stdint.h copied
over from SUA Interix for Vista (and newer) into C:\SFU\usr\include
- SFU Interix 3.5 sys/types.h and SUA for Vista (& newer) sys/types.h
are not identical files - make-3.81 as --prefix=/usr --program-prefix=g,
m4-1.4.9 as --prefix=/usr --program-prefix=g, libuuid-1.0.0 (patched),*
and zlib-1.2.8 --static were added, no other modifications were made.

* libuuid <version> not required for xapian 1.0.x series.

#!/bin/ksh
CC=/opt/gcc.3.3/bin/gcc
CXX=/opt/gcc.3.3/bin/g++
PKGNAM=xapian-core
VERSION=${VERSION:-1.0.23}
cd tmp/xapian-core-1.0.23/BUILD
env CFLAGS="-D_ALL_SOURCE -D_REENTRANT" \
CXXFLAGS="-D_ALL_SOURCE -D_REENTRANT" \
../configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--disable-static \
--enable-backend-remote=no

$ gmake check

PASS: btreetest
PASS: quartztest
Running test: weight1... FAILED
./apitest backend none: 36 tests passed, 1 failed.
Running test: scaleweight1... FAILED
query1: Xapian::Query(pad:(pos=1))

Running test: collapsekey2... SKIPPED
Running test: metadata5... SKIPPED
Running test: adddoc5... SKIPPED
Running test: adddoc6... SKIPPED
Running test: crashrecovery1... SKIPPED
Running test: nomoredocids1... SKIPPED
Running test: synonymitor1... SKIPPED
Running test: termtoolong1... SKIPPED
./apitest backend inmemory: 168 tests passed, 1 failed, 8 skipped.
Running test: scaleweight1... FAILED
query1: Xapian::Query(pad:(pos=1))

Running test: collapsekey2... SKIPPED
Running test: stubdb1... DatabaseOpeningError: Bad line 1 in stub database file
`stubdb1'
./apitest backend flint: 208 tests passed, 2 failed, 1 skipped.
Running test: eliteset1... SKIPPED
Running test: eliteset2... SKIPPED
Running test: eliteset4... SKIPPED
Running test: eliteset5... SKIPPED
Running test: scaleweight1... FAILED
query1: Xapian::Query(pad:(pos=1))

Running test: collapsekey2... SKIPPED
./apitest backend multi: 112 tests passed, 1 failed, 5 skipped.
Running test: scaleweight1... FAILED
query1: Xapian::Query(pad:(pos=1))

Running test: collapsekey2... SKIPPED
Running test: positfromtermit1... SKIPPED
Running test: metadata1... SKIPPED
Running test: metadata5... SKIPPED
Running test: synonymitor1... SKIPPED
Running test: termtoolong1... SKIPPED
./apitest backend quartz: 178 tests passed, 1 failed, 6 skipped.
./apitest total: 702 tests passed, 6 failed, 20 skipped.
FAIL: apitest
Running test: serialisedouble1... FAILED
1 -> 0, difference = -1
FLT_RADIX = 2
DBL_MAX_EXP = 1024

FAIL: internaltest
The random seed is 42
Please report the seed when reporting a test failure.
Running tests with danish stemmer...
Running test: stemdict... SKIPPED
Running tests with dutch stemmer...
Running test: stemdict... SKIPPED
Running tests with english stemmer...
Running test: stemdict... SKIPPED
Running tests with finnish stemmer...
Running test: stemdict... SKIPPED
Running tests with french stemmer...
Running test: stemdict... SKIPPED
Running tests with german stemmer...
Running test: stemdict... SKIPPED
Running tests with german2 stemmer...
Running test: stemdict... SKIPPED
Running tests with hungarian stemmer...
Running test: stemdict... SKIPPED
Running tests with italian stemmer...
Running test: stemdict... SKIPPED
Running tests with kraaij_pohlmann stemmer...
Running test: stemdict... SKIPPED
Running tests with lovins stemmer...
Running test: stemdict... SKIPPED
Running tests with norwegian stemmer...
Running test: stemdict... SKIPPED
Running tests with porter stemmer...
Running test: stemdict... SKIPPED
Running tests with portuguese stemmer...
Running test: stemdict... SKIPPED
Running tests with romanian stemmer...
Running test: stemdict... SKIPPED
Running tests with russian stemmer...
Running test: stemdict... SKIPPED
Running tests with spanish stemmer...
Running test: stemdict... SKIPPED
Running tests with swedish stemmer...
Running test: stemdict... SKIPPED
Running tests with turkish stemmer...
Running test: stemdict... SKIPPED
PASS: stemtest
Running test: value_range_serialise1... FAILED
Number: -Inf
String:
Number: -1.79769e+308
String: ► ☻@

Running test: qp_value_range2... FAILED
Query: a..b
Query: 1..12

Running test: qp_value_range3... FAILED
Query: -10..-10
Query: -10..-9.5
Query: -10..-9
Query: -10..-8.5
Query: -10..-8

FAIL: queryparsertest
PASS: termgentest

=======================================
3 of 7 tests failed

=======================================



More information about the Xapian-discuss mailing list