Package Details: freecad-linkstage3-git asm3.0.11.r4461.ge6c5ae83e2-1

Git Clone URL: (read-only, click to copy)
Package Base: freecad-linkstage3-git
Description: A general purpose 3D CAD modeler - LinkStage3 dev branch, git checkout
Upstream URL:
Licenses: LGPL
Conflicts: freecad
Submitter: Salamandar
Maintainer: Salamandar
Last Packager: Salamandar
Votes: 2
Popularity: 0.000020
First Submitted: 2018-09-21 13:54
Last Updated: 2021-02-08 11:21

Latest Comments

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

DarwinSurvivor commented on 2021-01-23 21:27

==> Starting prepare()...
error: patch failed: src/Mod/PartDesign/Gui/Command.cpp:377
error: src/Mod/PartDesign/Gui/Command.cpp: patch does not apply
error: patch failed: src/Mod/PartDesign/Gui/CommandPrimitive.cpp:85
error: src/Mod/PartDesign/Gui/CommandPrimitive.cpp: patch does not apply

The patches have been applied upstream and their inclusion now breaks the build.

Unfortunately the build still fails later in the compile with pages of compile errors too long to include here.

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

Why is there no CMakeError.log file?

Complete log:

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

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 ?