I'm tried building Freecad-git again. I run this command first
pamac clean --build-files
Now I got 3 errors at Check.
======================================================================
ERROR: test_get_svg_from_arch_space_with_zero_vector (drafttests.test_svg.DraftSVG)
Try to get a svg string from an Arch Space with a zero-vector as direction.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Draft/drafttests/test_svg.py", line 93, in test_get_svg_from_arch_space_with_zero_vector
import Arch
File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/Arch.py", line 41, in <module>
from ArchWall import *
File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchWall.py", line 32, in <module>
import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math
File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchComponent.py", line 34, in <module>
import FreeCAD,Draft,ArchCommands,sys,ArchIFC
File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchIFC.py", line 36, in <module>
import ArchIFCSchema
File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchIFCSchema.py", line 34, in <module>
with open(os.path.join(FreeCAD.getResourceDir(), "Mod", "Arch", "Presets",
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/freecad/Mod/Arch/Presets/ifc_contexts_IFC4.json'
======================================================================
ERROR: testHatchCase (TestTechDrawApp.TechDrawTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TestTechDrawApp.py", line 49, in testHatchCase
rc = DHatchTest()
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TDTest/DHatchTest.py", line 42, in DHatchTest
hatch = FreeCAD.ActiveDocument.addObject("TechDraw::DrawHatch", "Hatch")
OSError: {'sclassname': 'N4Base15FileSystemErrorE', 'sErrMsg': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783HatchHatch.fillpaelXu does not exist.', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783HatchHatch.fillpaelXu does not exist.', 'btranslatable': False, 'breported': False}
======================================================================
ERROR: testSectionCase (TestTechDrawApp.TechDrawTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TestTechDrawApp.py", line 81, in testSectionCase
rc = DVSectionTest()
File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TDTest/DVSectionTest.py", line 40, in DVSectionTest
section = FreeCAD.ActiveDocument.addObject("TechDraw::DrawViewSection", "Section")
OSError: {'sclassname': 'N4Base15FileSystemErrorE', 'sErrMsg': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783SectionSvgHatch.svgyI4LV4 does not exist.', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783SectionSvgHatch.svgyI4LV4 does not exist.', 'btranslatable': False, 'breported': False}
----------------------------------------------------------------------
Ran 745 tests in 41.669s
FAILED (errors=3)
Exact same result with
yay -S freecad-git
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.