Running makepkg with --nocheck worked, however uninstalling freecad did not. ( I just pacman -R'd it, no reboots though. I'll just run with --nocheck for now. Thank you!
Search Criteria
Package Details: freecad-git 1.1.0.41361.g774ec2cc93-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: | 0.96 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2025-04-22 00:51 (UTC) |
Dependencies (40)
- boost-libs
- coin (coin-gitAUR)
- fmt (fmt-gitAUR)
- glew (glew-libepoxyAUR, glew-wayland-gitAUR, glew-gitAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- med (med-openmpi)
- netcdf (netcdf-openmpi)
- opencascade (opencascade-gitAUR)
- openmpi (openmpi-gitAUR)
- pybind11 (pybind11-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
- Show 20 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 .. 59 Next › Last »
cculpepper1214 commented on 2021-04-04 20:14 (UTC)
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
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.