From owner-freebsd-ports-bugs@freebsd.org Tue May 1 19:40:53 2018 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 10920FB5996 for ; Tue, 1 May 2018 19:40:53 +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 5ED407C985 for ; Tue, 1 May 2018 19:40:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 18CF0FB5989; Tue, 1 May 2018 19:40:52 +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 E862BFB5987 for ; Tue, 1 May 2018 19:40:51 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 849BE7C980 for ; Tue, 1 May 2018 19:40:51 +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 B522617D43 for ; Tue, 1 May 2018 19:40:50 +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 w41JeolJ056901 for ; Tue, 1 May 2018 19:40:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w41Jeosh056900 for ports-bugs@FreeBSD.org; Tue, 1 May 2018 19:40:50 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 226962] databases/postgis24 Question: How to run postgis24 with postgresql10 ? Date: Tue, 01 May 2018 19:40:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: john@acru.co.uk 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: cc Message-ID: In-Reply-To: References: 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.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2018 19:40:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226962 John Parkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john@acru.co.uk --- Comment #3 from John Parkey --- I am having a similar problem. I am building using synth, on FreeBSD 11.1. My /etc/make.conf contains a line to add DEFAULT_VERSIONS+=3Dpgsql=3D10 I have cleared down the whole environment, so that I am building everything from scratch. First I build postgresql10-server, -client, -contrib, to make sure that they are all there. If I then try to build postgis24, something = in the dependency tree causes postgresql95-server to be pulled in. I stripped it right back and found that graphics/gdal pulls in 17 dependenc= ies, and this results in postgresql95-server being built again. I edited the Makefile for graphics/gdal to include 'pgsql' in the USES directive, but th= is didn't solve the problem. Looking at the dependencies, it wasn't clear to = me what was causing this - I thought that it might be something to do with graphics/libgeotiff, but I couldn't find anything definitive (and, to be honest, I don't really know what I am looking for). I edited /usr/ports/Mk/bsd.default-versions.mk and set PGSQL_DEFAULT?=3D 10= - this allowed graphics/gdal to build, and so then I tried databases/postgis24 which pulled in a further 168 dependencies, and everything built cleanly (hurrah! finally some progress after two days). The remaining 728 packages= are building now, so I am hopeful that they will complete without postgresql95 being pulled in again. Clearly what I have done is a bit of a hack, and I risk the bsd.default-versions.mk file being overwritten at some point when I refresh= the ports, but hopefully it will help to narrow down the source of the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=