Package Details: freecad-git

Git Clone URL: (read-only, click to copy)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL:
Licenses: LGPL
Conflicts: freecad, freecad-appimage, freecad-appimage-git
Provides: freecad
Submitter: gborzi
Maintainer: greyltc (adrianinsaval)
Last Packager: adrianinsaval
Votes: 103
Popularity: 0.055019
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2023-11-14 18:37 (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 .. 56 Next › Last »

Kunda commented on 2023-12-05 02:13 (UTC)

Heads-up, new OCCT release

ccorn commented on 2023-11-21 23:33 (UTC)

To build with the newest vtk package, use the patch from the non-git Archlinux package:

Corresponding change to PKGBUILD:

@@ -63,8 +63,8 @@ optdepends=(
 conflicts=('freecad' 'freecad-appimage' 'freecad-appimage-git')
+source=("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() {

adrianinsaval commented on 2023-11-14 19:00 (UTC)

should be fixed now

drmacro commented on 2023-11-14 13:07 (UTC) (edited on 2023-11-14 13:10 (UTC) by drmacro)

The build fails because the new OndselSolver has not been added.

CMake Error at src/3rdParty/CMakeLists.txt:11 (message):
  The OndselSolver git submodule is not available.  Please run

          git submodule update --init

CMake Error at src/3rdParty/CMakeLists.txt:14 (add_subdirectory):
  The source directory


  does not contain a CMakeLists.txt file.

random-archer commented on 2023-11-13 21:00 (UTC) (edited on 2023-11-13 21:02 (UTC) by random-archer)

as of 2023-11-13 build fails since prepare() is missing git submodule handling:

prepare() { cd FreeCAD; git submodule update --init; # <-MISSING THIS LINE }

neo2001 commented on 2023-10-14 17:09 (UTC)

@drmacro: Thank you, that worked without any other changes!

I needed to get rid of the build dir (/tmp/makepkg in my case) for it to work.

drmacro commented on 2023-10-14 14:47 (UTC)

The git repo was renamed to main from master.

I cleared the AUR cache and it apparently forced a fresh git pull.

It built with the latest git.

drmacro commented on 2023-10-13 19:15 (UTC) (edited on 2023-10-13 19:17 (UTC) by drmacro)

Attempting to install just now got the following:

Building freecad-git...
==> Making package: freecad-git (Fri 13 Oct 2023 03:11:44 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating FreeCAD git repo...
==> Validating source files with md5sums...
    FreeCAD ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of FreeCAD git repo...
Cloning into 'FreeCAD'...
warning: remote HEAD refers to nonexistent ref, unable to checkout
==> Starting prepare()...
==> Starting pkgver()...
grep: CMakeLists.txt: No such file or directory
fatal: ambiguous argument 'd29fd7d..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
/var/tmp/pamac-build-mac/freecad-git/PKGBUILD: line 72: 24266 +  : syntax error: operand expected (error token is "+  ")
==> ERROR: A failure occurred in pkgver().