Hi, I am getting file conflict:
freecad-git: /usr/share/Coin/conf/coin-default.cfg exists in filesystem (owned by coin)
All other freecad Coin files are located in /usr/share/freecad/ or /usr/share/freecad/Coin/
| 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: | fermino |
| Votes: | 108 |
| Popularity: | 0.024346 |
| First Submitted: | 2012-03-03 13:46 (UTC) |
| Last Updated: | 2026-06-03 02:36 (UTC) |
Hi, I am getting file conflict:
freecad-git: /usr/share/Coin/conf/coin-default.cfg exists in filesystem (owned by coin)
All other freecad Coin files are located in /usr/share/freecad/ or /usr/share/freecad/Coin/
@mikaelblomkvists did you rebuild freecad after the yaml-cpp update?
Missing yaml-cpp dependency in version 0.8. I already have 0.9:
After some of the last updates I cannot start the freecad, that was working before. I get:
freecad: error while loading shared libraries: libyaml-cpp.so.0.8: cannot open shared object file: No such file or directory
@Redi I understand it's a build only dep, right? [1]
I'm building it to check it out but it'll take a while :)
Seems like python-lark-parser must be added to dependencies.
pkgver(): fix version moved from CMakeLists.txt to version.json
git am -s < <(curl -s https://file.garden/adti-A57_HghQxLc/0002-Fix-pkgver-version-was-moved-to-version.json.patch)prepare(): include submodules in the source[] array: Alleviating redownload on each rebuild.
git am -s < <(curl -s https://file.garden/adti-A57_HghQxLc/0001-Add-submodules-to-the-source-array.patch)Hi, in recent commit https://github.com/FreeCAD/FreeCAD/commit/011cc7e6fd27a87fece4c1fbb946a9e91d9e17cd version moved to version.json
Possible solution using jq
diff --git a/PKGBUILD b/PKGBUILD
index ded1de0..4b1265b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,7 +63,9 @@ md5sums=('SKIP')
pkgver() {
cd FreeCAD
- read -d$'/n' -r major minor patch < <(grep -Po "set\(PACKAGE_VERSION_(MAJOR|MINOR|PATCH) \"\K[0-9]*" CMakeLists.txt) || true
+ major=$(jq -r ".\"version_major\"" version.json)
+ minor=$(jq -r ".\"version_minor\"" version.json)
+ patch=$(jq -r ".\"version_patch\"" version.json)
count=$((24266 + $(git rev-list --count d29fd7d..HEAD) ))
hash=$(git rev-parse --short HEAD)
printf "%d.%d.%d.%d.g%s" "$major" "$minor" "$patch" "$count" "$hash"
@adrianinsaval: fast_float is missing from the makedepends[] array.
I get the following error when trying to install.
Doesn't build:
Traceback (most recent call last):
File "<string>", line 1, in <module>
import pivy as p; print(p.__version__,end='')
^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pivy'
ERRORFailed to import Pivy using /home/mean-ui-thread/.local/bin/python3.13
-- Checking Pivy Coin3D version by importing it in a Python program...
Traceback (most recent call last):
File "<string>", line 1, in <module>
import pivy as p; print(p.SoDB.getVersion(),end='')
^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pivy'
ERRORFailed to get Pivy Coin3D version using /home/mean-ui-thread/.local/bin/python3.13
CMake Error at cMake/FreeCAD_Helpers/SetupCoin3D.cmake:72 (message):
Failed to match Pivy Coin3D version string output
Call Stack (most recent call first):
CMakeLists.txt:114 (SetupPivy)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
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.