Package Details: freecad-git 0.22.0.35039.ge937cc1efc-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.99
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2023-11-14 18:37 (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 .. 5 6 7 8 9 10 11 12 13 14 15 .. 56 Next › Last »

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

Kunda commented on 2021-12-14 15:49 (UTC) (edited on 2021-12-14 15:51 (UTC) by Kunda)

The failed FEM test that @K4LCIFER reported got me as well.

Opened a thread on the FEM subforum: https://forum.freecadweb.org/viewtopic.php?f=18&t=64525

zwastik commented on 2021-12-14 12:51 (UTC)

Does this version includes RT TNP fixes?

greyltc commented on 2021-11-14 17:31 (UTC)

actually, I totally had a mistake in check()
Hopefully it's fixed for us now @K4LCIFER!