Package Details: freecad-git 0.19.r421.gfafff351aa-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.freecadweb.org/
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 (OpenSCADTest.app.test_importCSG.TestImportCSG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chris/.cache/yay/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/OpenSCADTest/app/test_importCSG.py", 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 (femtest.app.test_material.TestMaterialUnits)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chris/.cache/yay/freecad-git/src/FreeCAD/build_dir/check/Mod/Fem/femtest/app/test_material.py", line 77, in test_known_quantity_units
    self.assertTrue(
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 (OpenSCADTest.app.test_importCSG.TestImportCSG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/OpenSCADTest/app/test_importCSG.py", 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/test_importCSG.py", line 204, in utility_create_scad
    return importCSG.open(filename)
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/importCSG.py", line 119, in open
    processcsg(tmpfile)
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/importCSG.py", line 177, in processcsg
    result = parser.parse(f.read())
  File "/usr/lib/python3.9/site-packages/ply/yacc.py", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python3.9/site-packages/ply/yacc.py", line 1120, in parseopt_notrack
    p.callable(pslice)
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/importCSG.py", line 785, in p_surface_action
    obj.Shape,xoff,yoff=makeSurfaceVolume(p[3]['file'])
  File "/tmp/makepkg/freecad-git/src/FreeCAD/build_dir/check/Mod/OpenSCAD/OpenSCADFeatures.py", 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 %)   
    Aborting...
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: https://github.com/archlinux/svntogit-community/blob/packages/opencascade/trunk/PKGBUILD 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) https://gitlab.com/blobfish/occt

Here's the patch by itself: https://gitlab.com/blobfish/occt/-/commit/ad0ba55f55b36dc957f66192c4766ace83f82b7e

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?

Context
Patch announced: https://twitter.com/thekurtwk/status/1357887322264662022

The OCCT mirror with patches: https://gitlab.com/blobfish/occt (maintained by a member of the FC community 'tanderson' AKA 'blobfish')

Tweet by Debian maintainer: https://twitter.com/thekurtwk/status/1357887322264662022

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.