> From: Greg Troxel > Date: Mon, Sep 19, 2016 at 8:42 AM> Subject: Re: [postgis-devel] PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD> "Regina Obe" writes:>> Just an FYI I'm hoping to have PostGIS 2.3.0 RC1 out in 2 to 3 days. Then>> hopefully final a week or 2 after.> I just built 2.3.0RC1 (from the tag in svn) on netbsd-7 amd64 with pgsql> 9.3.14, and it built and passed regression tests.
Did you by chance try building from the tar ball. Are you building using extensions?
I'm having this problem on my FreeBSD box, probably something stupid I'm doing because of my lack of familiarity with *BSD env.
(I did figure out that I have the same issue building from svn if I have xsltproc installed, so the packaging is not the issue)
I picked a bad day to learn new tricks.
While you are at it, if not too much to ask, were you ever able to build from PostGIS 2.2.2 tag or tar ball. I ran into this issue try to do so on FreeBSD using the tar ball.
Note at end of ticket - https://trac.osgeo.org/postgis/ticket/2985 (I think one of the patches you or Bas provided fixed this so I don't see it in trunk or 2.2 branch)
rtpg_geometry.c:105:42: error: too many arguments to function call, expected 2, have 3
gser = gserialized_from_lwgeom(geom, 0, &gser_size);
/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom' declared here
extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);
rtpg_geometry.c:184:42: error: too many arguments to function call, expected 2, have 3
rtpg_geometry.c:326:81: error: too many arguments to function call, expected 2, have 3
gser = gserialized_from_lwgeom(lwpoly_as_lwgeom(geomval2[call_cntr].geom), 0, &gser_size);
rtpg_geometry.c:628:59: error: too many arguments to function call, expected 2, have 3
gser = gserialized_from_lwgeom(pix2[call_cntr].geom, 0, &gser_size);
4 errors generated.
gmake: *** [<builtin>: rtpg_geometry.o] Error 1
gmake: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster/rt_pg'
gmake: *** [Makefile:28: pglib] Error 2
gmake: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster'
gmake: *** [GNUmakefile:16: all] Error 1
gmake: Leaving directory '/usr/home/robe/sources/postgis-2.2.2'
*** Error code 2
I misspoke about this error –
I still see it in svn 2.2 branch. So I think it was this patch you provided that fixed it
Given that I haven't seen any issues with it on 2.3, and seems absolutely necessary for *BSD, I'm going to go commit it on 2.2 as well.
Let me know if anyone has issue with that.