View Issue Details

IDProjectCategoryView StatusLast Update
0033147CommunityOCCT:Codingpublic2023-03-19 22:49
ReportermsvAssigned Toddzama 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformLinuxOSArchLinux 
Product Version7.7.0 
Target Version7.7.0Fixed in Version7.7.0 
Summary0033147: [Regression to 7.6.3] Coding, Configuration - CMake Error TBB "Directory is not set"
DescriptionThis is from OCCT forum by Sun Tsui - https://dev.opencascade.org/content/tbb-directory-not-set

CMake Error at adm/cmake/tbb.cmake:8 (message):
Directory is not set.
Call Stack (most recent call first):
CMakeLists.txt:34 (include)
CMakeLists.txt:725 (OCCT_INCLUDE_CMAKE_FILE)

-- Configuring incomplete, errors occurred!

I've successfully built opencascade-7.6.3 against https://archlinux.org/packages/extra/x86_64/tbb/ but against git master (7.7.0) the build now fails.
Steps To ReproduceNot required
TagsNo tags attached.
Test case number

Relationships

child of 0033117 closedddzama Open CASCADE Coding, Configuration - migration to intel oneTBB 2021.5.0 (c++20 ready) 

Activities

git

2022-10-03 13:27

administrator   ~0111325

Branch CR33147 has been created by ddzama.

SHA-1: 74dc4f4031e3f9b4bd8e171acb6e4f828f073f5a


Detailed log of new commits:

Author: ddzama
Date: Mon Oct 3 10:37:14 2022 +0300

    0033147: [Regression to 7.6.3] Coding, Configuration - CMake Error TBB "Directory is not set"
    
    This is from OCCT forum by Sun Tsui - https://dev.opencascade.org/content/tbb-directory-not-set
    
    CMake Error at adm/cmake/tbb.cmake:8 (message):
    Directory is not set.
    Call Stack (most recent call first):
    CMakeLists.txt:34 (include)
    CMakeLists.txt:725 (OCCT_INCLUDE_CMAKE_FILE)
    
    -- Configuring incomplete, errors occurred!
    
    I've successfully built opencascade-7.6.3 against https://archlinux.org/packages/extra/x86_64/tbb/
    but against git master (7.7.0) the build now fails.

git

2022-10-03 15:05

administrator   ~0111330

Branch CR33147 has been updated forcibly by ddzama.

SHA-1: 4861d68bed989dbfcc1b8671692620ce3e65625f

git

2022-10-03 15:35

administrator   ~0111336

Branch CR33147 has been updated forcibly by ddzama.

SHA-1: 0c822bc756cb2e6433787e10fc68727886e2d740

ddzama

2022-10-03 17:28

developer   ~0111341

@msv - OCCT branch CR33147
Occ Pr branch CR33147

ddzama

2022-10-03 17:29

developer   ~0111342

@msv - jenkins-8:
http://jenkins-test-occt.nnov.opencascade.com/view/CR33147-CR33147/view/COMPARE/

msv

2022-10-04 10:13

developer   ~0111356

@ddzama, it is not always good to copy the bug description to the commit message. Bug description is usually raw complaints about erroneous behavior. Commit message, in contrary is expected to contain description of what is done to overcome the problem.

git

2022-10-04 10:29

administrator   ~0111357

Branch CR33147 has been updated forcibly by ddzama.

SHA-1: 0fab368273f24fac013d195ceb572145eb4d1da3

ddzama

2022-10-04 10:36

developer   ~0111360

@msv - it's done.

msv

2022-10-04 12:34

developer   ~0111363

123,147: Extra condition, as we are already in (WIN32) branch.

git

2022-10-04 12:51

administrator   ~0111364

Branch CR33147 has been updated by ddzama.

SHA-1: 206354f59717ba9f3a825b86fe7cb9738525bdf2


Detailed log of new commits:

Author: ddzama
Date: Tue Oct 4 12:50:51 2022 +0300

    0033147: Fix by @msv review.

ddzama

2022-10-04 13:14

developer   ~0111367

@msv - done.

msv

2022-10-04 13:31

developer   ~0111370

Ok, please combine to one commit.

msv

2022-10-04 13:31

developer   ~0111371

To integrate:
occt - CR33147
products - CR33147

git

2022-10-04 16:26

administrator   ~0111383

Branch CR33147 has been updated forcibly by ddzama.

SHA-1: 4a07ca5963a598db3d75433f531bcbaf0b8de301

git

2022-10-10 00:22

administrator   ~0111443

Branch CR33147 has been updated forcibly by ddzama.

SHA-1: 935237a894e2785d16a7e9c3260c2ddf943147e6

git

2022-11-02 13:53

administrator   ~0111873

Branch CR33147 has been deleted by mnt.

SHA-1: 935237a894e2785d16a7e9c3260c2ddf943147e6

Related Changesets

occt: master 92f1875f

2022-10-03 10:37:14

ddzama


Committer: smoskvin Details Diff
0033147: [Regression to 7.6.3] Coding, Configuration - CMake Error TBB "Directory is not set".

Previous approach do not taking into account, that oneTBB library may be installed in the system folder
on Linux. So, solve the problem it is proposed to employ find_package utility, that works great
as on Windows, as on Linux.
Affected Issues
0033147
mod - adm/cmake/tbb.cmake Diff File

occt-products: master d1e620f0

2022-10-03 15:22:12

ddzama


Committer: smoskvin Details Diff
0033147: [Regression to 7.6.3] Coding, Configuration - CMake Error TBB "Directory is not set".

Previous approach do not taking into account, that oneTBB library may be installed in the system folder
on Linux. So, solve the problem it is proposed to employ find_package utility, that works great
as on Windows, as on Linux.
Affected Issues
0033147
mod - diff Diff File

Issue History

Date Modified Username Field Change
2022-09-25 21:47 msv New Issue
2022-09-25 21:47 msv Assigned To => kgv
2022-09-25 21:47 msv Assigned To kgv => ddzama
2022-09-25 21:47 msv Status new => assigned
2022-09-25 21:48 msv Relationship added child of 0033117
2022-09-26 10:19 kgv Target Version 7.7.1 => 7.7.0
2022-10-03 13:27 git Note Added: 0111325
2022-10-03 15:05 git Note Added: 0111330
2022-10-03 15:35 git Note Added: 0111336
2022-10-03 17:28 ddzama Note Added: 0111341
2022-10-03 17:28 ddzama Assigned To ddzama => msv
2022-10-03 17:28 ddzama Status assigned => resolved
2022-10-03 17:28 ddzama Steps to Reproduce Updated
2022-10-03 17:29 ddzama Note Added: 0111342
2022-10-04 10:13 msv Note Added: 0111356
2022-10-04 10:29 git Note Added: 0111357
2022-10-04 10:36 ddzama Note Added: 0111360
2022-10-04 12:34 msv Note Added: 0111363
2022-10-04 12:35 msv Assigned To msv => ddzama
2022-10-04 12:35 msv Status resolved => assigned
2022-10-04 12:51 git Note Added: 0111364
2022-10-04 13:14 ddzama Note Added: 0111367
2022-10-04 13:15 ddzama Assigned To ddzama => msv
2022-10-04 13:15 ddzama Status assigned => resolved
2022-10-04 13:31 msv Note Added: 0111370
2022-10-04 13:31 msv Assigned To msv => bugmaster
2022-10-04 13:31 msv Status resolved => reviewed
2022-10-04 13:31 msv Note Added: 0111371
2022-10-04 16:26 git Note Added: 0111383
2022-10-10 00:22 git Note Added: 0111443
2022-11-02 13:40 smoskvin Status reviewed => tested
2022-11-02 13:46 smoskvin Changeset attached => occt master 92f1875f
2022-11-02 13:46 ddzama Assigned To bugmaster => ddzama
2022-11-02 13:46 ddzama Status tested => verified
2022-11-02 13:46 ddzama Resolution open => fixed
2022-11-02 13:53 git Note Added: 0111873
2022-11-20 22:08 smoskvin Changeset attached => occt-products master d1e620f0
2023-03-19 22:49 vglukhik Status verified => closed
2023-03-19 22:49 vglukhik Fixed in Version => 7.7.0