[postgis-tickets] [PostGIS] #4632: Can't compile against pg13 no such file - utils/jsonapi.h

PostGIS trac at osgeo.org
Thu Jan 30 03:00:27 PST 2020


#4632: Can't compile against pg13 no such file - utils/jsonapi.h
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.1.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by Algunenano):

 I updated Travis latest docker image and it shows the same error (https
 ://travis-ci.org/Algunenano/postgis/jobs/643787692):
 {{{
 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-
 security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-
 format-truncation -Wno-stringop-truncation -g -ggdb -Og -g3 -fno-omit-
 frame-pointer -fPIC -I../liblwgeom -std=gnu99 -g -O2 -mtune=generic -fno-
 omit-frame-pointer -Werror -Wall -Wextra -Wformat -Werror=format-security
 -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-unknown-warning-
 option -Wno-cast-function-type -fno-math-errno -fno-signed-zeros
 -I../libpgcommon -I../deps/wagyu -I../deps/uthash/include
 -I/usr/local/include -I/usr/local/include  -I/usr/include/libxml2
 -I/usr/local/include -I/usr/include/json-c  -DNDEBUG   -fPIC -DPIC
 -I/usr/local/include -I. -I./ -I/usr/local/pgsql/include/server
 -I/usr/local/pgsql/include/internal  -D_GNU_SOURCE   -c -o
 postgis_legacy.o postgis_legacy.c
 lwgeom_out_geojson.c:20:10: fatal error: utils/jsonapi.h: No such file or
 directory
    20 | #include "utils/jsonapi.h"
       |          ^~~~~~~~~~~~~~~~~
 compilation terminated.
 }}}

 It should be easy to fix. I'll give it a try.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4632#comment:3>
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