Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 665430

Summary: [some(?) overlay] sci-libs/opencascade-7.2.0 file collisions with sci-libs/oce-0.18.3
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED INVALID    
Severity: normal CC: jstein, proxy-maint, rossi.f, zoltan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2018-09-07 11:36:23 UTC
This is just a 'heads up' since I have installed opencascade-7.2.0 which is not in the tree, yet.

Installation of sci-libs/oce-0.18.3 fails with

 * Detected file collision(s):
 * 
 * 	/usr/bin/DRAWEXE
 * 	/usr/lib64/libTKXCAF.so
 * 	/usr/lib64/libTKTopAlgo.so
 * 	/usr/lib64/libTKXmlTObj.so
 * 	/usr/lib64/libTKG2d.so
 * 	/usr/lib64/libTKBO.so
 * 	/usr/lib64/libTKCDF.so
 * 	/usr/lib64/libTKBinXCAF.so
 * 	/usr/lib64/libTKMath.so
 * 	/usr/lib64/libTKOpenGl.so
 * 	/usr/lib64/libTKXSBase.so
 * 	/usr/lib64/libTKBRep.so
 * 	/usr/lib64/libTKV3d.so
 * 	/usr/lib64/libTKXml.so
 * 	/usr/lib64/libTKIGES.so
 * 	/usr/lib64/libTKXDESTEP.so
 * 	/usr/lib64/libTKPrim.so
 * 	/usr/lib64/libTKBool.so
 * 	/usr/lib64/libTKG3d.so
 * 	/usr/lib64/libTKMesh.so
 * 	/usr/lib64/libTKGeomAlgo.so
 * 	/usr/lib64/libTKXDEIGES.so
 * 	/usr/lib64/libTKVRML.so
 * 	/usr/lib64/libTKXmlXCAF.so
 * 	/usr/lib64/libTKHLR.so
 * 	/usr/lib64/libTKOffset.so
 * 	/usr/lib64/libTKGeomBase.so
 * 	/usr/lib64/libTKTObj.so
 * 	/usr/lib64/libTKFillet.so
 * 	/usr/lib64/libTKSTEP209.so
 * 	/usr/lib64/libTKSTEPAttr.so
 * 	/usr/lib64/libTKBin.so
 * 	/usr/lib64/libTKLCAF.so
 * 	/usr/lib64/libTKService.so
 * 	/usr/lib64/libTKSTL.so
 * 	/usr/lib64/libTKXmlL.so
 * 	/usr/lib64/libTKSTEP.so
 * 	/usr/lib64/libTKXMesh.so
 * 	/usr/lib64/libTKMeshVS.so
 * 	/usr/lib64/libTKShHealing.so
 * 	/usr/lib64/libTKBinTObj.so
 * 	/usr/lib64/libTKFeat.so
 * 	/usr/lib64/libTKernel.so
 * 	/usr/lib64/libTKSTEPBase.so
 * 	/usr/lib64/libTKBinL.so
 * 	/usr/lib64/libTKCAF.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sci-libs/opencascade-7.2.0:7.2.0::local
 * 	/usr/bin/DRAWEXE
 * 	/usr/lib/libTKBO.so
 * 	/usr/lib/libTKBRep.so
 * 	/usr/lib/libTKBinXCAF.so
 * 	/usr/lib/libTKBool.so
 * 	/usr/lib/libTKCDF.so
 * 	/usr/lib/libTKG2d.so
 * 	/usr/lib/libTKG3d.so
 * 	/usr/lib/libTKIGES.so
 * 	/usr/lib/libTKMath.so
 * 	/usr/lib/libTKMesh.so
 * 	/usr/lib/libTKOpenGl.so
 * 	/usr/lib/libTKPrim.so
 * 	/usr/lib/libTKTopAlgo.so
 * 	/usr/lib/libTKV3d.so
 * 	/usr/lib/libTKXCAF.so
 * 	/usr/lib/libTKXDESTEP.so
 * 	/usr/lib/libTKXSBase.so
 * 	/usr/lib/libTKXml.so
 * 	/usr/lib/libTKXmlTObj.so
 * 
 * Package 'sci-libs/oce-0.18.3' NOT merged due to file collisions. If
Comment 1 Fabio Rossi 2018-09-11 12:22:31 UTC
Currently the only version of opencascade in the tree is slotted (i.e. all the libs are under /usr/lib64/opencascade-<version>) so this bug should be closed as invalid. The opencascade ebuild you are using is different from that in portage.

I see another problem. The current OCE ebuild in the tree is slotted too but installs directly below /usr, that would generate conflicts for sure when another version will be added to the tree. That must be fixed.

OCE and opencascade in principle offer the same libraries so the only way to have them installed in parallel in the system is to change accordingly the installation paths (having them slotted satisfies implicitly this request besides offering the possibility to have many versions installed in parallel).

My impression is that OCE is not updated often, the latest official release is associated to opencascade 6.9.1 which is quite old (latest is 7.3.0).

Possible discussion points:

* do we need slotted versions for opencascade/oce? 

* do we need opencascade and oce install-able in parallel?