MantisBT - Community
View Issue Details
0024940Community[OCCT] OCCT:Modeling Algorithmspublic2014-05-21 09:062014-11-11 12:59
laurie123 
apn 
normalmajor 
closedfixed 
MacOSX
[OCCT] 6.7.1 
[OCCT] 6.8.0[OCCT] 6.8.0 
Not needed
0024940: Cyclic dependency detected between: BOPInt IntTools
There is a cyclic dependency between the two OCC packages BOPInt and IntTools.

Create a java interface package (whatever the correct terminology is) that (indirectly) uses either of the above packages.

Try to wprocess that package on non-windows.

No script.
Just test it.
WOKSteps_jini.edl does a full transitive dependency check on non-windows. (It seems to actually look inside the implementation files, not just rely on CDL declarations, which is cool.) This seems to run only when doing a java wrapper.

It fails to build our wrapper classes because of this cyclic dependency. We don't directly use either of those packages but we must use something that uses something that does.

This cyclic dependency has been there since OCC6.6.0, I believe.

Just for the record, this aspect of WOK is useful and it would be good when WOK is removed for this cyclic dependency checking tool to be retained, and made to run on Windows too.

I. New features:
 I.1 classes
BOPInt_Context
BOPInt_ShrunkRange
BOPInt_Tools
have been removed

I.2 package BOPInt has been removed

I.3 classes:
IntTools_Context
IntTools_ShrunkRange
have been added to replace corresponding BOPInt_ classes.
The classes provide same functionality as corresponding BOPInt_ classes.

II. Changes:
II.1. classes :
BOPAlgo_ArgumentAnalyzer
BOPAlgo_Builder
BOPAlgo_BuilderArea
BOPAlgo_BuilderFace
BOPAlgo_BuilderSolid
BOPAlgo_CheckerSI
BOPAlgo_PaveFiller
BOPAlgo_ShellSplitter
BOPTools_AlgoTools3D
BRepFill_TrimShellCorner
IntTools_BeanFaceIntersector
IntTools_EdgeFace
IntTools_FaceFace
IntTools_Tools
have been modified to use new classes IntTools_Context IntTools_ShrunkRange

II.2. class:
IntTools_Tools
has been modofied to provide the functionality that was in BOPInt_Tools

III. Modified entities:
packages:
BOPAlgo
BOPTools
BRepFill
IntTools
QANewModTopOpe
No tags attached.
Issue History
2014-05-21 09:06laurie123New Issue
2014-05-21 09:06laurie123Assigned To => kgv
2014-05-21 09:17laurie123Note Added: 0029422
2014-05-22 17:33abvNote Added: 0029476
2014-05-22 17:33abvAssigned Tokgv => pkv
2014-05-22 17:33abvStatusnew => assigned
2014-05-22 17:34abvCategoryOCCT:WOK => OCCT:Modeling Algorithms
2014-05-23 11:59pkvAdditional Information Updatedbug_revision_view_page.php?rev_id=7528#r7528
2014-05-23 11:59pkvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7530#r7530
2014-05-23 12:00pkvStatusassigned => resolved
2014-05-23 12:02pkvNote Added: 0029486
2014-05-23 12:03pkvAssigned Topkv => emv
2014-05-23 12:12emvNote Added: 0029488
2014-05-23 12:12emvAssigned Toemv => apn
2014-05-23 12:12emvStatusresolved => reviewed
2014-05-23 14:47apnNote Added: 0029495
2014-05-23 14:48apnTest case number => Not needed
2014-05-23 14:48apnAssigned Toapn => pkv
2014-05-23 14:48apnStatusreviewed => assigned
2014-05-26 10:49pkvStatusassigned => resolved
2014-05-26 10:50pkvStatusresolved => reviewed
2014-05-26 10:50pkvNote Added: 0029507
2014-05-26 10:50pkvAssigned Topkv => apn
2014-05-27 12:18apnNote Added: 0029538
2014-05-27 12:18apnAssigned Toapn => bugmaster
2014-05-27 12:18apnStatusreviewed => tested
2014-05-27 12:18apnTarget Version => 6.8.0
2014-05-30 12:59apnChangeset attached => occt master 1e143abb
2014-05-30 12:59apnAssigned Tobugmaster => apn
2014-05-30 12:59apnStatustested => verified
2014-05-30 12:59apnResolutionopen => fixed
2014-10-06 11:14kgvSummaryWOK: Cyclic dependency detected between: BOPInt IntTools => Cyclic dependency detected between: BOPInt IntTools
2014-11-11 12:44aivFixed in Version => 6.8.0
2014-11-11 12:59aivStatusverified => closed

Notes
(0029422)
laurie123   
2014-05-21 09:17   
Build logs:

     [exec] --------------------------------------------------------------------------------
     [exec] Workbench : :OS:OCC52:3deditui
     [exec] Extraction mode : DFLT
     [exec] Station : mac
     [exec] Compile mode : Debug
     [exec] Step number : 14
     [exec] --------------------------------------------------------------------------------
     [exec] Unit : interface UserInterface
     [exec] Steps : src xcpp.fill xcpp.server
     [exec] --------------------------------------------------------------------------------
     [exec] Unit : jini Gui
     [exec] Steps : src xcpp.fill xcpp.client xcpp.javac xcpp.javah
     [exec] obj.comp obj.idep exec.list exec.tks exec.link exec.rename
     [exec] --------------------------------------------------------------------------------
     [exec] =====> UserInterface:src is successfull
     [exec] =====> Gui:src is successfull
     [exec] =====> UserInterface:xcpp.fill is successfull
     [exec] =====> UserInterface:xcpp.server is successfull
     [exec] =====> Gui:xcpp.fill is successfull
     [exec] =====> Gui:xcpp.client is successfull
     [exec] =====> Gui:xcpp.javac is successfull
     [exec] =====> Gui:xcpp.javah is successfull
     [exec] =====> Gui:obj.comp is successfull
     [exec] =====> Gui:obj.idep is successfull
     [exec] =====> Gui:exec.list
     [exec] Error : Step exec.list failed
     [exec] Error : Consult /Users/laurie/Projects/Intrepid/hgfuture/_ant_build_future_xcode5.1.1_x86_64_debug/3dedit-671/3deditui/mac/obj/Gui/.adm/Gui_exec_list.Log for details
 
... and the contents of the log file mentioned ...

Error : Cyclic dependency detected between: BOPInt IntTools
Error : Failed during execution
(0029476)
abv   
2014-05-22 17:33   
Peter, here is the issue you have warned me about a month ago ;)
(0029486)
pkv   
2014-05-23 12:02   
The branch CR24940 is ready to review.
(0029488)
emv   
2014-05-23 12:12   
Reviewed, please test.
(0029495)
apn   
2014-05-23 14:47   
Could you please rebase CR24940 to current master.
(0029507)
pkv   
2014-05-26 10:50   
The branch CR24940_1 is updated and ready to test
(0029538)
apn   
2014-05-27 12:18   
Dear BugMaster,

Branch CR24940_1 (and products from GIT master) was compiled on Linux, Windows and MacOS platforms and tested.
SHA-1: 738982ca9176244a175f681343595975d4c933de

Number of compiler warnings:

occt component :
Linux: 17 (17 on master)
Windows: 0 (0 on master)
MacOS: 202 (205 on master)

products component :
Linux: 11 (11 on master)
Windows: 2 (2 on master)

Regressions/Differences:
No regressions

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 359338248 / 359731944
Total CPU difference: 50309.83000000018 / 51526.47000000012

Testing on Windows:
Total MEMORY difference: 381778512 / 382747756
Total CPU difference: 36907.28125 / 39034.203125

There are no differences in images found by testdiff.