Bug#808606: libgdal1i: circular dependency hell

Sebastiaan Couwenberg sebastic at xs4all.nl
Mon Dec 21 13:35:39 UTC 2015


Hi Bill,

Thanks for reporting this issue, we are well are of it, but there is no
good solution currently.

On 21-12-15 13:47, Bill Allombert wrote:
> There is a circular dependency between libgdal1i, liblwgeom-2.2-2,
> libopenscenegraph100v5, libsfcgal1 and libspatialite7:
> 
> libgdal1i 	:Depends: libspatialite7 (>= 4.2.0)
> liblwgeom-2.2-2 	:Depends: libsfcgal1 (>= 1.1.0)
> libopenscenegraph100v5 	:Depends: libgdal1i (>= 1.11.0)
> libsfcgal1 	:Depends: libopenscenegraph100v5
> libspatialite7 	:Depends: liblwgeom-2.2-2 (>= 2.1.0)
> 
> Complex circular dependencies are known to cause problems during upgrade, so we
> should try to avoid them.

The spatialite->postgis->gdal->spatialite circular dependency is mostly
problematic during geos transition on which all these packages depend.

spatialite depends on postgis for the topology features in liblwgeom,
these will be moved to a separate project (working title rt-topology)
[0], which will remove the spatialite dependency on postgis/liblwgeom.

With the new sfcgal dependency to enable 3D features in postgis we also
have: postgis->sfcgal->openscenegraph->gdal->spatialite->postgis.

Getting rid of liblwgeom dependency on spatialite should resolve that too.

I'm not aware of upgrade problems caused by the current situation, if
they exist and are common we should consider dropping the liblwgeom
dependency already and live with the reduced functionality. But as far
as I can tell that isn't the case.

[0] https://lists.osgeo.org/pipermail/postgis-devel/2015-October/025376.html

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list