I don't get any error, please test again with a full clean build
Search Criteria
Package Details: freecad-git 0.22.0.36999.ged77603af9-1
Package Actions
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: | 106 |
Popularity: | 0.77 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2024-04-30 00:29 (UTC) |
Dependencies (39)
- boost-libs
- coin (coin-gitAUR)
- fmt (fmt-gitAUR)
- glew (glew-libepoxyAUR, glew-wayland-gitAUR, glew-gitAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- medAUR (med-openmpi)
- netcdf (netcdf-openmpi)
- opencascade (opencascade-gitAUR)
- openmpi (openmpi-gitAUR)
- pyside6
- pyside6-tools
- python-matplotlib (python-matplotlib-gitAUR)
- python-packaging
- python-pivy
- python-ply
- python-yaml (python-yaml-gitAUR)
- qt6-5compat
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- qt6-tools
- Show 19 more dependencies...
Required by (4)
- freecad-a2plus-git (requires freecad)
- freecad-cadquery-git (requires freecad)
- freecad-fcgear-git (requires freecad)
- openmc-git (requires freecad)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 58 Next › Last »
adrianinsaval commented on 2022-07-05 00:30 (UTC)
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!
adrianinsaval commented on 2022-05-18 12:23 (UTC)
thanks for the welcome! :) importing freecad itself was working but some of the modules were not available from python out of the box, drmacro was having trouble to import PartDesign specifically, there was a recent change regarding the whole site-packages situation so that might have broken stuff. With my changes the modules are available out of the box, no hacks required, I'll push the changes later today once I'm home since I need to setup my ssh key here.
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.