Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YXN0b-0004mV-Pn for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Mar 2015 04:52:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YXN0a-000215-Ck for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Mar 2015 04:52:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YXN0Z-00020w-PP for pgsql-bugs@postgresql.org; Mon, 16 Mar 2015 04:52:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YXN0V-0006Pv-Iw for pgsql-bugs@postgresql.org; Mon, 16 Mar 2015 04:52:06 +0000 MIME-Version: 1.0 Subject: BUG #12869: PostGIS 2.2 can't compile against 9.5 dev branch To: pgsql-bugs@postgresql.org From: lr@pcorp.us Date: Mon, 16 Mar 2015 04:51:19 +0000 Message-ID: <20150316045119.4795.70848@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 12869 Logged by: Regina Obe Email address: lr@pcorp.us PostgreSQL version: Unsupported/Unknown Operating system: Debian and Mingw-w64 Description: I think something changed in the past 7 days to cause our PostGIS 2.2/9.5 compile to fail. The PostGIS debian Jenkins bot pulls the latest snapshot of 9.5 and compiles our upcoming PostGIS 2.2 trunk against it every weekend. This weekend, it failed to compile. I'm not sure if it's something that needs changing in PostGIS code or some issue in 9.5 recent code changes. The error we get is this: /pg9.5w64/include/postgresql/internal -D_GNU_SOURCE -c -o lwgeom_geos.o lwgeom_geos.c lwgeom_geos.c: In function ‘errorIfGeometryCollection’: lwgeom_geos.c:1730: error: ‘DBL_DIG’ undeclared (first use in this function) lwgeom_geos.c:1730: error: (Each undeclared identifier is reported only once lwgeom_geos.c:1730: error: for each function it appears in.) make[1]: *** [lwgeom_geos.o] Error 1 make[1]: Leaving directory `/var/lib/jenkins/workspace/postgis/regress_pgdev/branches/2.2/postgis' make: *** [all] Error 1 I also tried on my windows desktop pulling latest 9.5 snapshot and compiling under mingw-w64 and get similar error. lwgeom_geos.c: In function 'errorIfGeometryCollection': lwgeom_geos.c:1730:46: error: 'DBL_DIG' undeclared (first use in this function) hintwkt = lwgeom_to_wkt(lwgeom, WKT_SFSQL, DBL_DIG, &hintsz); Other versions of PostgreSQL are not affected. I have the issue in our bug tracker as well here: http://trac.osgeo.org/postgis/ticket/3079 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs