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.011924
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2024-04-30 00:29 (UTC)

Required by (4)

Sources (1)

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 .. 6 7 8 9 10 11 12 13 14 15 16 .. 58 Next › Last »

Kunda commented on 2022-01-03 13:33 (UTC)

on latest HEAD I'm getting

CMake Warning at /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:2718 (find_package):
  By not providing "Findpugixml.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pugixml", but
  CMake did not find one.

  Could not find a package configuration file provided by "pugixml" with any
  of the following names:

    pugixmlConfig.cmake
    pugixml-config.cmake

  Add the installation prefix of "pugixml" to CMAKE_PREFIX_PATH or set
  "pugixml_DIR" to a directory containing one of the above files.  If
  "pugixml" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
  cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:53 (find_package)
  CMakeLists.txt:58 (SetupSalomeSMESH)

Wolfenmond commented on 2022-01-01 12:38 (UTC) (edited on 2022-01-01 12:42 (UTC) by Wolfenmond)

I'm getting "failures=4, errors=1" while building this on a freshly installed system:

FAIL: test_ccxcantilever_prescribeddisplacement_0_mm femtest.app.test_solver_elmer.TestSolverElmer)
FAIL: test_ccxcantilever_nodeload_0_mm (femtest.app.test_solver_elmer.TestSolverElmer)
FAIL: test_ccxcantilever_faceload_1_si (femtest.app.test_solver_elmer.TestSolverElmer)
FAIL: test_ccxcantilever_faceload_0_mm (femtest.app.test_solver_elmer.TestSolverElmer)
ERROR: test_box_static_0_mm (femtest.app.test_solver_elmer.TestSolverElmer)

Am I missing something here?

EDIT: Markdown

cculpepper1214 commented on 2021-12-30 21:33 (UTC)

I don't know if this is an upstream issue, or if anyone actually cares. If not cared about, feel free to ignore.

Building this package uses all CPU cores on my system, despite a config in my makepkg.conf telling it to only use 4. This config works with other packages (Tested with kicad-git). It looks like it's related to Freecad using cmake, and that setting not making it through.

Does anyone else have this issue or a workaround?

MadPhysicist commented on 2021-12-29 08:55 (UTC)

I get a bunch of missing library dependencies when running check(), e.g.:

======================================================================
ERROR: TestFemApp (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: TestFemApp
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "/home/joe/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/TestFemApp.py", line 33, in <module>
    from femtest.app.test_mesh import TestMeshCommon as FemTest07
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "/home/joe/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/femtest/app/test_mesh.py", line 33, in <module>
    import Fem
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
ImportError: libfmt.so.8: cannot open shared object file: No such file or directory

This one can be fixed by installing fmt package. Similarly, libpugixml.so.1 can be fixed by installing pugixml. Finally, libhdf5.so.103 can't be easily fixed because the latest hdf5 package installs libhdf5.so.200.

Looks like some dependencies need to be updated?

adrianinsaval commented on 2021-12-22 00:14 (UTC)

proposal 2, add some optional dependencies:

diff --git a/PKGBUILD b/PKGBUILD
index cdd87ba..a08b3ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,6 +51,9 @@ optdepends=(
 'luxcorerender: ray tracing support'
 'libspnav: 3d mouse support'
 'openscad: OpenSCAD support'
+'graphviz: dependency graph support'
+'python-markdown: markdown support in addon manager'
+'python-gitpython: support downloading addons with git'
 )
 provides=('freecad')
 conflicts=('freecad' 'freecad-appimage' 'freecad-appimage-git')

adrianinsaval commented on 2021-12-22 00:02 (UTC)

proposal, get version number more similar to what is reported in FreeCAD's about dialog by comparing to 0.19 tag commit, any other arbitrary commit from master could be used too

diff --git a/PKGBUILD b/PKGBUILD
index cdd87ba..356742c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -60,9 +60,9 @@ md5sums=('SKIP')
 pkgver() {
   cd FreeCAD
   read -d$'/n' -r major minor patch < <(grep -Po "set\(PACKAGE_VERSION_(MAJOR|MINOR|PATCH) \"\K[0-9]*" CMakeLists.txt) || true
-  count=$(git rev-list --count $(git tag --sort=-creatordate|head -1)..HEAD)
+  count=$((24266 + $(git rev-list --count d29fd7d..HEAD) ))
   hash=$(git rev-parse --short HEAD)
-  printf "%d.%d.%d.r%d.g%s" "$major" "$minor" "$patch" "$count" "$hash"
+  printf "%d.%d.%d.%d.g%s" "$major" "$minor" "$patch" "$count" "$hash"
 }

 prepare() {

adrianinsaval commented on 2021-12-20 14:06 (UTC)

would the arch equivalent be python-markdown? Maybe it's worth adding that and python-gitpython as optional dependencies. QtNetwork I think is already included in qt5-base and pyside2 so maybe no change is needed?

Kunda commented on 2021-12-19 20:42 (UTC) (edited on 2021-12-19 20:55 (UTC) by Kunda)

@greyltc I'll try to re-compile (my poor poor laptop)

BTW, upstream is also recommending python3-markdown dependency for the updated addon manager as well (source)

Edit: recompiling I see this the CMake output

CMake Warning at /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:2718 (find_package):
  By not providing "Findpugixml.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pugixml", but
  CMake did not find one.

  Could not find a package configuration file provided by "pugixml" with any
  of the following names:

    pugixmlConfig.cmake
    pugixml-config.cmake

  Add the installation prefix of "pugixml" to CMAKE_PREFIX_PATH or set
  "pugixml_DIR" to a directory containing one of the above files.  If
  "pugixml" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
  cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:53 (find_package)
  CMakeLists.txt:58 (SetupSalomeSMESH)

greyltc commented on 2021-12-19 19:06 (UTC)

@Kunda hmm. I had that check fail too when K4LCIFER reported it, but my commit here:
https://aur.archlinux.org/cgit/aur.git/commit/?h=freecad-git&id=880ae77dc6b0497a0a36dbffdc6cb67e12970918
fixed it. I'm surprised it's still an issue for you.

Kunda commented on 2021-12-19 18:44 (UTC)

heads up @greyltc QtNetwork is now a required dependency https://forum.freecadweb.org/viewtopic.php?p=554851#p554851