@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
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: | fermino |
| Last Packager: | adrianinsaval |
| Votes: | 109 |
| Popularity: | 0.44 |
| 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-scrollfixAUR, qt6-base-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-base-headlessAUR, qt6-base-hifpsAUR)
- 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)
destate9 commented on 2026-02-08 09:03 (UTC)
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 \
hcdlt commented on 2025-04-28 06:46 (UTC) (edited on 2025-04-28 06:48 (UTC) by hcdlt)
@xorly, @adrianinsaval:
I have the same issue with building freecad-git.
I'll elaborate a little with my own findings. I use the hdf5-openmpi package. Setting the cmake variable
HDF5_FIND_DEBUG=ON before build gives me
-- Found HDF5: hdf5-shared (found version "1.14.6") found components: C HL
-- HDF5_DIR: /usr/lib/cmake/hdf5
-- HDF5_DEFINITIONS:
-- HDF5_INCLUDE_DIRS: /usr/include
-- HDF5_LIBRARIES: hdf5-shared
-- HDF5_HL_LIBRARIES: hdf5_hl-shared
-- HDF5_C_DEFINITIONS:
-- HDF5_C_INCLUDE_DIR:
-- HDF5_C_INCLUDE_DIRS: /usr/include
-- HDF5_C_LIBRARY: /usr/lib/libhdf5.so.310.5.1
-- HDF5_C_LIBRARIES: hdf5-shared
-- HDF5_C_HL_LIBRARY: /usr/lib/libhdf5_hl.so.310.0.6
-- HDF5_C_HL_LIBRARIES: hdf5_hl-shared
-- Defined targets (if any):
-- ... hdf5::hdf5
-- ... hdf5-shared
-- ... hdf5::hdf5_hl
-- ... hdf5_hl-shared
-- ... hdf5_cpp-shared
-- ... hdf5_hl_cpp-shared
-- ... hdf5_fortran-shared
-- ... hdf5_hl_fortran-shared
which to my untrained eye looks like indeed the hdf5 hl libraries were found, but for some reason not recognized correctly. Querying the files of that hdf5-openmpi package also confirms that all the hl libraries for c, c++ and fortran are in fact there.
I also updated vtk from the version in extra (9.4.2-2) to the one from extra-staging (9.4.2-3), which changed the discovery mechanism of hdf5 slightly. The error remains the same though...
xorly commented on 2025-04-26 09:14 (UTC)
Hi, I have problem with build. More precisely with cmake configure fails on VTK/HDF5. Any ideas what could be wrong?
...
-- VTK components: CommonCore;CommonDataModel;FiltersVerdict;IOXML;FiltersCore;FiltersGeneral;IOLegacy;FiltersExtraction;FiltersSources;FiltersGeometry;IOMPIParallel;ParallelMPI;hdf5;FiltersParallelDIY2;RenderingCore;InteractionStyle;RenderingFreeType;RenderingOpenGL2
-- Found JsonCpp: /usr/lib/libjsoncpp.so (found suitable version "1.9.6", minimum required is "0.7.0")
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
Could NOT find HDF5 (missing: HDF5_HL_LIBRARIES) (found version "1.14.6")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
/usr/lib/cmake/vtk/patches/99/FindHDF5.cmake:1006 (find_package_handle_standard_args)
/usr/lib/cmake/vtk/VTK-vtk-module-find-packages.cmake:1014 (find_package)
/usr/lib/cmake/vtk/vtk-config.cmake:170 (include)
cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:59 (find_package)
CMakeLists.txt:94 (SetupSalomeSMESH)
It looks like HDF5_HL_LIBRARIES is not being set for some reason...
bartus commented on 2025-04-16 08:01 (UTC) (edited on 2025-04-16 11:30 (UTC) by bartus)
@adrianinsaval @rbachl: missing pcl, pybind11 from the depends[] array; won't build with cmake>=4.0 without the -DCMAKE_POLICY_VERSION_MINIMUM=3.5 flag; freecad-thumbnailer is now installed in /usr/share/freecad/bin and fcinfo is now correctly installed in /usr/bin: http://0x0.st/8f01.diff
rbachl commented on 2025-04-05 06:03 (UTC)
CMake Error at cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package): By not providing "FindPCL.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "PCL", but CMake did not find one.
Could not find a package configuration file provided by "PCL" with any of the following names:
PCLConfig.cmake
pcl-config.cmake
Add the installation prefix of "PCL" to CMAKE_PREFIX_PATH or set "PCL_DIR" to a directory containing one of the above files. If "PCL" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:82 (SetupPCL)
-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build().
drmacro commented on 2025-03-27 18:41 (UTC)
@random-archer
I just ran the build with your PKGBUILD.
The build does complete, but launching freecad fails.
I added an issue with log output on your github.
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 --nocheckif you don't care about the functionality that is being reported as failing in the check.