[postgis-tickets] [PostGIS] #3950: PostGIS trunk doesn't work against 9.5
PostGIS
trac at osgeo.org
Fri Dec 22 20:38:06 PST 2017
#3950: PostGIS trunk doesn't work against 9.5
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.5.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+---------------------------
Description changed by robe:
Old description:
> I guess we can't use the ALLOC small sizes for 9.5
>
> This is showing on winnie's 9.5 and 9.4 tests
> {{{
> prototypes -c -o lwgeom_transform.o lwgeom_transform.c
> lwgeom_transform.c: In function 'AddToPROJ4SRSCache':
> lwgeom_transform.c:545:42: error: 'ALLOCSET_SMALL_SIZES' undeclared
> (first use in this function)
> ALLOCSET_SMALL_SIZES);
> ^
> lwgeom_transform.c:545:42: note: each undeclared identifier is reported
> only once for each function it appears in
> lwgeom_transform.c:545:42: error: too few arguments to function
> 'AllocSetContextCreate'
> In file included from lwgeom_transform.c:18:0:
> E:/jenkins/postgresql/rel/pg9.5w64gcc48/include/server/utils/memutils.h:131:22:
> note: declared here
> extern MemoryContext AllocSetContextCreate(MemoryContext parent,
> ^
> Makefile:61: recipe for target 'lwgeom_transform.o' failed
> make[1]: *** [lwgeom_transform.o] Error 1
> make[1]: Leaving directory '/projects/postgis/branches/2.5/libpgcommon'
> GNUmakefile:16: recipe for target 'all' failed
> make: *** [all] Error 1
> }}}
New description:
I guess we can't use the ALLOC small sizes for 9.5
This is showing on winnie's 9.5 tests
{{{
prototypes -c -o lwgeom_transform.o lwgeom_transform.c
lwgeom_transform.c: In function 'AddToPROJ4SRSCache':
lwgeom_transform.c:545:42: error: 'ALLOCSET_SMALL_SIZES' undeclared (first
use in this function)
ALLOCSET_SMALL_SIZES);
^
lwgeom_transform.c:545:42: note: each undeclared identifier is reported
only once for each function it appears in
lwgeom_transform.c:545:42: error: too few arguments to function
'AllocSetContextCreate'
In file included from lwgeom_transform.c:18:0:
E:/jenkins/postgresql/rel/pg9.5w64gcc48/include/server/utils/memutils.h:131:22:
note: declared here
extern MemoryContext AllocSetContextCreate(MemoryContext parent,
^
Makefile:61: recipe for target 'lwgeom_transform.o' failed
make[1]: *** [lwgeom_transform.o] Error 1
make[1]: Leaving directory '/projects/postgis/branches/2.5/libpgcommon'
GNUmakefile:16: recipe for target 'all' failed
make: *** [all] Error 1
}}}
So I guess 1 of two options, we can IF DEF for 9.5 or just have 9.5 go
down the yee old path like 9.4
--
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3950#comment:1>
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