I'm experiencing the following error (in the check stage). I have found this conversation but I'm not sure how to fix it:
https://github.com/FreeCAD/FreeCAD/pull/7152
[6447/6447] Linking CXX shared library Mod/TechDraw/TechDrawGui.so
==> Starting check()...
Traceback (most recent call last):
File "<string>", line 39, in <module>
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/Test/TestApp.py", line 85, in TestText
s = unittest.defaultTestLoader.loadTestsFromName(s)
File "/usr/lib/python3.13/unittest/loader.py", line 192, in loadTestsFromName
test = obj()
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/Test/TestApp.py", line 65, in All
suite.addTest(tryLoadingTest(test))
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/Test/TestApp.py", line 38, in tryLoadingTest
return unittest.defaultTestLoader.loadTestsFromName(testName)
File "/usr/lib/python3.13/unittest/loader.py", line 137, in loadTestsFromName
module = __import__(module_name)
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/TestArch.py", line 26, in <module>
from bimtests.TestArchRoof import TestArchRoof
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/bimtests/TestArchRoof.py", line 28, in <module>
import Arch
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/Arch.py", line 67, in <module>
from ArchCommands import *
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchCommands.py", line 37, in <module>
import ArchComponent
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchComponent.py", line 46, in <module>
import ArchIFC
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchIFC.py", line 34, in <module>
import ArchIFCSchema
File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchIFCSchema.py", line 42, in <module>
with open(os.path.join(FreeCAD.getResourceDir(), "Mod", "BIM", "Presets",
<class 'FileNotFoundError'>: [Errno 2] No such file or directory: '/usr/share/freecad/Mod/BIM/Presets/ifc_contexts_IFC4.json'
FreeCAD 1.1.0, Libs: 1.1.0devR42464 (Git)
(C) 2001-2025 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
import TestFemImport
import TestObjectExistance
import TestFemCommon
import TestObjectCreate
import TestObjectType
import TestObjectOpen
import TestMaterialUnits
import TestMeshCommon
import TestMeshEleTetra10
import TestMeshGroups
import TestResult
import TestCcxTools
import TestSolverElmer
import TestSolverZ88
==> ERROR: A failure occurred in check().
Aborting...
-> error making: freecad-git-exit status 4
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.