Subject: Re: bug#54011: FreeCAD: Unable to import STEP files
From: Guillaume Le Vaillant <[email-masked]>
To: Jacob Hrbek <[email-masked]>
Cc: [email-masked]
Date: Fri, 18 Feb 2022 16:00:08 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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.