Opened 10 years ago

Closed 10 years ago

#3121 closed defect (fixed)

PostgreSQL 9.5 fails compiling against 2.2 in twkb

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by robe)

Yikes — can't have this. Started happening with pull this weekend.

/lib/jenkins/workspace/pg/rel/pg9.5w64/include/postgresql/internal -D_GNU_SOURCE   -c -o lwgeom_inout.o lwgeom_inout.c
lwgeom_inout.c: In function ‘TWKBFromLWGEOMArray’:
lwgeom_inout.c:538: error: too few arguments to function ‘array_create_iterator’
lwgeom_inout.c:539: error: too few arguments to function ‘array_create_iterator’
make[1]: *** [lwgeom_inout.o] Error 1
make[1]: Leaving directory `/var/lib/jenkins/workspace/postgis/regress_pgdev/branches/2.2/postgis'

I suspect it was this commit of Tom's that broke our build:

https://github.com/postgres/postgres/commit/1dc5ebc9077ab742079ce5dac9a6664248d42916

Change History (5)

comment:1 by robe, 10 years ago

Description: modified (diff)

comment:3 by robe, 10 years ago

Note from Peter Geoghegan for completeness - guess I got the commit wrong and should be: https://github.com/postgres/postgres/commit/13dbc7a8

though something doesn't seem right. That commit was done in March and I'm pretty sure debbie has been pulling the tar balls and rebuilding and we've even had regression issues since then. So why it's failing now is very odd.


On Sun, May 17, 2015 at 6:07 PM, wrote:

I suspect the problem commit is this: https://github.com/postgres/postgres/commit/1dc5ebc9077ab742079ce5dac9 a6664248d42916

Looks like commit 13dbc7a8 to me.

It is safe to just add a third argument to that function call, NULL. That's all that was done for the array_create_iterator() call in pl_exec.c by commit 13dbc7a8.

— Peter Geoghegan


Version 1, edited 10 years ago by robe (previous) (next) (diff)

comment:4 by robe, 10 years ago

Owner: changed from nicklas to pramsey

comment:5 by pramsey, 10 years ago

Resolution: fixed
Status: newclosed

Fixed at r13524

Note: See TracTickets for help on using tickets.