View Issue Details

IDProjectCategoryView StatusLast Update
0001985FreeCADBugpublic2015-12-15 13:17
Reporterpfirszt Assigned Towmayer  
PrioritylowSeveritytrivialReproducibilityalways
Status closedResolutionnot fixable 
PlatformlinuxOSlinux/fedoraOS Versionfedora 21
Fixed in Version0.16 
Summary0001985: cmake doesn't check presence of libtbb.so
Descriptioncmake doesn't check presence of libtbb.so and compilation is crashing with error:
[ 1%] Built target coin
make[2]: *** No rule to make target '/usr/lib64/libtbb.so', needed by 'lib/libDriver.so'. Stop.
CMakeFiles/Makefile2:334: recipe for target 'src/3rdParty/salomesmesh/CMakeFiles/Driver.dir/all' failed
make[1]: *** [src/3rdParty/salomesmesh/CMakeFiles/Driver.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Steps To Reproducerun 'make' without tbb-devel installed on fedora 21
Additional InformationInstalling tbb-devel fixes the problem, but it should be checked by cmake
TagsNo tags attached.
FreeCAD Information

Activities

wmayer

2015-03-01 14:38

administrator   ~0005843

FreeCAD doesn't use tbb at all. But oce might be built with tbb enabled and FreeCAD cannot check this easily. Is oce under Fedora built with tbb support?

pfirszt

2015-03-01 17:22

developer   ~0005846

Yes, as far as I can tell:

$ rpm -qa | grep OCE
OCE-draw-0.16-1.fc21.1.x86_64
OCE-modeling-0.16-1.fc21.1.x86_64
OCE-visualization-0.16-1.fc21.1.x86_64
OCE-ocaf-0.16-1.fc21.1.x86_64
OCE-foundation-0.16-1.fc21.1.x86_64
OCE-devel-0.16-1.fc21.1.x86_64
fedora-lan:/home/przemo/fedora/FreeCAD/freecad
$ rpm -qa --requires OCE-modeling | grep tbb
libtbb.so.2()(64bit)
fedora-lan:/home/przemo/fedora/FreeCAD/freecad
$ rpm -qa --requires OCE-foundation | grep tbb
libtbbmalloc.so.2()(64bit)
fedora-lan:/home/przemo/fedora/FreeCAD/freecad

Section of OCE.spec file for feodra:
%ifnarch %arm
  %if 0%{?rhel}
BuildRequires: openmpi-devel
  %else
BuildRequires: tbb-devel
  %endif
%endif

wmayer

2015-04-19 09:49

administrator   ~0006046

IMO, this should be reported to the package maintainers of oce (on the various distributions) to add a dependency to tbb-devel for the devel package of oce.

Issue History

Date Modified Username Field Change
2015-03-01 13:19 pfirszt New Issue
2015-03-01 14:38 wmayer Note Added: 0005843
2015-03-01 15:22 wmayer Status new => feedback
2015-03-01 17:22 pfirszt Note Added: 0005846
2015-03-01 17:22 pfirszt Status feedback => new
2015-04-19 09:49 wmayer Note Added: 0006046
2015-09-12 13:31 wmayer Status new => closed
2015-09-12 13:31 wmayer Assigned To => wmayer
2015-09-12 13:31 wmayer Resolution open => not fixable
2015-12-15 13:17 yorik Fixed in Version => 0.16