Opened 3 years ago
Closed 3 years ago
#4927 closed defect (fixed)
PostgreSQL 14 compile failure with master
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 3.1.3 |
Component: | postgis | Version: | master |
Keywords: | pg14 | Cc: |
Description
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.
Change History (5)
comment:1 by , 3 years ago
Keywords: | pg14 added |
---|
comment:2 by , 3 years ago
comment:3 by , 3 years ago
Owner: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
Okay found smoking change in this commit - https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=e56bce5d43789cce95d099554ae9593ada92b3b7