++ pwd
+ export WORKSPACE=/var/home/buildbot/workspace
+ WORKSPACE=/var/home/buildbot/workspace
+ POSTGRESQL_HOME=/var/home/buildbot/opt/pgsql/8.2
+ export LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib
+ LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib
+ export PATH=/usr/local/bin:/bin:/usr/bin:/var/home/buildbot/opt/pgsql/8.2/bin
+ PATH=/usr/local/bin:/bin:/usr/bin:/var/home/buildbot/opt/pgsql/8.2/bin
+ export PGPORT=8213
+ PGPORT=8213
+ GEOS_HOME=/var/home/buildbot/opt/geos/3.1.0
+ export LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib:/var/home/buildbot/opt/geos/3.1.0/lib
+ LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib:/var/home/buildbot/opt/geos/3.1.0/lib
+ PROJ_HOME=/var/home/buildbot/opt/proj/4.6.1
+ export LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib:/var/home/buildbot/opt/geos/3.1.0/lib:/var/home/buildbot/opt/proj/4.6.1/lib
+ LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib:/var/home/buildbot/opt/geos/3.1.0/lib:/var/home/buildbot/opt/proj/4.6.1/lib
+ svn -q co http://svn.osgeo.org/postgis/branches/1.4 src
+ cd src
+ ./autogen.sh
* Running /usr/bin/libtoolize (1.5.22)
\tOPTIONS = --force --copy
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
* Running /usr/bin/aclocal (1.9.6)
* Running /usr/bin/autoconf (2.59)
======================================
Now you are ready to run './configure'
======================================
+ ./configure --prefix=/var/home/buildbot/workspace/build/ --with-pgconfig=/var/home/buildbot/opt/pgsql/8.2/bin/pg_config --with-geosconfig=/var/home/buildbot/opt/geos/3.1.0/bin/geos-config --with-projdir=/var/home/buildbot/opt/proj/4.6.1
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-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 ANSI C... none needed
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
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
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... 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
appending configuration tag "F77" to libtool
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 ANSI C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking if g++ supports -Wall... yes
checking if g++ supports -Wmissing-prototypes... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for convert... /usr/bin/convert
checking for xsltproc... /usr/bin/xsltproc
checking for dblatex... /usr/bin/dblatex
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
Using user-specified pg_config file: /var/home/buildbot/opt/pgsql/8.2/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
Using user-specified geos-config file: /var/home/buildbot/opt/geos/3.1.0/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
Using user-specified proj directory: /var/home/buildbot/opt/proj/4.6.1
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

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

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

 -------------- Dependencies -------------- 
  GEOS config:          /var/home/buildbot/opt/geos/3.1.0/bin/geos-config
  GEOS version:         3.1
  PostgreSQL config:    /var/home/buildbot/opt/pgsql/8.2/bin/pg_config
  PostgreSQL version:   8.2
  PROJ4 version:        46
  PostGIS debug level:  0

 -------- Documentation Generation -------- 
  xsltproc:             /usr/bin/xsltproc
  xsl style sheets:     /usr/share/sgml/docbook/xsl-stylesheets
  dblatex:              /usr/bin/dblatex
  convert:              /usr/bin/convert

+ make
make -C liblwgeom 
make[1]: Entering directory `/var/home/buildbot/workspace/src/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:4127: warning: ‘yyunput’ 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 `/var/home/buildbot/workspace/src/liblwgeom'
make -C postgis 
make[1]: Entering directory `/var/home/buildbot/workspace/src/postgis'
gcc -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
gcc -E -traditional-cpp uninstall_postgis.sql.in.c | grep -v '^#' > uninstall_postgis.sql.in
sed 's,MODULE_PATHNAME,$libdir/uninstall_postgis-1.4,g' uninstall_postgis.sql.in >uninstall_postgis.sql
"/usr/bin/perl" ../utils/postgis_proc_upgrade.pl postgis.sql > postgis_upgrade.sql
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_pg.o lwgeom_pg.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_debug.o lwgeom_debug.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_accum.o lwgeom_accum.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_spheroid.o lwgeom_spheroid.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_ogc.o lwgeom_ogc.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_functions_analytic.o lwgeom_functions_analytic.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_inout.o lwgeom_inout.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_estimate.o lwgeom_estimate.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_functions_basic.o lwgeom_functions_basic.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_gist.o lwgeom_gist.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_btree.o lwgeom_btree.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_transform.o lwgeom_transform.c
lwgeom_transform.c:144: warning: initialization from incompatible pointer type
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_box.o lwgeom_box.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_box3d.o lwgeom_box3d.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_box2dfloat4.o lwgeom_box2dfloat4.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_chip.o lwgeom_chip.c
lwgeom_chip.c: In function ‘CHIP_in’:
lwgeom_chip.c:175: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘unsigned int’
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_geos.o lwgeom_geos.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_geos_prepared.o lwgeom_geos_prepared.c
lwgeom_geos_prepared.c:106: warning: initialization from incompatible pointer type
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_svg.o lwgeom_svg.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_gml.o lwgeom_gml.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_kml.o lwgeom_kml.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_geojson.o lwgeom_geojson.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_triggers.o lwgeom_triggers.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_dump.o lwgeom_dump.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_functions_lrs.o lwgeom_functions_lrs.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o long_xact.o long_xact.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o lwgeom_sqlmm.o lwgeom_sqlmm.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I/var/home/buildbot/opt/geos/3.1.0/include -I/var/home/buildbot/opt/proj/4.6.1/include -I../liblwgeom -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -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
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -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/var/home/buildbot/opt/geos/3.1.0/lib -L/var/home/buildbot/opt/proj/4.6.1/lib -L/var/home/buildbot/opt/pgsql/8.2/lib -lgeos_c -lproj ../liblwgeom/liblwgeom.a -Wl,-rpath,'/var/home/buildbot/opt/pgsql/8.2/lib' -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 `/var/home/buildbot/workspace/src/postgis'
make -C loader
make[1]: Entering directory `/var/home/buildbot/workspace/src/loader'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o shpopen.o shpopen.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o dbfopen.o dbfopen.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o getopt.o getopt.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I. -I/var/home/buildbot/opt/pgsql/8.2/include/server -I/var/home/buildbot/opt/pgsql/8.2/include/internal -D_GNU_SOURCE   -c -o shp2pgsql.o shp2pgsql.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv shpopen.o dbfopen.o getopt.o shp2pgsql.o ../liblwgeom/liblwgeom.a -lc -lm -o shp2pgsql 
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/var/home/buildbot/opt/pgsql/8.2/include -c pgsql2shp.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv shpopen.o dbfopen.o getopt.o pgsql2shp.o ../liblwgeom/liblwgeom.a -lc -L/var/home/buildbot/opt/pgsql/8.2/lib -lpq -lm -o pgsql2shp 
make[1]: Leaving directory `/var/home/buildbot/workspace/src/loader'
make -C utils
make[1]: Entering directory `/var/home/buildbot/workspace/src/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 `/var/home/buildbot/workspace/src/utils'
PostGIS was built successfully. Ready to install.
+ make install
make -C liblwgeom 
make[1]: Entering directory `/var/home/buildbot/workspace/src/liblwgeom'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/home/buildbot/workspace/src/liblwgeom'
make -C postgis 
make[1]: Entering directory `/var/home/buildbot/workspace/src/postgis'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/home/buildbot/workspace/src/postgis'
make -C loader
make[1]: Entering directory `/var/home/buildbot/workspace/src/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/home/buildbot/workspace/src/loader'
make -C utils
make[1]: Entering directory `/var/home/buildbot/workspace/src/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 `/var/home/buildbot/workspace/src/utils'
PostGIS was built successfully. Ready to install.
make -C postgis install
make[1]: Entering directory `/var/home/buildbot/workspace/src/postgis'
/bin/sh /var/home/buildbot/opt/pgsql/8.2/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./../spatial_ref_sys.sql '/var/home/buildbot/opt/pgsql/8.2/share/contrib'
/bin/sh /var/home/buildbot/opt/pgsql/8.2/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 postgis.sql '/var/home/buildbot/opt/pgsql/8.2/share/contrib'
/bin/sh /var/home/buildbot/opt/pgsql/8.2/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 uninstall_postgis.sql '/var/home/buildbot/opt/pgsql/8.2/share/contrib'
/bin/sh /var/home/buildbot/opt/pgsql/8.2/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 postgis_upgrade.sql '/var/home/buildbot/opt/pgsql/8.2/share/contrib'
/bin/sh /var/home/buildbot/opt/pgsql/8.2/lib/pgxs/src/makefiles/../../config/install-sh -c -m 755  libpostgis-1.4.so.0.0 '/var/home/buildbot/opt/pgsql/8.2/lib/postgis-1.4.so'
make[1]: Leaving directory `/var/home/buildbot/workspace/src/postgis'
make -C loader install
make[1]: Entering directory `/var/home/buildbot/workspace/src/loader'
/bin/sh /var/home/buildbot/opt/pgsql/8.2/lib/pgxs/src/makefiles/../../config/install-sh -c pgsql2shp /var/home/buildbot/opt/pgsql/8.2/bin
/bin/sh /var/home/buildbot/opt/pgsql/8.2/lib/pgxs/src/makefiles/../../config/install-sh -c shp2pgsql /var/home/buildbot/opt/pgsql/8.2/bin
make[1]: Leaving directory `/var/home/buildbot/workspace/src/loader'
+ export LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib:/var/home/buildbot/opt/geos/3.1.0/lib:/var/home/buildbot/opt/proj/4.6.1/lib:/var/home/buildbot/workspace/build/lib
+ LD_LIBRARY_PATH=/var/home/buildbot/opt/pgsql/8.2/lib:/var/home/buildbot/opt/geos/3.1.0/lib:/var/home/buildbot/opt/proj/4.6.1/lib:/var/home/buildbot/workspace/build/lib
+ cd regress
+ make
make -C ../postgis
make[1]: pg_config: Command not found
make[1]: Entering directory `/var/home/buildbot/workspace/src/postgis'
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/home/buildbot/workspace/src/postgis'
cp ../postgis/postgis.sql .
./run_test: line 388: psql: command not found
Creating spatial db postgis_reg 
./run_test: line 395: createdb: command not found
./run_test: line 396: createlang: command not found
./run_test: line 415: psql: command not found

 Something went wrong (no postgis installed in postgis_reg).
 For details, check /tmp/pgis_reg_27118/regress_log

make: *** [test] Error 1
+ cd /var/home/buildbot/workspace/src
+ make uninstall
make -C postgis uninstall
make[1]: Entering directory `/var/home/buildbot/workspace/src/postgis'
rm -f '/var/home/buildbot/opt/pgsql/8.2/share'/contrib/spatial_ref_sys.sql '/var/home/buildbot/opt/pgsql/8.2/share'/contrib/postgis.sql '/var/home/buildbot/opt/pgsql/8.2/share'/contrib/uninstall_postgis.sql '/var/home/buildbot/opt/pgsql/8.2/share'/contrib/postgis_upgrade.sql
rm -f '/var/home/buildbot/opt/pgsql/8.2/lib/postgis-1.4.so'
make[1]: Leaving directory `/var/home/buildbot/workspace/src/postgis'
make -C loader uninstall
make[1]: Entering directory `/var/home/buildbot/workspace/src/loader'
make[1]: Leaving directory `/var/home/buildbot/workspace/src/loader'
make -C doc uninstall
make[1]: Entering directory `/var/home/buildbot/workspace/src/doc'
rm -f /var/home/buildbot/opt/pgsql/8.2/doc/postgis/postgis.html
rm -f /var/home/buildbot/opt/pgsql/8.2/doc/postgis/README.postgis
rm -f /var/home/buildbot/opt/pgsql/8.2/man/man1/shp2pgsql.1
rm -f /var/home/buildbot/opt/pgsql/8.2/man/man1/pgsql2shp.1
make[1]: Leaving directory `/var/home/buildbot/workspace/src/doc'
make -C doc comments-uninstall
make[1]: Entering directory `/var/home/buildbot/workspace/src/doc'
rm -f /var/home/buildbot/opt/pgsql/8.2/share/contrib/postgis_comments.sql
make[1]: Leaving directory `/var/home/buildbot/workspace/src/doc'
