Package Details: freecad-linkstage3-git asm3.0.11.r3435.gb7d3346e00-1

Git Clone URL: https://aur.archlinux.org/freecad-linkstage3-git.git (read-only, click to copy)
Package Base: freecad-linkstage3-git
Description: A general purpose 3D CAD modeler - LinkStage3 dev branch, git checkout
Upstream URL: http://www.freecadweb.org/
Licenses: LGPL
Conflicts: freecad
Submitter: Salamandar
Maintainer: Salamandar
Last Packager: Salamandar
Votes: 2
Popularity: 0.000993
First Submitted: 2018-09-21 13:54
Last Updated: 2021-01-04 15:51

Latest Comments

1 2 3 Next › Last »

r00tr4t commented on 2021-01-13 19:38

@arvx. Yes, I run Arch. :P

arvx commented on 2021-01-13 16:55

@r00tr4t, not sure why there is no CMakeError.log. The CMakeOutput.log file doesn't show any hints at finding errors or warnings either.

You are using Arch, right?

r00tr4t commented on 2021-01-09 21:58

Confirmed I added the -pthread to the CFLAGS and it passed the test but then if failed. I got the same results as @arvx

-- Configuring incomplete, errors occurred!
See also "FreeCAD/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...

Why is there no CMakeError.log file?

Complete log: http://ix.io/2LtC

Edit: Forgot to add the -DTHREADS_PREFER_PTHREAD_FLAG=ON but it seemed work without that parameter.

arvx commented on 2021-01-05 19:02

@Salamandar, in the PKGBUILD I added -pthread to the flags

    export CFLAGS="$CFLAGS -Wno-deprecated-declarations -pthread"
    export CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations -pthread"

And added -DTHREADS_PREFER_PTHREAD_FLAG=ON to cmake parameters.

Now the check on pthread passes (checking in CMakeOutput.log)

Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD succeeded with the following output:

However, makepkg still fails with cmake but it doesn't generate a CMakeError.log:

-- Configuring incomplete, errors occurred!
See also "/tmp/makepkg/freecad-linkstage3-git/src/FreeCAD/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...

Any idea where I could look for errors at this point if I don't have a CMakeError.log file?

arvx commented on 2021-01-05 16:45

Thanks for double checking. Must be an edge case on my system and that of r00tr4t as well. I'll try to figure it out and report back with my findings.

Salamandar commented on 2021-01-05 16:39

Still no issue on a clean archlinux docker image with only the freecad dependencies installed… I really don't know where your issues come from :(

Salamandar commented on 2021-01-05 16:02

OK, well… I'm popping an archlinux container (i'm on manjaro atm), it's building for now… 2300/4062, no error yet

arvx commented on 2021-01-05 14:39

@Salamandar, just tested and I still see the pthreads errors. I'll try to debug later and see if I can find the root cause. Didn't get any issue with boost libraries on my end.

Salamandar commented on 2021-01-05 12:55

@arvx @r00tr4t can you test ?

Salamandar commented on 2021-01-04 15:51

I pushed 2 patches for the last boost update, it should be fixed upstream "someday".

I don't have the pthread issue here, I don't know where that could come from.