Bug 225244

Summary: math/saga: conflicts with Grass7
Product: Ports & Packages Reporter: Loïc Bartoletti <lbartoletti>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi, rhurlin, yuri
Priority: --- Flags: rhurlin: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 225281    
Bug Blocks:    

Description Loïc Bartoletti freebsd_committer freebsd_triage 2018-01-17 03:13:21 UTC
Hi Rainer,

I just saw a conflicts between math/saga and databases/grass7:
  - liblas-1.8.1_8 conflicts with liblas12-1.2.1 on /usr/local/bin/las2las

Is it possible to update liblas for Saga?

Regards
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2018-01-17 12:21:20 UTC
Hi Loïc,

That has been discussed in the SAGA developer list[1] several times. SAGA GIS depends on the API of liblas12 in a way, that it is not trivial to make changes towards liblas18. BTW, Debian Linux also wants to get rid of liblas12 and only use liblas18.

Citing a statement of Volker Wichmann, one of the core devs of SAGA GIS, from Dec 6th, 2017, on the list[2]

> This is - in general - an issue we have on our to-do list since quite a time.
> Our plan is to deprecate libLAS altogether as it will not be developed any
> further. We would like to switch to pdal (https://www.pdal.io/about.html),
> the successor library, which would also allow to support much more formats.
> So far we hesitated because pdal had a dependency on boost, which would
> have complicated support a lot. Now boost is not required any more, but
> C++ 11 and, on windows, Visual Studio 2015. So in order to use it we would
> need the upgrade to use VS 2015 instead of 2010. This is certainly a
> possibility but also a major change.
> 
> So I'm afraid Olaf or me will not put any effort in updating the tool
> library to libLAS 1.8. I'm currently stuck with other things, but it would
> be nice to make a general survey on how well pdal is supported by
> different OS/distributions and compilers in the meantime. Has anybody more
> information on this?

So it will take some time, until SAGA GIS leaves the liblas12 road ;(

On FreeBSD, SAGA GIS seems the only user of this old liblas12 port, as far as I can see. So in the meantime I will try to patch devel/liblas12 to rename conflicting files and dirs, like /usr/local/bin/las2las 
to something like las2las12 or include/liblas to include/liblas12. This may take some time also and I am not sure, if it will work at the end ;)


[1] saga-gis-developer@lists.sourceforge.net
[2] https://sourceforge.net/p/saga-gis/mailman/message/36153346/
Comment 2 Rainer Hurling freebsd_committer freebsd_triage 2018-01-17 20:57:13 UTC
I just filed bug #225281, which should solve the conflict between devel/liblas12 and devel/liblas. 

After this patch is committed, math/saga will be adapted in a follow up.
Comment 3 Loïc Bartoletti freebsd_committer freebsd_triage 2018-01-19 13:06:15 UTC
Great! Thank you.
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2018-09-02 09:01:36 UTC
saga should not longer conflict with grass7, after PR#225281