Will not install due to errors in check()
.
FAILED (errors=1)
==> ERROR: A failure occurred in check().
Aborting...
-> error making: freecad-git
I believe this is the error message:
======================================================================
ERROR: TestFemApp (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: TestFemApp
Traceback (most recent call last):
File "/usr/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/home/<username>/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/TestFemApp.py", line 33, in <module>
from femtest.app.test_mesh import TestMeshCommon as FemTest07
File "/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/home/<username>/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/femtest/app/test_mesh.py", line 33, in <module>
import Fem
File "/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ImportError: /usr/lib64/libSMDS.so: undefined symbol: _ZN19vtkUnstructuredGrid16GetCellNeighborsExP9vtkIdListS1_
----------------------------------------------------------------------
Temporary solution: run makepkg
with the --nocheck
option to skip check()
in the PKGBUILD
.
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.