From owner-freebsd-ports-bugs@freebsd.org Thu Jan 10 08:58:45 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A13181481F34 for ; Thu, 10 Jan 2019 08:58:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3A66071B2B for ; Thu, 10 Jan 2019 08:58:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F193C1481F33; Thu, 10 Jan 2019 08:58:44 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF1CB1481F32 for ; Thu, 10 Jan 2019 08:58:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 547EA71B2A for ; Thu, 10 Jan 2019 08:58:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 79E4D1B635 for ; Thu, 10 Jan 2019 08:58:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0A8whlt075784 for ; Thu, 10 Jan 2019 08:58:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0A8whLK075783 for ports-bugs@FreeBSD.org; Thu, 10 Jan 2019 08:58:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 234813] databases/postgis22: error: token is not a valid binary operator in a preprocessor subexpression Date: Thu, 10 Jan 2019 08:58:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2019 08:58:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234813 Bug ID: 234813 Summary: databases/postgis22: error: token is not a valid binary operator in a preprocessor subexpression Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ohartmann@walstatt.org CC: rhurlin@gwdg.de Flags: maintainer-feedback?(rhurlin@gwdg.de) CC: rhurlin@gwdg.de On FBSD 12-STABLE (FreeBSD 12.0-STABLE #257 r342843: Mon Jan 7 08:01:54 CET 2019 amd64) running PostgreSQL-11 server (most recent /usr/ports tree, psql server recompiled!), updating postgis22 fails with this compilation error: [...] gmake[4]: Entering directory '/usr/ports/databases/postgis22/work/postgis-2.2.6/libpgcommon' cc -I../liblwgeom -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -I/usr/local/include/postgresql/server -fPIC -DPIC= =20 -Wall -Wmissing-prototypes -c -o gserialized_gist.o gserialized_gist.c In file included from gserialized_gist.c:22: ./lwgeom_pg.h:135:5: error: token is not a valid binary operator in a preprocessor subexpression #if POSTGIS_PGSQL_VERSION >=3D 85 ^~~~~~~~~~~~~~~~~~~~~ ./../postgis_config.h:150:42: note: expanded from macro 'POSTGIS_PGSQL_VERS= ION' #define POSTGIS_PGSQL_VERSION PostgreSQL 11PostgreSQL 11 ~~~~~~~~~~ ^ gserialized_gist.c:98:25: error: use of undeclared identifier 'FLT_MAX' GIDX_SET_MIN(a,2,-1*FLT_MAX); ^ gserialized_gist.c:99:22: error: use of undeclared identifier 'FLT_MAX' GIDX_SET_MAX(a,2,FLT_MAX); ^ gserialized_gist.c:277:27: error: use of undeclared identifier 'FLT_MAX' GIDX_SET_MIN(gidx,2,-1*FLT_MAX); ^ gserialized_gist.c:278:24: error: use of undeclared identifier 'FLT_MAX' GIDX_SET_MAX(gidx,2,FLT_MAX); ^ 5 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=