[geos-devel] geos make check fails

Eric Knappe ericknappe at gmail.com
Thu Jan 17 00:02:51 EST 2008


Paul,

A segmentation fault caused make check to FAIL.


./configure --prefix=/home/mydir
make
make check

The tail of the output from make check is this:



FAIL: testrunner
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/usr/home/mydir/geos-3.0.0/capi'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/usr/home/mydir/geos-3.0.0/capi'
make: *** [check-recursive] Error 1
[mydir][~/geos-3.0.0]$



In looking through the output of make check I found the listing below:
Is it odd that geostest is up to date here?
Is it odd to see "GEOS version 3.0.0rc2-CAPI"?


Making check in capi
make[1]: Entering directory `/usr/home/mydir/geos-3.0.0/capi'
make  geostest
make[2]: Entering directory `/usr/home/mydir/geos-3.0.0/capi'
make[2]: `geostest' is up to date.
make[2]: Leaving directory `/usr/home/mydir/geos-3.0.0/capi'
make  check-TESTS
make[2]: Entering directory `/usr/home/mydir/geos-3.0.0/capi'
./testrunner: line 2:  4800 Segmentation fault      ./geostest ./test.wkt >
test.out
geostest exited with non-zero status (139)
1,25d0
< GEOS version 3.0.0rc2-CAPI-1.3.0



I found some warnings in the make output:



make[1]: Entering directory `/usr/home/mydir/geos-3.0.0/capi'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../                           source/headers -I../source/headers/geos
-I../source/headers -DGEOS_CAPI_VERSION=                           '"
3.0.0-CAPI-1.4.1"' -DGEOS_JTS_PORT='"1.7.1"'   -g -O2 -DGEOS_INLINE -Wall
-ans                           i -pedantic -Wno-long-long -MT
libgeos_c_la-geos_c.lo -MD -MP -MF ".deps/libgeos
_c_la-geos_c.Tpo" -c -o libgeos_c_la-geos_c.lo `test -f 'geos_c.cpp' || echo
'./                           '`geos_c.cpp; \
then mv -f ".deps/libgeos_c_la-geos_c.Tpo" ".deps/libgeos_c_la-geos_c.Plo";
else                            rm -f ".deps/libgeos_c_la-geos_c.Tpo"; exit
1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../source/headers -I../source/headers/geos
-I../s                           ource/headers -DGEOS_CAPI_VERSION=\"
3.0.0-CAPI-1.4.1\" -DGEOS_JTS_PORT=\"1.7.1\"                            -g
-O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT
libgeos_c_la-geos                           _c.lo -MD -MP -MF
.deps/libgeos_c_la-geos_c.Tpo -c geos_c.cpp  -fPIC -DPIC -o
.l                           ibs/libgeos_c_la-geos_c.o
geos_c.cpp: In function `int GEOSWKBWriter_getOutputDimension(const
GEOSWKBWrite                           r*)':
geos_c.cpp:2207: warning: converting to non-pointer type `int' from NULL
geos_c.cpp: In function `int GEOSWKBWriter_getByteOrder(const
GEOSWKBWriter*)':
geos_c.cpp:2236: warning: converting to non-pointer type `int' from NULL
geos_c.cpp: In function `char GEOSWKBWriter_getIncludeSRID(const
GEOSWKBWriter*)                           ':
geos_c.cpp:2265: warning: converting to non-pointer type `char' from NULL
 g++ -DHAVE_CONFIG_H -I. -I. -I../source/headers -I../source/headers/geos
-I../s                           ource/headers -DGEOS_CAPI_VERSION=\"
3.0.0-CAPI-1.4.1\" -DGEOS_JTS_PORT=\"1.7.1\"                            -g
-O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT
libgeos_c_la-geos                           _c.lo -MD -MP -MF
.deps/libgeos_c_la-geos_c.Tpo -c geos_c.cpp -o
libgeos_c_la-ge                           os_c.o >/dev/null 2>&1

.
.
.

creating XMLTester
if g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
-I../../source/headers/geo                           s
-I../../source/headers -I../../source/io/markup    -g -O2 -DGEOS_INLINE
-Wall                            -ansi -pedantic -Wno-long-long -MT
SimpleWKTTester.o -MD -MP -MF ".deps/SimpleWK
TTester.Tpo" -c -o SimpleWKTTester.o SimpleWKTTester.cpp; \
then mv -f ".deps/SimpleWKTTester.Tpo" ".deps/SimpleWKTTester.Po"; else rm
-f ".                           deps/SimpleWKTTester.Tpo"; exit 1; fi
In file included from SimpleWKTTester.cpp:23:
../../source/headers/geos/io.h:61:2: warning: #warning is a GCC extension
../../source/headers/geos/io.h:61:2: warning: #warning *** DEPRECATED: You
are u                           sing deprecated header io.h. Please, update
your sources according to new layout                            of GEOS
headers and namespaces
In file included from SimpleWKTTester.cpp:24:
../../source/headers/geos/geom.h:145:2: warning: #warning is a GCC extension
../../source/headers/geos/geom.h:145:2: warning: #warning *** DEPRECATED:
You ar                           e using deprecated header geom.h. Please,
update your sources according to new l                           ayout of
GEOS headers and namespaces
/bin/sh ../../libtool --tag=CXX --mode=link g++  -g -O2 -DGEOS_INLINE -Wall
-ans                           i -pedantic -Wno-long-long   -o
SimpleWKTTester  SimpleWKTTester.o ../../source/
libgeos.la ../../source/libgeos.la
g++ -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -o
.libs/SimpleWKT                           Tester SimpleWKTTester.o
../../source/.libs/libgeos.so
creating SimpleWKTTester



Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20080117/58db7c9a/attachment-0001.html


More information about the geos-devel mailing list