Hi all.
If I 'makepkg -s' the build fails on tests
This is the fist fail
====================================================================== ERROR: TestSketcherApp (unittest.loader._FailedTest)
ImportError: Failed to import test module: TestSketcherApp Traceback (most recent call last): File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName module = import(module_name) File "/home/mauro/Scaricati/Artix/freecad-git/src/FreeCAD/build_dir/Mod/Sketcher/TestSketcherApp.py", line 24, in <module> from SketcherTests.TestSketcherSolver import TestSketcherSolver File "/home/mauro/Scaricati/Artix/freecad-git/src/FreeCAD/build_dir/Mod/Sketcher/SketcherTests/TestSketcherSolver.py", line 23, in <module> import FreeCAD, os, sys, unittest, Part, Sketcher ImportError: libtbb.so.2: cannot open shared object file: No such file or directory
In my system I have only libtbb.so.12.5 installed from package tbb.
I look the histoty of tbb in Arch. From here https://archlinux.org/todo/tbb-20214-rebuild/ libtbb.so.2 is renamed to libtbb.so.12
Analisys
I made some analisys on the so files produced bny Freecad.
These files need libtbb.so.2 and use libtbb.so.12
- libDriverSTL.so
- libSMESH.so:
- libSMESHDS.so
- libStdMeshers.so
SOLVED
The problem was in opencascade libraries
Pinned Comments
adrianinsaval commented on 2023-03-12 14:50 (UTC)
If the check fails there is little I can do about it as it most likely needs to be fixed upstream, in such cases report those upstream (maybe wait a day or two as sometimes it's quickly solved upstream) or skip the check with
makepkg --nocheck
if you don't care about the functionality that is being reported as failing in the check.