Package Details: freecad-git 0.19.r421.gfafff351aa-1

Git Clone URL: (read-only, click to copy)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL:
Licenses: LGPL
Conflicts: freecad, freecad-appimage, freecad-appimage-git
Provides: freecad
Submitter: gborzi
Maintainer: greyltc
Last Packager: greyltc
Votes: 96
Popularity: 0.96
First Submitted: 2012-03-03 13:46
Last Updated: 2021-04-08 10:34

Latest Comments

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

cculpepper1214 commented on 2021-04-04 17:50

Hello! I've been having trouble building this package, for about a week. The length of time makes me suspect something in my install is causing it, but I don't know what/how to find it. I've built from raw github source, and that worked fine.

Here's the output I'm getting:

testAll (TestPythonSyntax.PythonSyntaxTestCase) ... ok

FAIL: test_import_resize (
Traceback (most recent call last):
  File "/home/chris/.cache/yay/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/OpenSCADTest/app/", line 352, in test_import_resize
    self.assertAlmostEqual (object.Shape.BoundBox.XLength, 2*8.5, 1)
AssertionError: 25.499999999999996 != 17.0 within 1 places (8.499999999999996 difference)

FAIL: test_known_quantity_units (
Traceback (most recent call last):
  File "/home/chris/.cache/yay/freecad-git/src/FreeCAD/build_dir/check/Mod/Fem/femtest/app/", line 77, in test_known_quantity_units
AssertionError: False is not true : Unit of quantity material parameter ElectricalConductivity is not known by FreeCAD unit system.

I've also updated to the latest openscad (from openscad-git). Does anyone have any ideas?

gkatev commented on 2021-03-16 09:59

EDIT: Tried it again today, and it built without problem.

Hi, I'm encountering a build error in check(), not sure if it's the package's fault or mine:

ERROR: test_import_surface (
Traceback (most recent call last):
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/OpenSCADTest/app/", line 317, in test_import_surface
    doc = self.utility_create_scad(f"surface(file = \"{testfile}\", center = true, convexity = 5);", "surface_simple_dat")
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/OpenSCADTest/app/", line 204, in utility_create_scad
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/", line 119, in open
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/", line 177, in processcsg
    result = parser.parse(
  File "/usr/lib/python3.9/site-packages/ply/", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python3.9/site-packages/ply/", line 1120, in parseopt_notrack
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/", line 785, in p_surface_action
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/", line 506, in makeSurfaceVolume
    with open(filename) as f1:
FileNotFoundError: [Errno 2] No such file or directory: 'makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/OpenSCADTest/data/Surface.dat'

Ran 560 tests in 29.802s

FAILED (errors=1)
==> ERROR: A failure occurred in check().   (100.0 %)   
error making: freecad-git

I did try removing yay's cache and the old installation, as mentioned in other comments.

adrianinsaval commented on 2021-03-02 01:13

Kunda, occ can't be patched here because it will need to be rebuilt with that patch. That would need to be proposed to the official occ package or submit a PKGBUILD for opencascade patched to the AUR but I don't think many people would be willing to compile occ themselves. Here is the pkgbuild for the official package: maybe submit a PR to patch the source there?

greyltc commented on 2021-02-28 16:14

If opencascade is broken, seems like the official package deserves the patch no?

Kunda commented on 2021-02-25 18:08

Upstream just cut a new release called 0.19. Can we use the patched OCCT repo (it has the fillet/chamfer fix in it)

Here's the patch by itself:

ar333 commented on 2021-02-06 17:49

It looks like installing to /usr/local is recommended against by the Arch Package Guidelines. Would you mind having freecad-git either install to /opt or split between /usr/share and /usr/lib like the official package does?

Kunda commented on 2021-02-06 15:38

Apparently upstream FreeCAD has patches for OCCT that aren't official but fix some key issues. Lately there is a patch floating around for fixing a long standing chamfer/fillet OCC crash. I know that the OCC package maintainer for Debian is working to incorporate said patches in to their package. Perhaps we here at Arch could do the same?

Patch announced:

The OCCT mirror with patches: (maintained by a member of the FC community 'tanderson' AKA 'blobfish')

Tweet by Debian maintainer:

neo2001 commented on 2021-02-06 09:55

Seems like it's a problem with the package. If you remove freecad-git and then reinstall it works.

Indeed it works after uninstalling the current freecad-git package. Thanks for the tip! :-)

greyltc commented on 2021-02-05 19:46

Seems like it's a problem with the package. If you remove freecad-git and then reinstall it works.

neo2001 commented on 2021-02-05 11:49

Yes, I've tried, but didn't find anything. But they don't use Github as Bugtracker and I may be to stupid to use Mantis the right way. To be honest, it kept me from reporting from bugs in the past, since you need to report to the forums first (register there and in the bugtracker etc.) and stuff like that and it's really an endeavor to report a simple bug, it's getting frustrating fast.