Package Details: freecad-git 1.1.0.41361.g774ec2cc93-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: fermino
Last Packager: adrianinsaval
Votes: 108
Popularity: 0.085865
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2025-04-22 00:51 (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

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

bartus commented on 2026-04-29 08:51 (UTC) (edited on 2026-05-04 16:49 (UTC) by bartus)

pkgver(): fix version moved from CMakeLists.txt to version.json

  • git am -s < <(curl -s https://file.garden/adti-A57_HghQxLc/0002-Fix-pkgver-version-was-moved-to-version.json.patch)

prepare(): include submodules in the source[] array: Alleviating redownload on each rebuild.

  • git am -s < <(curl -s https://file.garden/adti-A57_HghQxLc/0001-Add-submodules-to-the-source-array.patch)

xorly commented on 2026-04-25 12:42 (UTC)

Hi, in recent commit https://github.com/FreeCAD/FreeCAD/commit/011cc7e6fd27a87fece4c1fbb946a9e91d9e17cd version moved to version.json

Possible solution using jq

diff --git a/PKGBUILD b/PKGBUILD
index ded1de0..4b1265b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,7 +63,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
+  major=$(jq -r ".\"version_major\"" version.json)
+  minor=$(jq -r ".\"version_minor\"" version.json)
+  patch=$(jq -r ".\"version_patch\"" version.json)
   count=$((24266 + $(git rev-list --count d29fd7d..HEAD) ))
   hash=$(git rev-parse --short HEAD)
   printf "%d.%d.%d.%d.g%s" "$major" "$minor" "$patch" "$count" "$hash"

bartus commented on 2026-04-12 00:50 (UTC)

@adrianinsaval: fast_float is missing from the makedepends[] array.

anark10n commented on 2026-03-23 15:55 (UTC)

I get the following error when trying to install.

MeanUIThread commented on 2026-03-15 19:38 (UTC) (edited on 2026-03-15 19:38 (UTC) by MeanUIThread)

Doesn't build:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import pivy as p; print(p.__version__,end='')
    ^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pivy'
ERRORFailed to import Pivy using /home/mean-ui-thread/.local/bin/python3.13
-- Checking Pivy Coin3D version by importing it in a Python program...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import pivy as p; print(p.SoDB.getVersion(),end='')
    ^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pivy'
ERRORFailed to get Pivy Coin3D version using /home/mean-ui-thread/.local/bin/python3.13
CMake Error at cMake/FreeCAD_Helpers/SetupCoin3D.cmake:72 (message):
  Failed to match Pivy Coin3D version string output
Call Stack (most recent call first):
  CMakeLists.txt:114 (SetupPivy)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

destate9 commented on 2026-02-08 09:03 (UTC)

@sawntoe is correct, ptyhon-lark-parser is a required build dependency now. The addition of this new build dependency is tripping others up as well: https://github.com/FreeCAD/FreeCAD/issues/26247

sawntoe commented on 2025-12-25 15:03 (UTC)

Please add python-lark-parser to the build dependencies. It refuses to build without it.

onlybob commented on 2025-08-12 06:04 (UTC) (edited on 2025-08-12 06:05 (UTC) by onlybob)

@fermino I'm having the same issue when using yay, I observed this red text pop up before the build process, not sure if it helps solve the issue.

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

    Could not find a package configuration file provided by "FastFloat"
    (requested version 8.0.2) with any of the following names:

        FastFloatConfig.cmake
        fastfloat-config.cmake

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

fermino commented on 2025-07-01 18:02 (UTC)

I'm experiencing the following error (in the check stage). I have found this conversation but I'm not sure how to fix it:

https://github.com/FreeCAD/FreeCAD/pull/7152

[6447/6447] Linking CXX shared library Mod/TechDraw/TechDrawGui.so
==> Starting check()...
Traceback (most recent call last):
  File "<string>", line 39, in <module>
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/Test/TestApp.py", line 85, in TestText
    s = unittest.defaultTestLoader.loadTestsFromName(s)
  File "/usr/lib/python3.13/unittest/loader.py", line 192, in loadTestsFromName
    test = obj()
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/Test/TestApp.py", line 65, in All
    suite.addTest(tryLoadingTest(test))
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/Test/TestApp.py", line 38, in tryLoadingTest
    return unittest.defaultTestLoader.loadTestsFromName(testName)
  File "/usr/lib/python3.13/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/TestArch.py", line 26, in <module>
    from bimtests.TestArchRoof import TestArchRoof
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/bimtests/TestArchRoof.py", line 28, in <module>
    import Arch
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/Arch.py", line 67, in <module>
    from ArchCommands import *
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchCommands.py", line 37, in <module>
    import ArchComponent
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchComponent.py", line 46, in <module>
    import ArchIFC
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchIFC.py", line 34, in <module>
    import ArchIFCSchema
  File "/home/build/.cache/yay/freecad-git/src/build-makepkg/Mod/BIM/ArchIFCSchema.py", line 42, in <module>
    with open(os.path.join(FreeCAD.getResourceDir(), "Mod", "BIM", "Presets",
<class 'FileNotFoundError'>: [Errno 2] No such file or directory: '/usr/share/freecad/Mod/BIM/Presets/ifc_contexts_IFC4.json'
FreeCAD 1.1.0, Libs: 1.1.0devR42464 (Git)
(C) 2001-2025 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
import TestFemImport 
import TestObjectExistance 
import TestFemCommon 
import TestObjectCreate 
import TestObjectType 
import TestObjectOpen 
import TestMaterialUnits 
import TestMeshCommon 
import TestMeshEleTetra10 
import TestMeshGroups 
import TestResult 
import TestCcxTools 
import TestSolverElmer 
import TestSolverZ88 
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: freecad-git-exit status 4

hcdlt commented on 2025-04-28 07:02 (UTC)

@xorly, @adrianinsaval:

While checking the changes of that vtk library's PKGBUILD in extra-staging, I noticed some interesting cmake variable settings that got added for hdf5. I added them here as well and just now managed to start the build of freecad-git with this patch:


diff --git a/PKGBUILD b/PKGBUILD
index ded1de0..7cc3e80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -77,6 +77,9 @@ prepare() {
 build() {
   cmake \
     -B build-makepkg \
+    -D HDF5_NO_FIND_PACKAGE_CONFIG_FILE=ON \
+    -D HDF5_C_COMPILER_EXECUTABLE=h5hlcc \
+    -D HDF5_CXX_COMPILER_EXECUTABLE=h5hlc++ \
     -D BUILD_FLAT_MESH=ON \
     -D BUILD_DESIGNER_PLUGIN=ON \
     -D FREECAD_QT_VERSION=6 \