[postgis-tickets] [PostGIS] #4977: Can't compile PostGIS 3.2 on windows - breaking on protobuf-c

PostGIS trac at osgeo.org
Fri Aug 20 19:52:40 PDT 2021


#4977: Can't compile PostGIS 3.2 on windows - breaking on protobuf-c
-----------------------------------+---------------------------
 Reporter:  robe                   |      Owner:  strk
     Type:  defect                 |     Status:  new
 Priority:  blocker                |  Milestone:  PostGIS 3.2.0
Component:  build/upgrade/install  |    Version:  master
 Keywords:                         |
-----------------------------------+---------------------------
 I thought it was just something up with my desktop but notice winnie is
 having the same issue.


 {{{
 lwgeom_in_gml.o lwgeom_in_kml.o lwgeom_in_geohash.o lwgeom_in_geojson.o
 lwgeom_in_encoded_polyline.o lwgeom_triggers.o lwgeom_dump.o
 lwgeom_dumppoints.o lwgeom_functions_lrs.o lwgeom_functions_temporal.o
 lwgeom_rectree.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
 lwgeom_transform.o lwgeom_window.o gserialized_typmod.o
 gserialized_gist_2d.o gserialized_gist_nd.o gserialized_supportfn.o
 gserialized_spgist_2d.o gserialized_spgist_3d.o gserialized_spgist_nd.o
 brin_2d.o brin_nd.o brin_common.o gserialized_estimate.o geography_inout.o
 geography_btree.o geography_centroid.o geography_measurement.o
 geography_measurement_trees.o geometry_inout.o postgis_libprotobuf.o
 vector_tile.pb-c.o geobuf.pb-c.o mvt.o lwgeom_out_mvt.o geobuf.o
 lwgeom_out_geobuf.o lwgeom_out_geojson.o postgis_legacy.o -Wl,--enable-
 auto-import -L/projects/postgresql/rel/pg13w64gcc81/lib -L/projects/rel-
 libiconv-1.15w64gcc81/lib -L/projects/zlib/rel-zlib-1.2.11w64gcc81/lib -lm
 ../deps/wagyu/libwagyu.la -lstdc++ ../libpgcommon/libpgcommon.a
 ../liblwgeom/.libs/liblwgeom.a  -LE:/jenkins/geos/rel-3.9w64gcc81/lib
 -lgeos_c -LE:/jenkins/proj/rel-7.1.1w64gcc81/lib -lproj
 -LE:/jenkins/json-c/rel-0.12w64gcc81/lib -ljson-c   -lprotobuf-c
 -L/projects/libxml/rel-libxml2-2.9.9w64gcc81/lib -lxml2 -liconv -lws2_32
 -L/projects/CGAL/rel-sfcgal-1.3.9w64gcc81/lib -lSFCGAL -Wl,--exclude-
 libs,ALL -Wl,--enable-auto-import
 -L/projects/postgresql/rel/pg13w64gcc81/lib -L/projects/rel-
 libiconv-1.15w64gcc81/lib -L/projects/zlib/rel-zlib-1.2.11w64gcc81/lib -lm
 -static-libstdc++ -lstdc++ -Wl,-Bdynamic -lm
 -LE:/jenkins/postgresql/rel/pg13w64gcc81/lib -lpostgres -lpgcommon
 -lpgport -lxml2 -lz -lws2_32 -lm  -lws2_32 -Wl,--export-all-symbols -Wl
 ,--out-implib=libpostgis-3.2.a
 C:/ming64gcc81/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 cannot find -lprotobuf-c
 collect2.exe: error: ld returned 1 exit status
 make[1]: ***
 [E:/jenkins/postgresql/rel/pg13w64gcc81/lib/pgxs/src/makefiles/../../src/Makefile.shlib:370:
 postgis-3.2.dll] Error 1
 make[1]: Leaving directory '/projects/postgis/branches/3.2/postgis'
 make: *** [GNUmakefile:22: all] Error 1

 e:\jenkins\postgis>exit 2
 Build step 'Execute Windows batch command' marked build as failure
 An attempt to send an e-mail to empty list of recipients, ignored.
 }}}


 Looks like winnie' has been broken for a week or so.  I haven't tried
 compiling in past week.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4977>
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