PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD

Regina Obe
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.

That said, it would be really nice if we can have a fix for FreeBSD for this
issue before final release time (for both PostGIS 2.2.3, 2.3.0)

https://trac.osgeo.org/postgis/ticket/2985


As noted in the ticket only seems to happen on FreeBSD.
I too have tried on FreeBSD and it crashes, but can't get my non-FreeBSD
(windows, debian, Ubuntu) servers to crash on it.

Any help resolving the issue is much appreciated.

Thanks,
Regina

_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel
Reply | Threaded
Open this post in threaded view
|

Re: PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD

Greg Troxel

"Regina Obe" <[hidden email]> 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.

_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel

signature.asc (167 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD

Regina Obe
In reply to this post by Regina Obe


> 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.

 

 

Greg,

 

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)

 

https://trac.osgeo.org/postgis/ticket/3639

 

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

        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: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);

                       ~~~~~~~~~~~~~~~~~~~~~~~                                                ^~~~~~~~~~

/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:628:59: error: too many arguments to function call, expected 2, have 3

                gser = gserialized_from_lwgeom(pix2[call_cntr].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);

^

4 errors generated.

gmake[3]: *** [<builtin>: rtpg_geometry.o] Error 1

gmake[3]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster/rt_pg'

gmake[2]: *** [Makefile:28: pglib] Error 2

gmake[2]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster'

gmake[1]: *** [GNUmakefile:16: all] Error 1

gmake[1]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2'

*** Error code 2

 

 

 

Thanks,

Regina

 

 


_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel

signature.asc (116 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD

Regina Obe
In reply to this post by Regina Obe

Greg,

 

I misspoke about this error –

 

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

        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: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);

                       ~~~~~~~~~~~~~~~~~~~~~~~                                                ^~~~~~~~~~

/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:628:59: error: too many arguments to function call, expected 2, have 3

                gser = gserialized_from_lwgeom(pix2[call_cntr].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);

^

4 errors generated.

gmake[3]: *** [<builtin>: rtpg_geometry.o] Error 1

gmake[3]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster/rt_pg'

gmake[2]: *** [Makefile:28: pglib] Error 2

gmake[2]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster'

gmake[1]: *** [GNUmakefile:16: all] Error 1

gmake[1]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2'

*** Error code 2

 

 

I still see it in svn 2.2 branch. So I think it was this patch you provided that fixed it

For 2.3

 

https://trac.osgeo.org/postgis/ticket/3604

 

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.

 

 

Thanks,

Regina

 

 


_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel