[postgis-tickets] [PostGIS] #4927: PostgreSQL 14 compile failure with master

PostGIS trac at osgeo.org
Sat Jun 12 15:39:16 PDT 2021


#4927: PostgreSQL 14 compile failure with master
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 3.1.3
Component:  postgis  |    Version:  master
 Keywords:           |
---------------------+---------------------------
 PostgreSQL 14 can't compile against PostGIS head.
 Getting this error during configure.


 {{{
 20:58:15 make[1]: Entering directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/libpgcommon'
 20:58:15 gcc -I../liblwgeom
 -I/var/lib/jenkins/workspace/geos/rel-3.9w64/include
 -I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c  -DNDEBUG
 -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros
 -I/var/lib/jenkins/workspace/pg/rel/pg14w64/include/postgresql/server
 -fPIC -DPIC  -c -o gserialized_gist.o gserialized_gist.c
 20:58:16 gcc -I../liblwgeom
 -I/var/lib/jenkins/workspace/geos/rel-3.9w64/include
 -I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c  -DNDEBUG
 -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros
 -I/var/lib/jenkins/workspace/pg/rel/pg14w64/include/postgresql/server
 -fPIC -DPIC  -c -o lwgeom_transform.o lwgeom_transform.c
 20:58:16 gcc -I../liblwgeom
 -I/var/lib/jenkins/workspace/geos/rel-3.9w64/include
 -I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c  -DNDEBUG
 -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros
 -I/var/lib/jenkins/workspace/pg/rel/pg14w64/include/postgresql/server
 -fPIC -DPIC  -c -o lwgeom_cache.o lwgeom_cache.c
 20:58:17 gcc -I../liblwgeom
 -I/var/lib/jenkins/workspace/geos/rel-3.9w64/include
 -I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c  -DNDEBUG
 -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros
 -I/var/lib/jenkins/workspace/pg/rel/pg14w64/include/postgresql/server
 -fPIC -DPIC  -c -o lwgeom_pg.o lwgeom_pg.c
 20:58:17 lwgeom_pg.c: In function ‘postgis_get_full_version_schema’:
 20:58:17 lwgeom_pg.c:121:28: error: too few arguments to function
 ‘FuncnameGetCandidates’
 20:58:17   121 |  FuncCandidateList clist = FuncnameGetCandidates(names,
 -1, NIL, false, false, false);
 20:58:17       |                            ^~~~~~~~~~~~~~~~~~~~~
 20:58:17 In file included from lwgeom_pg.c:32:
 20:58:17
 /var/lib/jenkins/workspace/pg/rel/pg14w64/include/postgresql/server/catalog/namespace.h:99:26:
 note: declared here
 20:58:17    99 | extern FuncCandidateList FuncnameGetCandidates(List
 *names,
 20:58:17       |                          ^~~~~~~~~~~~~~~~~~~~~
 20:58:17 make[1]: *** [Makefile:64: lwgeom_pg.o] Error 1
 20:58:17 make[1]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/libpgcommon'
 20:58:17 make: *** [GNUmakefile:22: all] Error 1
 20:58:17 Build step 'Execute shell' marked build as failure
 }}}


 Looks like this has been happening since June 10th.  Unfortunately my
 PostgreSQL build logs only keep like the last 30 builds and a lot has been
 happening in PostgreSQL repo in the past 2 days.

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