Package Details: freecad-git 0.22.0.36999.ged77603af9-1

Git Clone URL: https://aur.archlinux.org/freecad-git.git (read-only, click to copy)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL: https://www.freecad.org/
Licenses: LGPL
Conflicts: freecad, freecad-appimage, freecad-appimage-git
Provides: freecad
Submitter: gborzi
Maintainer: greyltc (adrianinsaval)
Last Packager: adrianinsaval
Votes: 106
Popularity: 0.82
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2024-04-30 00:29 (UTC)

Pinned Comments

adrianinsaval commented on 2023-03-12 14:50 (UTC)

If the check fails there is little I can do about it as it most likely needs to be fixed upstream, in such cases report those upstream (maybe wait a day or two as sometimes it's quickly solved upstream) or skip the check with makepkg --nocheck if you don't care about the functionality that is being reported as failing in the check.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 58 Next › Last »

adrianinsaval commented on 2022-08-28 18:42 (UTC)

About the patch provided by hl037, it is no longer required, that problem got solved within a day upstream IIRC

adrianinsaval commented on 2022-08-28 18:41 (UTC) (edited on 2022-08-28 18:42 (UTC) by adrianinsaval)

@Kunda do you know if calculix needs to be present at compile time? eitherway I think I will add it to opt-depends only since it's not required for those not doing FEM

Kunda commented on 2022-08-17 11:46 (UTC) (edited on 2022-08-17 11:47 (UTC) by Kunda)

@adrianinsaval the AUR Calculix package has been split in to calculix-ccx and calculix-cgx.

Can we add the calculix-ccx to this package then ?

Kunda commented on 2022-08-14 14:26 (UTC)

@hl037 is that patch still necessary in latest HEAD? Looks like that include is in an ifndef block now:

#include "PreCompiled.h"
#ifndef _PreComp_
# include <memory>
# include <Standard_Failure.hxx>
#endif

#include <Base/VectorPy.h>

#include "GeomPlate/PointConstraintPy.h"
#include "GeomPlate/PointConstraintPy.cpp"

hl037 commented on 2022-07-10 16:29 (UTC)

this patch does the trick :

--- FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.o.cpp   2022-07-10 15:00:37.506344945 +0200
+++ FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.cpp 2022-07-10 15:00:54.718179043 +0200
@@ -29,6 +29,7 @@

 #include "GeomPlate/PointConstraintPy.h"
 #include "GeomPlate/PointConstraintPy.cpp"
+#include <memory>


 using namespace Part;

Change the prepare to this :

prepare() {
  cd FreeCAD
  cd ${srcdir}
  patch --forward -p0 --input=patch
}

drmacro commented on 2022-07-09 20:35 (UTC)

Ok...my turn.

Today the build produces:

FAILED: src/Mod/Part/App/CMakeFiles/Part.dir/GeomPlate/PointConstraintPyImp.cpp.o /usr/bin/ccache /usr/lib/ccache/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFCUseFreeType -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DPart_EXPORTS -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_XML_LIB -D_OCC64 -I/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/build/src/Mod/Part/App/Part_autogen/include -I/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/build -I/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/build/src -I/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src -I/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/build/src/Mod/Part/App -I/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Mod/Part/App -I/usr/include/opencascade -I/usr/include/python3.10 -I/usr/include/freetype2 -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtXml -Wall -Wextra -Wno-write-strings -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -w -fPIC -fPIC -std=gnu++17 -MD -MT src/Mod/Part/App/CMakeFiles/Part.dir/GeomPlate/PointConstraintPyImp.cpp.o -MF src/Mod/Part/App/CMakeFiles/Part.dir/GeomPlate/PointConstraintPyImp.cpp.o.d -o src/Mod/Part/App/CMakeFiles/Part.dir/GeomPlate/PointConstraintPyImp.cpp.o -c /var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.cpp /var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.cpp: In member function ‘virtual int Part::PointConstraintPy::PyInit(PyObject*, PyObject*)’: /var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.cpp:55:14: error: ‘unique_ptr’ is not a member of ‘std’ 55 | std::unique_ptr<GeomPlate_PointConstraint> ptr; | ^~~~~~~~~~ /var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.cpp:32:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’? 31 | #include "GeomPlate/PointConstraintPy.cpp" +++ |+#include <memory> 32 | /var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.cpp:55:50: error: expected primary-expression before ‘>’ token 55 | std::unique_ptr<GeomPlate_PointConstraint> ptr; | ^ /var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Mod/Part/App/GeomPlate/PointConstraintPyImp.cpp:55:52: error: ‘ptr’ was not declared in this scope; did you mean ‘pt’? 55 | std::unique_ptr<GeomPlate_PointConstraint> ptr; | ^~~ | pt [2468/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_FreeBoundsPyImp.cpp.o [2469/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_SplitCommonVertexPyImp.cpp.o [2470/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_ShapeTolerancePyImp.cpp.o [2471/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_FaceConnectPyImp.cpp.o [2472/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_EdgeConnectPyImp.cpp.o [2473/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_FixSmallSolidPyImp.cpp.o [2474/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_WireVertexPyImp.cpp.o [2475/4265] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ShapeFix/ShapeFix_FixSmallFacePyImp.cpp.o [2476/4265] Automatic MOC for target FreeCADGui AutoMoc: /var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Gui/UiLoader.h:0: Note: No relevant classes found. No output generated. ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

adrianinsaval commented on 2022-07-06 15:09 (UTC)

You'll only see errors if you don't have any version of the package installed, when it is installed the files are found

drmacro commented on 2022-07-05 17:34 (UTC)

Just for the record.

I don't see any issue with 29446 (just build from AUR).

adrianinsaval commented on 2022-07-05 17:09 (UTC)

Ok I tested and I don't get the errors because I have the package already installed and it finds the file in the installed path, not sure how we can solve this since freecad is looking for the installed file, I'll ask in the freecad forum. In the meantime you can safely skip the checks and continue your installation using makepkg -i --nocheck

S.Thanawat commented on 2022-07-05 12:47 (UTC) (edited on 2022-07-05 13:47 (UTC) by S.Thanawat)

I'm tried building Freecad-git again. I run this command first

pamac clean --build-files 

Now I got 3 errors at Check.

======================================================================
ERROR: test_get_svg_from_arch_space_with_zero_vector (drafttests.test_svg.DraftSVG)
Try to get a svg string from an Arch Space with a zero-vector as direction.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Draft/drafttests/test_svg.py", line 93, in test_get_svg_from_arch_space_with_zero_vector
    import Arch
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/Arch.py", line 41, in <module>
    from ArchWall import *
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchWall.py", line 32, in <module>
    import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchComponent.py", line 34, in <module>
    import FreeCAD,Draft,ArchCommands,sys,ArchIFC
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchIFC.py", line 36, in <module>
    import ArchIFCSchema
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/Arch/ArchIFCSchema.py", line 34, in <module>
    with open(os.path.join(FreeCAD.getResourceDir(), "Mod", "Arch", "Presets",
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/freecad/Mod/Arch/Presets/ifc_contexts_IFC4.json'

======================================================================
ERROR: testHatchCase (TestTechDrawApp.TechDrawTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TestTechDrawApp.py", line 49, in testHatchCase
    rc = DHatchTest()
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TDTest/DHatchTest.py", line 42, in DHatchTest
    hatch = FreeCAD.ActiveDocument.addObject("TechDraw::DrawHatch", "Hatch")
OSError: {'sclassname': 'N4Base15FileSystemErrorE', 'sErrMsg': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783HatchHatch.fillpaelXu does not exist.', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783/FreeCAD_Doc_3d37faaa-a656-412c-ab54-9ec3a9653435_da39a3_47783HatchHatch.fillpaelXu does not exist.', 'btranslatable': False, 'breported': False}

======================================================================
ERROR: testSectionCase (TestTechDrawApp.TechDrawTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TestTechDrawApp.py", line 81, in testSectionCase
    rc = DVSectionTest()
  File "/var/tmp/pamac-build-taman/freecad-git/src/FreeCAD/build/Mod/TechDraw/TDTest/DVSectionTest.py", line 40, in DVSectionTest
    section = FreeCAD.ActiveDocument.addObject("TechDraw::DrawViewSection", "Section")
OSError: {'sclassname': 'N4Base15FileSystemErrorE', 'sErrMsg': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783SectionSvgHatch.svgyI4LV4 does not exist.', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': 'File /home/taman/.cache/FreeCAD/Cache/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783/FreeCAD_Doc_fc9a22bc-e56e-45b3-a523-ed5462826a57_da39a3_47783SectionSvgHatch.svgyI4LV4 does not exist.', 'btranslatable': False, 'breported': False}

----------------------------------------------------------------------
Ran 745 tests in 41.669s

FAILED (errors=3)

Exact same result with

yay -S freecad-git