[postgis-devel] Soft launch: PostGIS 2.2.7, 2.3.7, 2.4.4

Devrim Gündüz devrim at gunduz.org
Mon Apr 2 00:52:21 PDT 2018


Hi Regina,

On Mon, 2018-04-02 at 02:45 -0400, Regina Obe wrote:
> I plan to do the official release of PostGIS 2.2.7, 2.3.7, 2.4.4 this
> Friday.
> 
> I would appreciate if folks and in particular packagers do a test to make
> sure all works well.
> 
> The tar balls are located here:

<snip>

What would it take to add PostgreSQL 10 "build" support to 2.2 branch? PostGIS
RPMs ship "$majorversion - 1".so files for upgrade support. So, if we want to
have 2.3 RPMs in PostgreSQL 10 repos, then 2.2 must be just built as well.

This is what I'm getting:

=====================================
---- Making all in libpgcommon
make[2]: Entering directory '/var/lib/pgsql/git/pgrpms/rpm/redhat/master/postgis23/master/postgis-2.3.6/postgis-2.2.6/libpgcommon'
gcc -I../liblwgeom -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -I/usr/pgsql-10/include/server -I/usr/proj49/include  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o gserialized_gist.o gserialized_gist.c
In file included from gserialized_gist.c:17:0:
../postgis_config.h:150:42: error: missing binary operator before token "10PostgreSQL"
 #define POSTGIS_PGSQL_VERSION PostgreSQL 10PostgreSQL 13
                                          ^
lwgeom_pg.h:135:5: note: in expansion of macro 'POSTGIS_PGSQL_VERSION'
 #if POSTGIS_PGSQL_VERSION >= 85
     ^~~~~~~~~~~~~~~~~~~~~
In file included from gserialized_gist.c:23:0:
gserialized_gist.c: In function 'gidx_from_gbox_p':
gserialized_gist.c:98:25: error: 'FLT_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
     GIDX_SET_MIN(a,2,-1*FLT_MAX);
                         ^
gserialized_gist.h:72:75: note: in definition of macro 'GIDX_SET_MIN'
 #define GIDX_SET_MIN(gidx, dimension, value) ((gidx)->c[2*(dimension)] = (value))
                                                                           ^~~~~
gserialized_gist.c:98:25: note: each undeclared identifier is reported only once for each function it appears in
     GIDX_SET_MIN(a,2,-1*FLT_MAX);
                         ^
gserialized_gist.h:72:75: note: in definition of macro 'GIDX_SET_MIN'
 #define GIDX_SET_MIN(gidx, dimension, value) ((gidx)->c[2*(dimension)] = (value))
                                                                           ^~~~~
gserialized_gist.c: In function 'gserialized_datum_get_gidx_p':
gserialized_gist.c:277:27: error: 'FLT_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
    GIDX_SET_MIN(gidx,2,-1*FLT_MAX);
                           ^
gserialized_gist.h:72:75: note: in definition of macro 'GIDX_SET_MIN'
 #define GIDX_SET_MIN(gidx, dimension, value) ((gidx)->c[2*(dimension)] = (value))
                                                                           ^~~~~
make[2]: *** [Makefile:61: gserialized_gist.o] Error 1
make[2]: Leaving directory '/var/lib/pgsql/git/pgrpms/rpm/redhat/master/postgis23/master/postgis-2.3.6/postgis-2.2.6/libpgcommon'
make[1]: *** [GNUmakefile:16: all] Error 1
make[1]: Leaving directory '/var/lib/pgsql/git/pgrpms/rpm/redhat/master/postgis23/master/postgis-2.3.6/postgis-2.2.6'
error: Bad exit status from /var/tmp/rpm-tmp.u3OLVw (%install)
=====================================

Again, this is for upgrade purposes, and all I want is just a clean build.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180402/1608d617/attachment.sig>


More information about the postgis-devel mailing list