Package Details: freecad-git 1:0.17.r1484.g1e6818b6f-1

Git Clone URL: https://aur.archlinux.org/freecad-git.git (read-only)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL: http://www.freecadweb.org/
Licenses: LGPL
Conflicts: freecad
Provides: freecad
Submitter: gborzi
Maintainer: greyltc
Last Packager: greyltc
Votes: 68
Popularity: 0.029872
First Submitted: 2012-03-03 13:46
Last Updated: 2018-10-17 23:03

Latest Comments

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

lonaowna commented on 2018-12-12 12:15

Please make this depend on qt5-webkit instead of qtwebkit (like freecad-qt5-git does). The former is maintained and available from the official repositories.

miffi commented on 2018-12-10 18:33

I ran into the same problem with the 'lptheads' linker directive.

Kunda commented on 2018-12-05 16:18

It would be good to merge the py3 git aur package and make sure we're using only py3/qt5

goddisignz commented on 2018-12-05 06:49

Hi,I just tried to build the package but it fails with a cmake error trying to determine if pthread_create exists. Has anyone had or even solved this problem? Here's my CMakeErr.log:

Determining if the pthread_create exist failed with the following output:
Change Dir: /build/freecad-git/src/freecad-git/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d9d4f/fast"
/usr/bin/make -f CMakeFiles/cmTC_d9d4f.dir/build.make CMakeFiles/cmTC_d9d4f.dir/build
make[1]: Entering directory '/build/freecad-git/src/freecad-git/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d9d4f.dir/CheckSymbolExists.c.o
/usr/bin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt    -o CMakeFiles/cmTC_d9d4f.dir/CheckSymbolExists.c.o   -c /build/freecad-git/src/freecad-git/CMakeFile
s/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_d9d4f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d9d4f.dir/link.txt --verbose=1
/usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt   -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  -rdynamic CMakeFiles/cmTC_d9d4f.dir/CheckSymbolExist
s.c.o  -o cmTC_d9d4f 
/usr/bin/ld: CMakeFiles/cmTC_d9d4f.dir/CheckSymbolExists.c.o: in function `main':
CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_d9d4f.dir/build.make:87: cmTC_d9d4f] Error 1
make[1]: Leaving directory '/build/freecad-git/src/freecad-git/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_d9d4f/fast] Error 2

File /build/freecad-git/src/freecad-git/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /build/freecad-git/src/freecad-git/CMakeFiles/CMakeTmp

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

I think it might be caused by the "-lpthreads" ld-flag. As far as I know, it is a singular "-lpthread", or am I wrong here?

Grawp commented on 2018-06-25 20:00

@drhooves Hi, do you plan updating this package? I've created and am maintaining a fairly well working freecad-python3-git. In case you don't wish to continue maintaining this packge maybe we could merge it with mine?

Harvie commented on 2018-04-12 11:05

Maybe it needs salome-smesh package??

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: NGLIB_INCLUDE_DIR used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh used as include directory in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh NGLIB_LIBNGLIB linked by target "NETGENPlugin" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "MEFISTO2" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "SMESH" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "Driver" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "SMDS" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "StdMeshers" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "DriverSTL" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "DriverDAT" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "DriverUNV" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh linked by target "SMESHDS" in directory /tmp/yaourt-tmp-harvie/aur-freecad-git/src/freecad-git/src/3rdParty/salomesmesh

manuel_v commented on 2018-03-17 08:24

@MicroJoe The message you posted only indicates that the build was aborted due to an error. Since the build might have continued for some time before it was aborted, you probably need to scroll up to see the error that caused this.

MicroJoe commented on 2018-03-16 19:24

Current build status is ok on FreeCAD's page, but I have following error during build:

[ 81%] Linking CXX shared library ../../lin64/gcc/lib/libTKIGES.so<br> [ 81%] Built target TKIGES<br> make: *** [Makefile:130: all] Error 2<br> ==> ERROR: A failure occurred in build().<br> Aborting...

Adding netcdf as suggested by manuel_v did not solve the build issue.

manuel_v commented on 2018-03-16 13:49

netcdf is required as make dependency.

D_Schwartfeger commented on 2018-03-06 08:28

Yes I am trying that as well. Thanks