Package Details: freecad-linkstage3-git 20240407stable.r7.g0e9cf4aa7c-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, freecad-linkstage3-bin
Submitter: gkatev
Maintainer: gkatev
Last Packager: gkatev
Votes: 0
Popularity: 0.000000
First Submitted: 2024-06-27 20:17 (UTC)
Last Updated: 2024-10-08 08:26 (UTC)

Latest Comments

gkatev commented on 2025-01-14 19:55 (UTC)

Indeed I see some errors, related to _PyUnicode_IsXidContinue/_PyUnicode_IsXidStart. I'm not really sure how to fix them...

IrunArchBTW commented on 2025-01-14 13:38 (UTC) (edited on 2025-01-14 13:45 (UTC) by IrunArchBTW)

Something wrong on freshly updated laptop, think I have all dependencies...


-- Boost:                       1.86.0
-- Coin3D:                      4.0.3 [/usr/lib/libCoin.so] [/usr/include]
-- Coin3D_DOC:                  not found
-- DesignerPlugin:              not built (BUILD_DESIGNER_PLUGIN is OFF)
-- Doxygen:                     not found
-- Eigen3:                      3.4.0
-- fmt:                         11.1.1
-- Freetype:                    2.13.3
-- HDF5:                        1.14.5
-- Matplotlib:                  3.10.0 PathDirs: /usr/lib/python3.13/site-packages/matplotlib
-- MEDFile:                     4.1.1 [/usr/lib/libmedC.so;/usr/lib/libmed.so] [/usr/include]
-- NETGEN:                      not enabled
-- OCC:                         7.8.1 [/usr/lib] [/usr/include/opencascade]
-- OCC_Libs:                    [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKHLR;TKFeat;TKDESTEP;TKDEIGES;TKDEGLTF;TKDESTL]
-- OpenGL_Lib:                  [/usr/lib/libGL.so]
-- OpenGLU_Incl:                [/usr/include]
-- OpenGLU_Lib:                 [/usr/lib/libGLU.so]
-- pivy:                        0.6.9
-- pybind11:                    not enabled
-- PYCXX:                       7.1.9 Incl: /home/hinz/Desktop/freecad/freecad-linkstage3-git/src/FreeCAD/src Src:/home/hinz/Desktop/freecad/freecad-linkstage3-git/src/FreeCAD/src/CXX
-- PySide:                      5.15.16 [/usr/include/PySide2]
-- PySideTools:                 v: 2  uic: [/usr/bin/uic]  rcc: [/usr/bin/rcc]
-- QtConcurrent:                5.15.16
-- QtCore:                      5.15.16
-- QtNetwork:                   5.15.16
-- QtOpenGL:                    5.15.16
-- QtPrintSupport:              5.15.16
-- QtSvg:                       5.15.16
-- QtUiTools:                   5.15.16
-- QtWebEngineWidgets:          5.15.18
-- QtWidgets:                   5.15.16
-- QtXml:                       5.15.16
-- Rift:                        not enabled (BUILD_VR)
-- Shiboken:                    5.15.16 [/usr/include/shiboken2;/usr/include/python3.13]
-- SMESH:                       7.7.1.0 build internal
-- SPNAV:                       [/usr/lib/libspnav.so] [/usr/include]
-- SWIG:                        4.3.0
-- VTK:                         9.4.1
-- XercesC:                     3.2.5 [/usr/lib/libxerces-c.so] [/usr/include]
-- ZLIB:                        1.3.1

Fails further on with this error:


[15/4880] Building CXX object src/Base/CMakeFiles/FreeCADBase.dir/Tools.cpp.o
FAILED: src/Base/CMakeFiles/FreeCADBase.dir/Tools.cpp.o 

gkatev commented on 2024-10-08 08:53 (UTC)

That sounds strange, since I supposedly removed the patch. Though I didn't actually try to build it... Try to verify that the PKGBUILD it's actually using is up to date and does not contain the patch line.

dev-zero commented on 2024-10-08 08:40 (UTC)

@gkatev thanks for the quick fix, but I still get the same error, despite -Sy and also with a cleanBuild (using yay).

gkatev commented on 2024-10-08 08:27 (UTC)

@dev-zero give it another try now

dev-zero commented on 2024-10-08 08:14 (UTC)

Does not seem to build anymore:

==> Starting prepare()...
error: patch failed: src/Ext/freecad/fc_cadquery/selectors.py:182
error: src/Ext/freecad/fc_cadquery/selectors.py: patch does not apply
error: patch failed: src/Mod/Start/StartPage/StartPage.py:148
error: src/Mod/Start/StartPage/StartPage.py: patch does not apply
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: freecad-linkstage3-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
freecad-linkstage3-git - exit status 4

gkatev commented on 2024-06-27 20:53 (UTC) (edited on 2024-06-27 20:57 (UTC) by gkatev)

FYI there is currently an issue in pyside2 that causes FreeCAD to crash at launch: https://aur.archlinux.org/packages/pyside2#comment-973214. Until it's fixed or patched, you'll need to do it manually. You could add this to pyside2's prepare().


sed 's/attr = PyDict_GetItem(type->tp_dict, name);/attr = PyDict_GetItem((type->tp_dict ? type->tp_dict : PyType_GetDict(type)), name);/' -i sources/pyside2/libpyside/pysideproperty.cpp

gkatev commented on 2024-06-27 20:23 (UTC) (edited on 2024-06-27 21:00 (UTC) by gkatev)

Brought this back from the dead, now using the LinkStable branch (last updated a month ago). It currently builds & works. Any input for when it breaks welcome :).