[postgis-devel] [PostGIS] #192: Broken configuration of regression tests

PostGIS trac at osgeo.org
Thu Jun 4 02:09:39 PDT 2009


#192: Broken configuration of regression tests
----------------------+-----------------------------------------------------
 Reporter:  mloskot   |       Owner:  pramsey
     Type:  defect    |      Status:  new    
 Priority:  critical  |   Milestone:         
Component:  postgis   |     Version:         
 Keywords:            |  
----------------------+-----------------------------------------------------
 Something has got broken recently and PostGIS tests no longer run and pass
 on my Ubuntu 9.04 machine. Presumely, it's broken configuration of
 regression tests.

 Everything worked well last week. Today I updated my copy of the trunk to
 r4132 and tests do not pass:

  * Bootstrap:

 {{{

 $ ./autogen.sh
 * Running /usr/bin/libtoolize (2.2.6)
         OPTIONS = --force --copy --install
 libtoolize: putting auxiliary files in `.'.
 libtoolize: copying file `./config.guess'
 libtoolize: copying file `./config.sub'
 libtoolize: copying file `./install-sh'
 libtoolize: copying file `./ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `macros'.
 libtoolize: copying file `macros/libtool.m4'
 libtoolize: copying file `macros/ltoptions.m4'
 libtoolize: copying file `macros/ltsugar.m4'
 libtoolize: copying file `macros/ltversion.m4'
 libtoolize: copying file `macros/lt~obsolete.m4'
 libtoolize: Consider adding `-I macros' to ACLOCAL_AMFLAGS in Makefile.am.
 * Running /usr/bin/aclocal (1.10.2)
 * Running /usr/bin/autoconf (2.63)
 ======================================
 Now you are ready to run './configure'
 ======================================
 }}}

  * Configure

 {{{
 ./configure
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-pc-linux-gnu
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking for a sed that does not truncate output... /bin/sed
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for fgrep... /bin/grep -F
 checking for ld used by gcc... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
 checking the name lister (/usr/bin/nm -B) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 1572864
 checking whether the shell understands some XSI constructs... yes
 checking whether the shell understands "+="... yes
 checking for /usr/bin/ld option to reload object files... -r
 checking for objdump... objdump
 checking how to recognize dependent libraries... pass_all
 checking for ar... ar
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /usr/bin/nm -B output from gcc object... ok
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if gcc supports -fno-rtti -fno-exceptions... no
 checking for gcc option to produce PIC... -fPIC -DPIC
 checking if gcc PIC flag -fPIC -DPIC works... yes
 checking if gcc static flag -static works... yes
 checking if gcc supports -c -o file.o... yes
 checking if gcc supports -c -o file.o... (cached) yes
 checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
 yes
 checking whether -lc should be explicitly linked in... no
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking for gcc... (cached) gcc
 checking whether we are using the GNU C compiler... (cached) yes
 checking whether gcc accepts -g... (cached) yes
 checking for gcc option to accept ISO C89... (cached) none needed
 checking how to run the C preprocessor... gcc -E
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking whether we are using the GNU C++ compiler... (cached) yes
 checking whether g++ accepts -g... (cached) yes
 checking how to run the C++ preprocessor... g++ -E
 checking for ld used by g++... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
 yes
 checking for g++ option to produce PIC... -fPIC -DPIC
 checking if g++ PIC flag -fPIC -DPIC works... yes
 checking if g++ static flag -static works... yes
 checking if g++ supports -c -o file.o... yes
 checking if g++ supports -c -o file.o... (cached) yes
 checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
 yes
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking how to hardcode library paths into programs... immediate
 checking if g++ supports -Wall... yes
 checking if g++ supports -Wmissing-prototypes... yes
 checking for flex... no
 checking for lex... no
 checking for bison... no
 checking for byacc... no
 checking ieeefp.h usability... no
 checking ieeefp.h presence... no
 checking for ieeefp.h... no
 checking for convert... no
 configure: WARNING: ImageMagick does not seem to be installed.
 Documentation cannot be built
 checking for xsltproc... /usr/bin/xsltproc
 checking for dblatex... no
 configure: WARNING: dblatex is not installed so PDF documentation cannot
 be built
 configure: WARNING: could not locate Docbook stylesheets required to build
 the documentation
 checking CUnit/CUnit.h usability... yes
 checking CUnit/CUnit.h presence... yes
 checking for CUnit/CUnit.h... yes
 checking for CU_initialize_registry in -lcunit... yes
 checking iconv.h usability... yes
 checking iconv.h presence... yes
 checking for iconv.h... yes
 checking for libiconv_open in -liconv... no
 checking for iconv_open in -lc... yes
 checking for pg_config... /usr/bin/pg_config
 checking libpq-fe.h usability... yes
 checking libpq-fe.h presence... yes
 checking for libpq-fe.h... yes
 checking for PQserverVersion in -lpq... yes
 checking for geos-config... /usr/local/bin/geos-config
 checking geos_c.h usability... yes
 checking geos_c.h presence... yes
 checking for geos_c.h... yes
 checking for initGEOS in -lgeos_c... yes
 checking proj_api.h usability... yes
 checking proj_api.h presence... yes
 checking for proj_api.h... yes
 checking for pj_get_release in -lproj... yes
 configure: creating ./config.status
 config.status: creating liblwgeom/Makefile
 config.status: creating liblwgeom/cunit/Makefile
 config.status: creating postgis/Makefile
 config.status: creating postgis/sqldefines.h
 config.status: creating loader/Makefile
 config.status: creating topology/Makefile
 config.status: creating regress/Makefile
 config.status: creating doc/Makefile
 config.status: creating doc/html/image_src/Makefile
 config.status: creating postgis_config.h
 config.status: executing libtool commands

   PostGIS is now configured for i686-pc-linux-gnu

  -------------- Compiler Info -------------
   C compiler:           gcc -g -O2
   C++ compiler:         g++ -g -O2

  -------------- Dependencies --------------
   GEOS config:          /usr/local/bin/geos-config
   GEOS version:         3.1
   PostgreSQL config:    /usr/bin/pg_config
   PostgreSQL version:   8.3
   PROJ4 version:        46
   PostGIS debug level:  0

  -------- Documentation Generation --------
   xsltproc:             /usr/bin/xsltproc
   xsl style sheets:
   dblatex:
   convert:
 }}}

  * Clean

 {{{
 /usr/bin/make -C liblwgeom clean
 make[1]: Entering directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom'
 rm -f measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o
 lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o
 lwcircstring.o lwcompound.o lwcurvepoly.o lwmcurve.o lwmsurface.o lwutil.o
 lwalgorithm.o lwgunparse.o lwgparse.o lwsegmentize.o wktparse.tab.o
 lex.yy.o vsprintf.o
 rm -f liblwgeom.a
 make[1]: Leaving directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom'
 /usr/bin/make -C postgis clean
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 rm -f libpostgis-1.4.a
 rm -f libpostgis-1.4.so libpostgis-1.4.so.0 libpostgis-1.4.so.0.0
 rm -f postgis.sql postgis_upgrade.sql
 rm -f lwgeom_pg.o lwgeom_debug.o lwgeom_accum.o lwgeom_spheroid.o
 lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_inout.o lwgeom_estimate.o
 lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o
 lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o
 lwgeom_geos.o lwgeom_geos_prepared.o lwgeom_svg.o lwgeom_gml.o
 lwgeom_kml.o lwgeom_geojson.o lwgeom_triggers.o lwgeom_dump.o
 lwgeom_functions_lrs.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
 rm -f postgis.sql.in
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 /usr/bin/make -C loader clean
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/loader'
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/loader'
 /usr/bin/make -C doc clean
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/doc'
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/doc'
 /usr/bin/make -C regress clean
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/regress'
 rm -f postgis.sql
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/regress'
 rm -f postgis.sql postgis_upgrade.sql
 }}}

  * Build

 {{{
 /usr/bin/make -C liblwgeom
 make[1]: Entering directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom'
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o measures.o
 measures.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o box2d.o box2d.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o ptarray.o
 ptarray.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwgeom_api.o
 lwgeom_api.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwgeom.o
 lwgeom.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwpoint.o
 lwpoint.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwline.o
 lwline.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwpoly.o
 lwpoly.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwmpoint.o
 lwmpoint.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwmline.o
 lwmline.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwmpoly.o
 lwmpoly.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwcollection.o
 lwcollection.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwcircstring.o
 lwcircstring.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwcompound.o
 lwcompound.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwcurvepoly.o
 lwcurvepoly.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwmcurve.o
 lwmcurve.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwmsurface.o
 lwmsurface.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwutil.o
 lwutil.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwalgorithm.o
 lwalgorithm.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwgunparse.o
 lwgunparse.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwgparse.o
 lwgparse.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lwsegmentize.o
 lwsegmentize.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o wktparse.tab.o
 wktparse.tab.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lex.yy.o
 lex.yy.c
 lex.yy.c:4126: warning: ‘yyunput’ defined but not used
 lex.yy.c:4169: warning: ‘input’ defined but not used
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o vsprintf.o
 vsprintf.c
 ar rs liblwgeom.a measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o
 lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o
 lwcircstring.o lwcompound.o lwcurvepoly.o lwmcurve.o lwmsurface.o lwutil.o
 lwalgorithm.o lwgunparse.o lwgparse.o lwsegmentize.o wktparse.tab.o
 lex.yy.o vsprintf.o
 ar: creating liblwgeom.a
 make[1]: Leaving directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom'
 /usr/bin/make -C postgis
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 cc -E -traditional-cpp postgis.sql.in.c | grep -v '^#' > postgis.sql.in
 sed 's,MODULE_PATHNAME,$libdir/postgis-1.4,g' postgis.sql.in >postgis.sql
 "/usr/bin/perl" ../utils/postgis_proc_upgrade.pl postgis.sql >
 postgis_upgrade.sql
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_pg.o lwgeom_pg.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_debug.o lwgeom_debug.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_accum.o lwgeom_accum.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_spheroid.o lwgeom_spheroid.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_ogc.o lwgeom_ogc.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_functions_analytic.o lwgeom_functions_analytic.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_inout.o lwgeom_inout.c
 lwgeom_inout.c: In function ‘elog_ERROR’:
 lwgeom_inout.c:462: warning: format not a string literal and no format
 arguments
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_estimate.o lwgeom_estimate.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_functions_basic.o lwgeom_functions_basic.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_gist.o lwgeom_gist.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_btree.o lwgeom_btree.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_transform.o lwgeom_transform.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_box.o lwgeom_box.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_box3d.o lwgeom_box3d.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_box2dfloat4.o lwgeom_box2dfloat4.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_chip.o lwgeom_chip.c
 lwgeom_chip.c: In function ‘CHIP_in’:
 lwgeom_chip.c:171: warning: format ‘%ld’ expects type ‘long int’, but
 argument 4 has type ‘unsigned int’
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_geos.o lwgeom_geos.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_geos_prepared.o lwgeom_geos_prepared.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_svg.o lwgeom_svg.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_gml.o lwgeom_gml.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_kml.o lwgeom_kml.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_geojson.o lwgeom_geojson.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_triggers.o lwgeom_triggers.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_dump.o lwgeom_dump.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_functions_lrs.o lwgeom_functions_lrs.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 long_xact.o long_xact.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_sqlmm.o lwgeom_sqlmm.c
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -I/usr/local/include  -I../liblwgeom -I.
 -I/usr/include/postgresql/8.3/server -I/usr/include/postgresql/internal
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
 lwgeom_rtree.o lwgeom_rtree.c
 ar crs libpostgis-1.4.a lwgeom_pg.o lwgeom_debug.o lwgeom_accum.o
 lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_inout.o
 lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o
 lwgeom_transform.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o
 lwgeom_chip.o lwgeom_geos.o lwgeom_geos_prepared.o lwgeom_svg.o
 lwgeom_gml.o lwgeom_kml.o lwgeom_geojson.o lwgeom_triggers.o lwgeom_dump.o
 lwgeom_functions_lrs.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
 ranlib libpostgis-1.4.a
 cc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
 -fwrapv -g -fpic -shared -Wl,-soname,libpostgis-1.4.so.0   lwgeom_pg.o
 lwgeom_debug.o lwgeom_accum.o lwgeom_spheroid.o lwgeom_ogc.o
 lwgeom_functions_analytic.o lwgeom_inout.o lwgeom_estimate.o
 lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o
 lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o
 lwgeom_geos.o lwgeom_geos_prepared.o lwgeom_svg.o lwgeom_gml.o
 lwgeom_kml.o lwgeom_geojson.o lwgeom_triggers.o lwgeom_dump.o
 lwgeom_functions_lrs.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
 -L/usr/local/lib -L/usr/lib -lgeos_c -lproj ../liblwgeom/liblwgeom.a -o
 libpostgis-1.4.so.0.0
 rm -f libpostgis-1.4.so.0
 ln -s libpostgis-1.4.so.0.0 libpostgis-1.4.so.0
 rm -f libpostgis-1.4.so
 ln -s libpostgis-1.4.so.0.0 libpostgis-1.4.so
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 /usr/bin/make -C loader
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/loader'
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes   -c -o shpopen.o
 shpopen.c
 shpopen.c: In function ‘SHPOpen’:
 shpopen.c:455: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 shpopen.c:465: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 shpopen.c:544: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 shpopen.c: In function ‘SHPReadObject’:
 shpopen.c:1325: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes   -c -o dbfopen.o
 dbfopen.c
 dbfopen.c: In function ‘DBFUpdateHeader’:
 dbfopen.c:337: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 dbfopen.c: In function ‘DBFClose’:
 dbfopen.c:519: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 dbfopen.c: In function ‘DBFWriteAttribute’:
 dbfopen.c:1112: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 dbfopen.c: In function ‘DBFWriteAttributeDirectly’:
 dbfopen.c:1281: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 dbfopen.c: In function ‘DBFWriteTuple’:
 dbfopen.c:1427: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 dbfopen.c: In function ‘DBFReadTuple’:
 dbfopen.c:1471: warning: ignoring return value of ‘fread’, declared with
 attribute warn_unused_result
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes   -c -o getopt.o
 getopt.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes   -c -o shp2pgsql.o
 shp2pgsql.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes shpopen.o dbfopen.o
 getopt.o shp2pgsql.o ../liblwgeom/liblwgeom.a -lc -lm -o shp2pgsql
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes
 -I/usr/include/postgresql -c pgsql2shp.c
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes shpopen.o dbfopen.o
 getopt.o pgsql2shp.o ../liblwgeom/liblwgeom.a -lc -L/usr/lib -lpq -lm -o
 pgsql2shp
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/loader'
 /usr/bin/make -C utils
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/utils'
 chmod +x postgis_restore.pl create_undef.pl postgis_proc_upgrade.pl
 profile_intersects.pl test_estimation.pl test_joinestimation.pl
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/utils'
 PostGIS was built successfully. Ready to install.
 }}}

  * Build comments

 {{{
 /usr/bin/make -C doc comments
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/doc'
 /usr/bin/xsltproc ./xsl/postgis_comments.sql.xsl reference.xml >
 postgis_comments.sql
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/doc'
 }}}

  * Test

 {{{
 /usr/bin/make -C liblwgeom
 make[1]: Entering directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom'
 /usr/bin/make -C postgis
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 /usr/bin/make -C liblwgeom/cunit check
 make[1]: Entering directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom/cunit'
 gcc -o cu_tester cu_tester.o cu_algorithm.o cu_measures.o ../liblwgeom.a
 -lm -lcunit


      CUnit - A Unit testing framework for C - Version 2.1-0
      http://cunit.sourceforge.net/


 Suite: PostGIS Computational Geometry Suite
   Test: test_lw_segment_side() ... passed
   Test: test_lw_segment_intersects() ... passed
   Test: test_lwline_crossing_short_lines() ... passed
   Test: test_lwline_crossing_long_lines() ... passed
   Test: test_lwpoint_set_ordinate() ... passed
   Test: test_lwpoint_get_ordinate() ... passed
   Test: test_lwpoint_interpolate() ... passed
   Test: test_lwline_clip() ... passed
   Test: test_lwline_clip_big() ... passed
   Test: test_lwmline_clip() ... passed
   Test: test_geohash_point() ... passed
   Test: test_geohash_precision() ... passed
   Test: test_geohash() ... passed
 Suite: PostGIS Measures Suite
   Test: test_mindistance2d_recursive_tolerance() ... passed

 --Run Summary: Type      Total     Ran  Passed  Failed
                suites        2       2     n/a       0
                tests        14      14      14       0
                asserts      84      84      84       0
 make[1]: Leaving directory
 `/home/mloskot/dev/postgis/_svn/trunk/liblwgeom/cunit'
 /usr/bin/make -C regress check
 make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/regress'
 /usr/bin/make -C ../postgis
 make[2]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 make[2]: Nothing to be done for `all'.
 make[2]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
 ERROR:  function postgis_lib_version() does not exist
 LINE 1: select postgis_lib_version()
                ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 cp ../postgis/postgis.sql .
 Creating spatial db postgis_reg    Something went wrong (no postgis
 installed in postgis_reg).  For details, check
 /tmp/pgis_reg_25425/regress_log
 /bin/sh: Syntax error: "(" unexpected
 make[1]: *** [check] Error 2
 make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/regress'
 make: *** [check] Error 2
 }}}

 Inspecting regress_log

 {{{
 cat /tmp/pgis_reg_25425/regress_log
 postgis.sql: No such file or directory
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/192>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list