Package Details: freecad-git 0.19_pre.r4995.g1851ddd933-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: 97
Popularity: 2.63
First Submitted: 2012-03-03 13:46
Last Updated: 2021-01-31 13:59

Latest Comments

1 2 3 4 5 6 ... Next › Last »

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.

greyltc commented on 2021-02-05 11:33

Yeah, check() fails for me too. I assume this test failure is upstream's bug. Have you tried looking for or reporting an issue there?

neo2001 commented on 2021-02-05 11:29

It's me again. :-) Last time it was my own fault for not completely deleting the src and pkg directories. After that everything worked fine... for a while.

But since a few days I only get this:

Ran 246 tests in 31.672s

FAILED (failures=1, errors=49)
==> ERROR: A failure occurred in check().
    Aborting...

The build itself seems to work fine, but the tests always fail (which they didn't before).

Should I just ignore/comment them in the PKGBUILD or do I need to actually care about the result of the unit tests?

I've tried to delete everything and start fresh, I also waited a few days and tried again a few times. But it's always the same...

Example output:

======================================================================
ERROR: test_draft_to_sketch (drafttests.test_modification.DraftModification)
Convert a Draft object to a Sketch and back.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Draft/drafttests/test_modification.py", line 375, in test_draft_to_sketch
    obj = Draft.make_sketch(wire, autoconstraints=True)
  File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Draft/draftmake/make_sketch.py", line 79, in make_sketch
    from Sketcher import Constraint
  File "/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
ImportError: /home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/lib/Sketcher.so: undefined symbol: _ZN3App4Part15getPartOfObjectEPKNS_14DocumentObjectEb

======================================================================
FAIL: testExtensions (Document.DocumentBasicCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Test/Document.py", line 248, in testExtensions
    grp.addExtension("App::GroupExtensionPython")
TypeError: function takes exactly 2 arguments (1 given)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Test/Document.py", line 255, in testExtensions
    self.failUnless(False)
AssertionError: False is not true