[postgis-tickets] [PostGIS] #4834: protobuf checking on berrie causing compile to fail

PostGIS trac at osgeo.org
Thu Jan 28 13:30:13 PST 2021


#4834: protobuf checking on berrie causing compile to fail
-----------------------+---------------------------
 Reporter:  robe       |      Owner:  robe
     Type:  defect     |     Status:  new
 Priority:  medium     |  Milestone:  PostGIS 3.1.2
Component:  buildbots  |    Version:  3.1.x
 Keywords:             |
-----------------------+---------------------------
 Did something change recently with our protobuf checking.

 I'm seeing this on berrie (Rasberry Pi 32-bit).
 She does not have protobuf installed and never has to my knowledge.
 Seeing this now both on berrie's 3.1 and 3.2 (master) runs

 {{{
 15:48:33 checking for PROTOBUFC... no
 15:48:33 libprotobuf-c not found in pkg-config
 15:48:33 checking protobuf-c/protobuf-c.h usability... no
 15:48:33 checking protobuf-c/protobuf-c.h presence... no
 15:48:33 checking for protobuf-c/protobuf-c.h... no
 15:48:33 configure: error: unable to find protobuf-c/protobuf-c.h using
 CPPFLAGS. You can disable MVT and Geobuf support using --without-protobuf

 }}}



 Before this would just cause MVT to be disabled.  Now as of January 15th
 it's failing as it's trying to compile with proto-buf.

 But unfortunately some other stuff was going on with hardware so hard to
 pinpoint when this particular error started.

 Last success was Jan 13th -
 https://debbie.postgis.net/job/PostGIS_Worker_Run/2430/label=berrie/consoleFull

 showed this:


 {{{

 04:23:11
 04:23:11   PostGIS is now configured for aarch64-unknown-linux-gnu
 04:23:11
 04:23:11  -------------- Compiler Info -------------
 04:23:11   C compiler:           gcc -std=gnu99 -g -O2 -fno-math-errno
 -fno-signed-zeros
 04:23:11   CPPFLAGS:              -I/usr/include   -I/usr/include/libxml2
 -I/usr/include/json-c  -DNDEBUG
 04:23:12   LDFLAGS:               -lm
 04:23:12   SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
 04:23:12
 04:23:12  -------------- Additional Info -------------
 04:23:12   Interrupt Tests:   DISABLED use: --with-interrupt-tests to
 enable
 04:23:12
 04:23:12  -------------- Dependencies --------------
 04:23:12   GEOS config:          /usr/bin/geos-config
 04:23:12   GEOS version:         3.7.1
 04:23:12   GDAL config:          /usr/bin/gdal-config
 04:23:12   GDAL version:         2.4.0
 04:23:12   PostgreSQL config:
 /home/jenkins/workspace/pg/label/berrie/rel/pg12w32/bin/pg_config
 04:23:12   PostgreSQL version:   PostgreSQL 12.5
 04:23:12   PROJ4 version:        52
 04:23:12   Libxml2 config:       /usr/bin/xml2-config
 04:23:12   Libxml2 version:      2.9.4
 04:23:12   JSON-C support:       yes
 04:23:12   protobuf support:     no
 04:23:12   PCRE support:         yes
 04:23:12   Perl:                 /usr/bin/perl
 04:23:12
 04:23:12  --------------- Extensions ---------------
 04:23:12   PostGIS Raster:                     enabled
 04:23:12   PostGIS Topology:                   enabled
 04:23:12   SFCGAL support:                     disabled
 04:23:12   Address Standardizer support:       enabled
 04:23:12
 04:23:12  -------- Documentation Generation --------
 04:23:12   xsltproc:             /usr/bin/xsltproc
 04:23:12   xsl style sheets:     /usr/share/xml/docbook/stylesheet
 /docbook-xsl
 04:23:12   dblatex:
 04:23:12   convert:
 04:23:12   mathml2.dtd:
 /usr/share/xml/schema/w3c/mathml/dtd/mathml2.dtd
 }}}

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