Package Details: freecad-git 0.22.0.35039.ge937cc1efc-1

Git Clone URL: https://aur.archlinux.org/freecad-git.git (read-only, click to copy)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL: https://www.freecad.org/
Licenses: LGPL
Conflicts: freecad, freecad-appimage, freecad-appimage-git
Provides: freecad
Submitter: gborzi
Maintainer: greyltc (adrianinsaval)
Last Packager: adrianinsaval
Votes: 104
Popularity: 0.95
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2023-11-14 18:37 (UTC)

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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 56 Next › Last »

S.Thanawat commented on 2022-07-05 12:47 (UTC) (edited on 2022-07-05 13:47 (UTC) by S.Thanawat)

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   

adrianinsaval commented on 2022-07-05 00:30 (UTC)

I don't get any error, please test again with a full clean build

mauzil commented on 2022-07-02 15:43 (UTC)

I removed an old installation of freecad-git. Now others tests fail.

The first failed test is this

====================================================================== 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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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] File o directory non esistente: '/usr/share/freecad/Mod/Arch/Presets/ifc_contexts_IFC4.json'

The test fails because file /usr/share/freecad/Mod/Arch/Presets/ifc_contexts_IFC4.json doesn't exists in my filesystem.

But the file exists under ./usr/share/freecad/Mod/Arch/Presets/, that is

/home/mauro/Scaricati/Artix/freecad-git/src/FreeCAD/build/usr/share/freecad/Mod/Arch/Presets/

as absolute path.

May be the test_svg.py looks for needed file in the worng path?

mauzil commented on 2022-07-02 15:43 (UTC)

I removed an old installation of freecad-git. Now others tests fail.

The first failed test is this

====================================================================== 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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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 "/home/mauro/Scaricati/Artix/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] File o directory non esistente: '/usr/share/freecad/Mod/Arch/Presets/ifc_contexts_IFC4.json'

The test fails because file /usr/share/freecad/Mod/Arch/Presets/ifc_contexts_IFC4.json doesn't exists in my filesystem.

But the file exists under ./usr/share/freecad/Mod/Arch/Presets/, that is

/home/mauro/Scaricati/Artix/freecad-git/src/FreeCAD/build/usr/share/freecad/Mod/Arch/Presets/

as absolute path.

May be the test_svg.py looks for needed file in the worng path?

drmacro commented on 2022-07-02 12:58 (UTC)

No issues here. Have you cleared the cache in pamac?

mauzil commented on 2022-07-02 12:39 (UTC)

I get the same error of S.Thanawat. Try to compile Freecad today

====================================================================== ERROR: test_draft_to_drawing (drafttests.test_modification.DraftModification) Create a solid, and then a projected view in a Drawing page.


Traceback (most recent call last): File "/home/mauro/Scaricati/Artix/freecad-git/src/FreeCAD/build/Mod/Draft/drafttests/test_modification.py", line 562, in test_draft_to_drawing page = App.ActiveDocument.addObject('Drawing::FeaturePage') ImportError: {'sclassname': 'N4Base11PyExceptionE', 'sErrMsg': '/usr/lib/python3.10/site-packages/Drawing.so: undefined symbol: ZN4Base7Vector3IdEaSERKS1', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': '/usr/lib/python3.10/site-packages/Drawing.so: undefined symbol: ZN4Base7Vector3IdEaSERKS1', 'btranslatable': False, 'breported': False}

drmacro commented on 2022-06-27 12:31 (UTC)

The Drawing workbench was removed from the compile. It has been deprecated for some time. It was known that there was one test that would fail after the change. Apparently, you happened to get the update between the removal of the dependency and update of the tests. I just completed building git 29328 with out issue.

S.Thanawat commented on 2022-06-27 03:17 (UTC) (edited on 2022-06-27 03:28 (UTC) by S.Thanawat)

Hi, I'm tried to build this package on my Manjaro but got 1 error on the last step(I think). How can I fix this error?

======================================================================
ERROR: test_draft_to_drawing (drafttests.test_modification.DraftModification)
Create a solid, and then a projected view in a Drawing page.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Draft/drafttests/test_modification.py", line 562, in test_draft_to_drawing
    page = App.ActiveDocument.addObject('Drawing::FeaturePage')
ImportError: {'sclassname': 'N4Base11PyExceptionE', 'sErrMsg': '/usr/lib/freecad/lib/Drawing.so: undefined symbol: _ZN3App14DocumentObject13setExpressionERKNS_16ObjectIdentifierEN5boost10shared_ptrINS_10ExpressionEEE', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': '/usr/lib/freecad/lib/Drawing.so: undefined symbol: _ZN3App14DocumentObject13setExpressionERKNS_16ObjectIdentifierEN5boost10shared_ptrINS_10ExpressionEEE', 'btranslatable': False, 'breported': False}

----------------------------------------------------------------------
Ran 739 tests in 41.333s

FAILED (errors=1)

adrianinsaval commented on 2022-06-13 22:50 (UTC)

done

Kunda commented on 2022-06-13 00:54 (UTC)

Congrats! @adrianinsaval
BTW, can someone update the Package Details -> Upstream URL to https://www.freecad.org/ ? Thanks!