Package Details: freecad 0.18.16093-1

Git Clone URL: (read-only)
Package Base: freecad
Description: A general purpose 3D CAD modeler
Upstream URL:
Licenses: LGPL
Submitter: bluewind
Maintainer: gbs
Last Packager: gbs
Votes: 133
Popularity: 20.767829
First Submitted: 2018-03-22 09:25
Last Updated: 2019-03-13 16:52

Latest Comments

1 2 3 4 5 6 ... Next › Last »

sasvari commented on 2019-03-20 12:26

Currently unable to build the package (/tmp/trizen-bb/freecad/src/FreeCAD/CMakeFiles/CMakeError.log):


Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /tmp/trizen-bb/freecad/src/FreeCAD/CMakeFiles/CMakeTmp

Run Build Command(s):/bin/make cmTC_213b5/fast 
/bin/make -f CMakeFiles/cmTC_213b5.dir/build.make CMakeFiles/cmTC_213b5.dir/build
make[1]: Entering directory '/tmp/trizen-bb/freecad/src/FreeCAD/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_213b5.dir/CheckFunctionExists.c.o
/bin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_213b5.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.14/Modules/CheckFunctionExists.c
Linking C executable cmTC_213b5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_213b5.dir/link.txt --verbose=1
/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=pthread_create  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  -rdynamic CMakeFiles/cmTC_213b5.dir/CheckFunctionExists.c.o  -o cmTC_213b5 -lpthreads 
/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_213b5.dir/build.make:87: cmTC_213b5] Error 1
make[1]: Leaving directory '/tmp/trizen-bb/freecad/src/FreeCAD/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_213b5/fast] Error 2

Kunda commented on 2019-03-20 10:38

Anyone else notice when they try to start FreeCAD 0.18.16093 that it crashes? I invoked from CLI and got this error: (Looks like a shiboken2 issue)

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/shiboken2/support/signature/", line 202, in seterror_argument
    return errorhandler.seterror_argument(args, func_name)
  File "/usr/lib/python3.7/site-packages/shiboken2/support/signature/", line 97, in seterror_argument
    func = eval(func_name, namespace)
  File "<string>", line 1, in <module>
NameError: name 'PySide2' is not defined
Fatal Python error: seterror_argument did not receive a result

Current thread 0x00007f890b8f0800 (most recent call first):
  File "<string>", line 56 in dockWidget
  File "<string>", line 194 in <module>
  File "<string>", line 120 in InitApplications
  File "<string>", line 175 in <module>
Aborted (core dumped)

thse commented on 2019-03-16 14:59

In the output of "makepkg" there is something strange:

... -- Found OCC: //include/opencascade (found version "..") -- -- Found OCE/OpenCASCADE version: .. -- -- OCE/OpenCASCADE include directory: //include/opencascade -- -- OCE/OpenCASCADE shared libraries directory: //lib ...

"//include/opencascade" doesn't exist, but "/usr/include/opencascade" does. So I made a symbolic link /include -> /usr/include and "freecad" compiles without problems. Why?

zoidberg commented on 2019-03-16 13:16

@gbs: This is the output of echo $PATH


I suppose I should probably make an alias for loading the openfoam stuff instead of always importing it in my bashrc.

It's compiling now. Thanks for the help!

gbs commented on 2019-03-16 13:02

zoidberg: I think I understand what is going on. Just to confirm, can you tell what is in your $PATH?

Anyway, a temporary workaround would be to export PATH=/usr/bin:$PATH before making the package.

zoidberg commented on 2019-03-16 12:20

@gbs: I've tried reinstalling opencascade from the repos, but the problem persists.

pacman -Qkk opencascade gives me

opencascade: 8636 total files, 0 altered files

I've also tried deleting the pkg and src directories that are created by makepkg, but it doesn't help.

The opencascade cmake file is here:

gbs commented on 2019-03-16 12:07

zoidberg: There is something wrong with your opencascade installation.

Can you try reinstalling from the repos, and if it persists, pasting the contents of /usr/lib/cmake/opencascade/OpenCASCADEConfig.cmake?

Edit: Also, can you try clearing your build directory first?

zoidberg commented on 2019-03-16 11:10

@gbs: I have the same error as Doxer and vlas. Here is the corresponding makepkg console output:

The other logs (CMakeError.log, CMakeOutput.log) are here:

DoXer commented on 2019-03-15 09:42

I'm also unable to compile 0.18

Here are the logs:

gbs commented on 2019-03-13 22:11

Kunda: there is something strange with the pkg-config for OpenMPI, because OPENMPI_INCLUDE_DIRS is empty on the CMake side. That's the reason for that warning. However, said include dir is just /usr/include, so at the end it doesn't matter.

vlas: I can't see anything that indicates the error in your log. I'd need the entire console output of makepkg itself.