Package Details: freecad-git 0.22.0.36999.ged77603af9-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: 106
Popularity: 0.75
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2024-04-30 00:29 (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

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 58 Next › Last »

greyltc commented on 2021-07-04 12:18 (UTC)

@K4LCIFER I expect those are upstream's bugs, but I'm not 100% sure. Have a look at lines 68 and 69 of the PKGBUILD as it is now. When I eliminate those two failing tests in my builds, check() passes.

K4LCIFER commented on 2021-07-04 00:18 (UTC) (edited on 2021-07-04 00:22 (UTC) by K4LCIFER)

@greyltc, here is the output of check() from the freecad-git installation.

You should be able to find the errors if you do a text search for FAIL, error or ERROR.

EDIT: Upon further inspection, I have found the following:

======================================================================
FAIL: test_box_frequency (femtest.app.test_ccxtools.TestCcxTools)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/<username>/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/femtest/app/test_ccxtools.py", line 102, in test_box_frequency
    self.result_reading_test(
  File "/home/<username>/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/femtest/app/test_ccxtools.py", line 323, in result_reading_test
    self.assertFalse(
AssertionError: True is not false : Invalid results read from .frd file

======================================================================
FAIL: test_thermomech_flow1D (femtest.app.test_ccxtools.TestCcxTools)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/<username>/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/femtest/app/test_ccxtools.py", line 158, in test_thermomech_flow1D
    self.result_reading_test(
  File "/home/<username>/.cache/yay/freecad-git/src/FreeCAD/build_dir/Mod/Fem/femtest/app/test_ccxtools.py", line 323, in result_reading_test
    self.assertFalse(
AssertionError: True is not false : Invalid results read from .frd file

----------------------------------------------------------------------
Ran 543 tests in 37.991s

FAILED (failures=2)
==> ERROR: A failure occurred in check().
    Aborting...
error making: freecad-git

cculpepper1214 commented on 2021-07-03 20:57 (UTC)

@greyltc I'm ashamed to say... it turned out I had another version of freecad installed and that one was running. I think I had a git built version that I didn't realize.

greyltc commented on 2021-07-03 10:15 (UTC)

@cculpepper1214 I suspect the libboost version error is actually Arch's fault. I had to recompile vtk to fix that.

greyltc commented on 2021-07-03 10:12 (UTC)

@K4LCIFER are those errors in my packaging or upstream's errors?

K4LCIFER commented on 2021-07-03 06:35 (UTC)

Will not install because of multiple errors in check().

focusaurus commented on 2021-06-16 01:28 (UTC)

I am getting a compile/link error relating to pthreads. Not sure if upstream or my system is broken or what. Haven't been able to get any flavor of arch package of freecad to work for the past week or so. git commit for the freecad repo is 82e7ae0e35b7.

Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/plyons/.cache/yay/freecad-git/src/FreeCAD/build_dir/CMakeFiles/CMakeTmp

Run Build Command(s):/bin/ninja cmTC_ad2a2 && [1/2] Building C object CMakeFiles/cmTC_ad2a2.dir/src.c.o
[2/2] Linking C executable cmTC_ad2a2
FAILED: cmTC_ad2a2 
: && /bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         
-fstack-clash-protection -fcf-protection -fPIC -w -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CMakeFiles/cmTC_ad2a2.dir/src.c.o -o cmTC_ad2a2
   && :
/bin/ld: CMakeFiles/cmTC_ad2a2.dir/src.c.o: in function `main':
src.c:(.text.startup+0x28): undefined reference to `pthread_create'
/bin/ld: src.c:(.text.startup+0x32): undefined reference to `pthread_detach'
/bin/ld: src.c:(.text.startup+0x3c): undefined reference to `pthread_cancel'
/bin/ld: src.c:(.text.startup+0x48): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

jffmichi commented on 2021-06-12 10:30 (UTC)

@cculpepper1214 I had the same issue. Reinstalling all dependencies and a complete recompile solved the problem for me.

cculpepper1214 commented on 2021-06-12 05:23 (UTC)

This does not run for me, it appears that the recent boost upgrade needs to be accounted for. FreeCAD: error while loading shared libraries: libboost_filesystem.so.1.75.0: cannot open shared object file: No such file or directory

If I downgrade to 1.75.0 of boost and boost-libs, I cannot compile, it fails because OpenSCAD expects 1.76...

I had the same issue with the aur appimage package, so this might be an upstream arch/freecad issue?

jade1 commented on 2021-06-11 04:00 (UTC)

This doesn't build for me at the moment: it appears to be complaining that ospray has the wrong version (in the repos currently is 2.5.0).

~ » aur sync freecad-git
==> Using [custom] repository
  -> freecad-git: 0.19_pre.r5362.gcbc3fbd157-1 -> 0.19.r582.g0cfea3fee3-1
==> Retrieving package files
From https://aur.archlinux.org/freecad-git
 = [up to date]      master     -> origin/master
Running makepkg --syncdeps --clean
==> Making package: freecad-git 0.19.r796.g4a9963a03f-1 (Thu 10 Jun 2021 08:56:52 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating FreeCAD git repo...
Fetching origin
==> Validating source files with md5sums...
    FreeCAD ... Skipped
==> Extracting sources...
  -> Creating working copy of FreeCAD git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Compiler: GNU, version: 11.1.0
-- prefix: /usr/lib/freecad
-- bindir: bin
-- datadir: ../../share/freecad
-- docdir: ../../share/doc/freecad
-- includedir: include
-- libdir: ../../lib
-- cmake: 3.20.3
-- PyCXX found:
--   Headers:  /home/jade/.cache/aurutils/sync/freecad-git/src/FreeCAD/src
--   Sources:  /home/jade/.cache/aurutils/sync/freecad-git/src/FreeCAD/src/CXX
--   Version:  6.2.8
-- -- Found OCE/OpenCASCADE version: 7.5.0
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib
-- VTK components: not found or used
CMake Error at /usr/lib64/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:162 (find_package):
  Could not find a configuration file for package "ospray" that is compatible
  with requested version "1.8".

  The following configuration files were considered but not accepted:

    /usr/lib64/cmake/ospray-2.5.0/osprayConfig.cmake, version: 2.5.0
    /usr/lib/cmake/ospray-2.5.0/osprayConfig.cmake, version: 2.5.0
    /lib64/cmake/ospray-2.5.0/osprayConfig.cmake, version: 2.5.0
    /lib/cmake/ospray-2.5.0/osprayConfig.cmake, version: 2.5.0

Call Stack (most recent call first):
  /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:131 (include)
  cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:45 (find_package)
  CMakeLists.txt:58 (SetupSalomeSMESH)


-- Configuring incomplete, errors occurred!