@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 \
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.