Bug 225264

Summary: databases/pgrouting does not install with postgis24
Product: Ports & Packages Reporter: allen
Component: Individual Port(s)Assignee: Loïc Bartoletti <lbartoletti>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: harrison.grundy, lbartoletti
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (lbartoletti)
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213038
https://reviews.freebsd.org/D17320

Description allen 2018-01-17 16:07:08 UTC
databases/pgrouting has postgis22 as a requirement, preventing it from installing when e.g. postgis24 is already installed.  Exact output seen when attempting to install is:

===>  Staging for pgrouting-2.5.2
===>   pgrouting-2.5.2 depends on file: /usr/local/share/postgresql/contrib/postgis-2.2/postgis.sql - not found

===>  postgis22-2.2.6_1 conflicts with installed package(s): 
      postgis24-2.4.2

pgrouting does work with postgis 2.4, so the port should be updated to work with either/both.
Comment 1 Loïc Bartoletti freebsd_committer freebsd_triage 2018-02-03 07:43:56 UTC
Yes, it's know with all postgis conflicts.

see bug #213038
Comment 2 Loïc Bartoletti freebsd_committer freebsd_triage 2018-11-03 08:01:41 UTC
With https://reviews.freebsd.org/D17320 only the latest stable postgis version will be available.
Comment 3 Loïc Bartoletti freebsd_committer freebsd_triage 2019-03-16 12:42:05 UTC
(In reply to lbartoletti from comment #2)
This is not true, since we keep the versions maintained.
So by default pgrouting will use the latest version of postgis in ports.

Is there a need to have another version of postgis rather than the last one?
Comment 4 Loïc Bartoletti freebsd_committer freebsd_triage 2019-03-28 19:09:00 UTC
could it be closed?
Comment 5 Harrison Grundy 2020-03-08 12:49:01 UTC
lbartoletti@freebsd.org is now a committer, assigning accordingly.
Comment 6 Harrison Grundy 2020-03-08 12:49:13 UTC
The default behaviour seems okay, pgrouting doesn't actually care which version it gets, so ideally, it'd just take whatever PostGIS version is already installed.

As long as that isn't possible, the current behaviour is probably as good as this gets.

Do you want to look at that, or just close it as is?
Comment 7 Loïc Bartoletti freebsd_committer freebsd_triage 2020-06-03 19:10:32 UTC
pgrouting 3.0.0 uses postgis 3