Package Details: freecad-linkstage3-git asm3.0.9.1.r44.gf670d46f2-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: 1
Popularity: 0.000053
First Submitted: 2018-09-21 13:54
Last Updated: 2019-03-18 18:55

Latest Comments

s218 commented on 2019-11-23 16:32

He's not going to. Whatever you try. The process is interrupted at the stage of compilation. ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp: In the "void SMESH_MeshEditor::InsertNodesIntoLink(const SMDS_MeshElement, const SMDS_MeshNode, const SMDS_MeshNode, std::__cxxx11::list<const SMDS_MeshNode*>&, bool)" member function: ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:9039:5: Warning: "iBestQuad" may be used without initialization in this function [-Wmaybe-uninitialized] == sync, corrected by elderman == for | == sync, corrected by elderman == for | == for | == for | == for | == for | == for | | ^~ ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp: In the "SMESH_MeshEditor::Sew_Error SMESH_MeshEditor::SewFreeBorder(const SMDS_MeshNode, const SMDS_MeshNode, const SMDS_MeshNode, const SMDS_MeshNode, const SMDS_MeshNode, const SMDS_MeshNode, const SMDS_MeshNode, bool, bool, bool)" function: ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:8436:13: Warning: "iPrevNode" may be used without initialization in this function [-Wmaybe-uninitialized] 8436 | int iPrevNode, iNode = 0, nbNodes = elem->NbNodes(); | ^~~~~~~~~ ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp: In the "void SMESH_MeshEditor::DoubleElements(const TIDSortedElemSet&)" member function: ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:10619:23: Warning: "type" may be used without initialization in this function [-Wmaybe-uninitialized] == sync, corrected by elderman == sync, corrected by elderman == for | == for | == sync, corrected by elderman == for | == for | == for | == for | == for | == for | == for | == for | == for | == for | == for | == for |== for | == for== for== for== for== for== sync, == for== for== sync, == for== for== sync, == for== for== for== sync, == for== for== for== sync, == for== for== sync, == for== for== sync, == for== for== for== sync, == for== for== sync, == for== for== sync, == for== for== == for== sync, == for== for== | ^~~~ ../src/3rdParty/salomesmesh/src/SMESH/SMESH/SMESH_MeshEditor.cpp: In the "bool SMESH_MeshEditor::TriToQuad(TIDSortedElemSet&, SMESH::Controls::NumericalFunctorPtr, double)" function: ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:3331:21: Warning: "link13" may be used without initialization in this function [-Wmaybe-uninitialized] 3331 | linkNode2 = link13->second; | ~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:3325:21: warning: "link12" may be used without initialization in this function [-Wmaybe-uninitialized] 3325 | linkNode2 = link12->second; | ~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp: In the "void SMESH_MeshEditor::QuadTo4Tri(TIDSortedElemSet&)" member function: ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:1604:35: warning: "subMeshDS" may be used without initialization in this function [-Wmaybe-uninitialized] 1604 | GetMeshDS()->RemoveFreeElement( quad, subMeshDS, /fromGroups=/false ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp: In the "void SMESH_MeshEditor::Smooth(TIDSortedElemSet&, std::set<const SMDS_MeshNode*>&, SMESH_MeshEditor::SmoothMethod, int, double, bool)" function: ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:4161:25: warning: "v" may be used without initialization in this function [-Wmaybe-uninitialized] 4161 | newUV.SetY( ElCLib::InPeriod( newUV.Y(), v1, v2 )); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:4159:25: warning: "u" may be used without initialization in this function [-Wmaybe-uninitialized] 4159 | newUV.SetX( ElCLib::InPeriod( newUV.X(), u1, u2 )); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. ==> Error: There has been a failure in build(). Interruption... ==> Error: Makepkg failed to build freecad-linkstage3-git.

remspoor commented on 2019-05-18 16:56

I get this error.

Error on file "/tmp/yay/freecad-linkstage3-git/src/freecad-linkstage3-git.desktop": No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
Error making: freecad-linkstage3-git

But even after copying 'freecad.desktop' and 'freecad.xml' from the original package, i get this:

install: cannot stat 'src/Gui/Icons/freecad-icon-16.png': No such file or directory

Which can be resolved by adding this '${srcdir}/${_gitname}/' at the 2 install lines

Salamandar commented on 2018-10-17 09:23

I'm on it today, expect a new revision.

kristaba commented on 2018-10-16 15:46

There is another issue with this package, related to the location of .so files. It causes all native modules (the starting GUI, Part workbench...) to fail, with an import error visible in the console.

I am not sure of the quality of my fix, but succeeded to have it to work by changing the following in PKGBUILD (build function):

    -DBUILD_QT5=ON \
    -DCMAKE_INSTALL_PREFIX='/usr/lib/freecad' \
-   -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+   -DCMAKE_INSTALL_LIBDIR='/usr/lib/freecad/lib' \
    -DCMAKE_INSTALL_DOCDIR='/usr/share/freecad/doc' \
    -DCMAKE_INSTALL_DATADIR='/usr/share/freecad' \

kristaba commented on 2018-10-16 15:40

@vollassitoni69 I ran into this issue today, it is caused by one of the provided patches in the AUR being already fixed upstream. A temporary fix would be either to remove the part concerning the CMakeLists.txt in the file temporary_fixes.patch.

Another possible (dirty) fix is to edit the PKGBUILD, by replacing (currently at line 85):

    patch -Np1 -i "${srcdir}/temporary_fixes.patch"

by something like

    patch -Np1 -i "${srcdir}/temporary_fixes.patch" || echo patch failure ignored

vollassitoni69 commented on 2018-10-15 22:10

Hi, I'm having some trouble building this when installing freecad-assembly3-git:

==> Starting prepare()...
patching file CMakeLists.txt
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file CMakeLists.txt.rej
patching file src/Gui/View3DInventorViewer.cpp
==> ERROR: A failure occurred in prepare().
    Aborting...
Error making: freecad-linkstage3-git

The contents of ~/.cache/yay/freecad_linkstage3_git/src/FreeCad/CMakeLists.txt.rej are

--- CMakeLists.txt
+++ CMakeLists.txt
@@ -734,7 +734,7 @@ endif()
                 add_compile_options(${OPENMPI_CFLAGS})
                 link_directories(${OPENMPI_LIBRARY_DIRS})
                 link_libraries(${OPENMPI_LIBRARIES})
-                find_file(MpidotH mpi.h PATHS ${OPENMPI_INCLUDE_DIRS} NO_DEFAULT_PATH)
+                find_file(MpidotH mpi.h PATHS ${OPENMPI_INCLUDE_DIRS})
                 if(NOT MpidotH)
                     message( WARNING "mpi.h was not found. Check for error above.")
                 endif()

Sorry if this is not very helpful, I'm pretty new to the Linux world :) Thanks!

Salamandar commented on 2018-09-21 14:46

This package is still a WIP ;) It shouldn't ask for phonon-qt4, or maybe through dependencies…

Kunda commented on 2018-09-21 14:28

I'm trying to track down why the install is asking for phonon-qt4 and not phonon-qt5 ?