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: greyltc (adrianinsaval)
Last Packager: adrianinsaval
Votes: 107
Popularity: 1.02
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 .. 59 Next › Last »

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.

random-archer commented on 2025-03-27 16:14 (UTC)

Here is an updated working config:
https://github.com/random-cadder/freecad-aur

xiota commented on 2025-03-25 05:47 (UTC)

@random-archer AUR packages should not have ccache. It is set up by users in makepkg.conf.

random-archer commented on 2025-03-18 00:30 (UTC) (edited on 2025-03-18 00:31 (UTC) by random-archer)

As of 2025-03-17, there are missing make dependencies:

bartus commented on 2025-01-25 14:45 (UTC)

libspnav is now required in makedepnds

Otherwise, there's a linking error with missing symbols in libFreeCADGui.so