If opencascade is broken, seems like the official package deserves the patch no?
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: | 107 |
Popularity: | 1.74 |
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 .. 12 13 14 15 16 17 18 19 20 21 22 .. 58 Next › Last »
greyltc commented on 2021-02-28 16:14 (UTC)
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! :-)
greyltc commented on 2021-02-05 19:46 (UTC)
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 (UTC)
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 (UTC) (edited on 2021-02-05 11:34 (UTC) by greyltc)
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 (UTC) (edited on 2021-02-05 11:31 (UTC) by neo2001)
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
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.