Haven't seen an update since 38242.
The github version is at 38323.
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.145920 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2024-04-30 00:29 (UTC) |
Haven't seen an update since 38242.
The github version is at 38323.
AFAIK freecad doesn't use fast_float and I haven't had any trouble besides that warning compiling without it so I don't see much benefit on adding it. I'm happy to add it if I'm wrong
For a good compilation seems, when using OpemMP, that there is an unspecified dependency with package fast_float
(current version is 6.1.0-2
), I would specify it in depend, before the line
openmp1
otherwise there is this warning:
...
-- Found OpenMP: TRUE (found version "4.5")
CMake Warning at /usr/lib/cmake/vtk/VTK-vtk-module-find-packages.cmake:3130
(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 6.1.0) 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:159 (include)
cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:59 (find_package)
CMakeLists.txt:72 (SetupSalomeSMESH)
Is this due to the Qt6 change?
/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Gui/Application.cpp: In member function ‘QStringList Gui::Application::workbenches() const’:
/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Gui/Application.cpp:1677:30: error: ‘PyUnicode_AsUTF8’ was not declared in this scope; did you mean ‘PyUnicode_AsUCS4’?
1677 | const char* wbName = PyUnicode_AsUTF8(key);
| ^~~~~~~~~~~~~~~~
| PyUnicode_AsUCS4
[3854/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DocumentModel.cpp.o
[3855/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DocumentObserver.cpp.o
[3856/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/AutoSaver.cpp.o
[3857/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DocumentObserverPython.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
updated to qt6 now
I'll hold off updating this until https://gitlab.archlinux.org/archlinux/packaging/packages/pyside6/-/merge_requests/1 makes into the extra repo, I tried building with the package from testing but that is using python 3.12 so it doens't work with the rest of the packages
Needs qt6 and pyside6 now as a dependency.
Heads-up, new OCCT release https://github.com/Open-Cascade-SAS/OCCT/releases/tag/V7_8_0
To build with the newest vtk
package, use the patch from the non-git Archlinux package:
Corresponding change to PKGBUILD
:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,8 +63,8 @@ optdepends=(
)
provides=('freecad')
conflicts=('freecad' 'freecad-appimage' 'freecad-appimage-git')
-source=("git+https://github.com/FreeCAD/FreeCAD.git")
-md5sums=('SKIP')
+source=("git+https://github.com/FreeCAD/FreeCAD.git" "freecad-vtk9.3.patch")
+b2sums=('SKIP' '709e6321a45b050187a6c5447b4381a5e9958687a1a5f25d0418f63e85f52e040fdf37fb1aa1d2886e06edb1b5b4cce847c>
pkgver() {
cd FreeCAD
@@ -77,6 +77,7 @@ pkgver() {
prepare() {
cd FreeCAD
git submodule update --init
+ patch -Np1 -i "$srcdir"/freecad-vtk9.3.patch
}
build() {
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.