Package Details: freecad-git 0.22.0.36999.ged77603af9-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.007774
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2024-04-30 00:29 (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 .. 11 12 13 14 15 16 17 18 19 20 21 .. 58 Next › Last »

greyltc commented on 2021-04-04 19:01 (UTC)

I suspect the check() function is not being sandboxed properly and so part of the existing install is leaking into check() when it runs here. If anyone has any ideas for fixing that I'd love to hear them.

@cculpepper1214 you might try uninstalling freecad, then building this again or you can build it with --nocheck to hopefully avoid the issue for now.

cculpepper1214 commented on 2021-04-04 17:50 (UTC)

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 (UTC) (edited on 2021-03-17 21:09 (UTC) by gkatev)

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 (UTC)

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 (UTC)

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

Kunda commented on 2021-02-25 18:08 (UTC) (edited on 2021-02-25 18:11 (UTC) by Kunda)

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

arenm commented on 2021-02-06 17:49 (UTC)

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 (UTC) (edited on 2021-02-06 15:39 (UTC) by Kunda)

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 (UTC)

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! :-)