Package Details: freecad-linkstage3-git 2022.07.04.edge.r0.ga87320cc64-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: 3
Popularity: 0.000000
First Submitted: 2018-09-21 13:54 (UTC)
Last Updated: 2022-07-04 12:40 (UTC)

Pinned Comments

Salamandar commented on 2022-07-04 15:27 (UTC)

I just updated the version. It seems to work fine. I had to change the dependency python-pyside2 with pyside2.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

r00tr4t commented on 2021-01-09 21:58 (UTC) (edited on 2021-01-10 10:15 (UTC) by r00tr4t)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

@arvx @r00tr4t can you test ?

Salamandar commented on 2021-01-04 15:51 (UTC)

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.

Salamandar commented on 2021-01-04 12:27 (UTC)

For now I get errors with the new Boost version (1.75) requiring c++14, where Freecad builds with -std=gnu++11.

Salamandar commented on 2021-01-04 11:03 (UTC)

I'm testing this. I don't really know where that could come from.