Subject: bug#54011: FreeCAD: Unable to import STEP files

From: Jacob Hrbek <[email-masked]>
Date: Sat, 19 Feb 2022 21:55:18 +0000

That patch seems to have broken something in FreeCAD as i have issues 
with fonts^ and keybinds:

To reproduce:
a) Run `guix shell freecad -- FreeCAD` and notice that the texts are 
missing on the title page
b) Open a new project
1. Part Design workbench

2. Tasks and create a new body

3. Create a sketch

4. In a sketch environment use `R`-key and notice that it no longer 
works to make a rectangle

On 2/18/22 17:06, Jacob Hrbek wrote:
> Thanks for working on it!
>
> On 2/18/22 17:00, Guillaume Le Vaillant wrote:
>> Guillaume Le Vaillant <[email-masked]> skribis:
>>
>>> When decompressing the zip file and importing the STEP file:
>>>
>>> Traceback (most recent call last):
>>>    File "<string>", line 1, in <module>
>>>    File 
>>> "/gnu/store/cwfgf3xb2vfqckxqv196jz8xpbigxkqj-python-shiboken-2-5.15.2/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", 
>>> line 142, in _import
>>>      return original_import(name, *args, **kwargs)
>>> <class 'ImportError'>: 
>>> /gnu/store/pd0pxvnr3qdgcz37p80v6q8p0wk9xyfh-freecad-0.19.3-0.09a05a9/lib/Import.so: 
>>> undefined symbol: 
>>> _ZN3tbb6detail2r122cancel_group_executionERNS0_2d118task_group_contextE
>>>
>>> I guess now we have to find where
>>> '_ZN3tbb6detail2r122cancel_group_executionERNS0_2d118task_group_contextE' 
>>>
>>> is coming from.
>> It was coming from the fact that the freecad package had the tbb package
>> as dependency, but it also depends on opencascade-occt which depends on
>> tbb-2020.
>> Fix pushed as 27a91b2f57bd0bf7efab77eaeb4b920f162bf8c8.
>
-- 
Jacob Hrbek, In support of ukraine sovereignty #supportUkraine