I get a bunch of missing library dependencies when running check()
, e.g.:
======================================================================
ERROR: TestFemApp (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: TestFemApp
Traceback (most recent call last):
File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/home/joe/.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.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/home/joe/.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.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ImportError: libfmt.so.8: cannot open shared object file: No such file or directory
This one can be fixed by installing fmt
package. Similarly, libpugixml.so.1
can be fixed by installing pugixml
. Finally, libhdf5.so.103
can't be easily fixed because the latest hdf5
package installs libhdf5.so.200
.
Looks like some dependencies need to be updated?
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.