[postgis-tickets] [PostGIS] #2878: winnie coughing up blood when trying to build cunit for twkb

PostGIS trac at osgeo.org
Thu Aug 7 14:28:41 PDT 2014


#2878: winnie coughing up blood when trying to build cunit for twkb
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.2.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 It started today I think after r12867

 Debbie seems to be fine with the changes.


 {{{
 libtool: link: x86_64-w64-mingw32-gcc -g -O2 -Wall -Wmissing-prototypes
 -I/projects/geos/rel-3.5.0devw64gcc48/include
 -I/projects/proj/rel-4.8.0w64gcc48/include
 -I/projects/postgresql/rel/pg9.4w64gcc48/include -I/projects/rel-
 libiconv-1.13.1w64gcc48/include -I.. -I/projects/CGAL/rel-
 sfcgal-1.0.4w64gcc48/include -DHAVE_SFCGAL -o .libs/cu_tester
 cu_algorithm.o cu_buildarea.o cu_clean.o cu_print.o cu_misc.o cu_ptarray.o
 cu_geodetic.o cu_geos.o cu_tree.o cu_measures.o cu_node.o cu_libgeom.o
 cu_split.o cu_stringbuffer.o cu_triangulate.o cu_homogenize.o
 cu_force_sfs.o cu_out_twkb.o cu_out_wkt.o cu_out_wkb.o cu_out_gml.o
 cu_out_kml.o cu_out_geojson.o cu_out_svg.o cu_out_encoded_polyline.o
 cu_surface.o cu_out_x3d.o cu_in_geojson.o cu_in_wkb.o cu_in_wkt.o
 cu_in_encoded_polyline.o cu_varint.o cu_tester.o cu_sfcgal.o
 ../.libs/liblwgeom.a -L/projects/postgresql/rel/pg9.4w64gcc48/lib
 -L/projects/gdal/rel-1.11.0w64gcc48/lib -L/projects/rel-
 libiconv-1.13.1w64gcc48/lib -L/projects/geos/rel-3.5.0devw64gcc48/lib
 -L/projects/proj/rel-4.8.0w64gcc48/lib
 -L/projects/json-c/rel-0.12w64gcc48/lib -L/projects/CGAL/rel-
 sfcgal-1.0.4w64gcc48/lib
 /projects/proj/rel-4.8.0w64gcc48/lib/libproj.dll.a
 /projects/json-c/rel-0.12w64gcc48/lib/libjson-c.a -lgeos_c
 /mingw/x86_64-w64-mingw32/lib/libcunit.a
 -L/projects/CUnit-2.1-2/CUnit/Sources /projects/CGAL/rel-
 sfcgal-1.0.4w64gcc48/lib/libSFCGAL.dll
 -L/projects/proj/rel-4.8.0w64gcc48/lib -L/projects/CGAL/rel-
 sfcgal-1.0.4w64gcc48/lib
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_u32_encoded_size':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:63: multiple definition
 of `varint_u32_encoded_size'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:63:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_u32_encode_buf':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:78: multiple definition
 of `varint_u32_encode_buf'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:78:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_s32_encoded_size':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:83: multiple definition
 of `varint_s32_encoded_size'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:83:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_s32_encode_buf':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:99: multiple definition
 of `varint_s32_encode_buf'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:99:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_s64_encoded_size':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:105: multiple
 definition of `varint_s64_encoded_size'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:105:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_s64_encode_buf':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:122: multiple
 definition of `varint_s64_encode_buf'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:122:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_u64_encoded_size':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:128: multiple
 definition of `varint_u64_encoded_size'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:128:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o): In function `varint_u64_encode_buf':
 e:\jenkins\postgis\branches\2.2\liblwgeom/varint.h:143: multiple
 definition of `varint_u64_encode_buf'
 cu_varint.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/../varint.h:143:
 first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o):lwout_twkb.c:(.rdata+0x2f4): multiple
 definition of `varint_s32_max'
 cu_varint.o:cu_varint.c:(.rdata+0x1e0): first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o):lwout_twkb.c:(.rdata+0x2f8): multiple
 definition of `varint_s32_min'
 cu_varint.o:cu_varint.c:(.rdata+0x1e4): first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o):lwout_twkb.c:(.rdata+0x2fc): multiple
 definition of `varint_u32_max'
 cu_varint.o:cu_varint.c:(.rdata+0x1e8): first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o):lwout_twkb.c:(.rdata+0x300): multiple
 definition of `varint_s64_max'
 cu_varint.o:cu_varint.c:(.rdata+0x1f0): first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o):lwout_twkb.c:(.rdata+0x308): multiple
 definition of `varint_s64_min'
 cu_varint.o:cu_varint.c:(.rdata+0x1f8): first defined here
 ../.libs/liblwgeom.a(lwout_twkb.o):lwout_twkb.c:(.rdata+0x310): multiple
 definition of `varint_u64_max'
 cu_varint.o:cu_varint.c:(.rdata+0x200): first defined here
 ../.libs/liblwgeom.a(lwout_wkb.o): In function `hexbytes_from_bytes':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwout_wkb.c:24: multiple
 definition of `hexbytes_from_bytes'
 cu_out_twkb.o:e:\jenkins\postgis\branches\2.2\liblwgeom\cunit/cu_out_twkb.c:54:
 first defined here
 collect2.exe: error: ld returned 1 exit status
 Makefile:83: recipe for target `cu_tester' failed
 make[2]: *** [cu_tester] Error 1
 make[2]: Leaving directory
 `/projects/postgis/branches/2.2/liblwgeom/cunit'
 Makefile:156: recipe for target `check' failed
 make[1]: *** [check] Error 2
 make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'
 GNUmakefile:14: recipe for target `check' failed
 make: *** [check] Error 1
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2878>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list