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: 107
Popularity: 1.20
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 .. 5 6 7 8 9 10 11 12 13 14 15 .. 58 Next › Last »

drmacro commented on 2022-03-16 13:28 (UTC)

Seems the latest is broken...

[3449/4279] Linking CXX executable bin/FreeCAD
FAILED: bin/FreeCAD 
: && /usr/bin/c++ -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 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now src/Main/CMakeFiles/FreeCADMain.dir/FreeCADMain_autogen/mocs_compilation.cpp.o src/Main/CMakeFiles/FreeCADMain.dir/MainGui.cpp.o -o bin/FreeCAD -L/usr/lib/openmpi -Wl,-rpath,/usr/lib/openmpi:/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/build_dir/lib:  -lmpi_cxx  -lmpi  lib/libFreeCADGui.so  lib/libFreeCADApp.so  lib/libFreeCADBase.so  -lmpi_cxx  -lmpi  /usr/lib/libxerces-c.so  /usr/lib/libz.so  /usr/lib/libpython3.10.so  -lutil  -ldl  /usr/lib/libQt5Xml.so.5.15.3  -lCoin  /usr/lib/libboost_filesystem.so.1.78.0  /usr/lib/libboost_atomic.so.1.78.0  /usr/lib/libboost_program_options.so.1.78.0  /usr/lib/libboost_regex.so.1.78.0  /usr/lib/libboost_system.so.1.78.0  /usr/lib/libboost_thread.so.1.78.0  /usr/lib/libboost_date_time.so.1.78.0  -lpthread  /usr/lib/libQt5OpenGL.so.5.15.3  /usr/lib/libQt5PrintSupport.so.5.15.3  /usr/lib/libQt5Svg.so.5.15.3  /usr/lib/libQt5UiTools.a  /usr/lib/libQt5Widgets.so.5.15.3  /usr/lib/libQt5Gui.so.5.15.3  /usr/lib//libQt5Widgets.so  /usr/lib//libQt5Gui.so  /usr/lib//libQt5Core.so  /usr/lib//libQt5Widgets.so  /usr/lib//libQt5Gui.so  /usr/lib//libQt5Core.so  /usr/lib/libGL.so  /usr/lib/libpyside2.cpython-310-x86_64-linux-gnu.so.5.15.3  /usr/lib/libshiboken2.cpython-310-x86_64-linux-gnu.so.5.15.2.1  /usr/lib/libQt5Network.so.5.15.3  /usr/lib/libQt5Core.so.5.15.3 && :
/usr/bin/ld: /usr/lib/libpyside2.cpython-310-x86_64-linux-gnu.so.5.15.3: undefined reference to `setDestroyQApplication'
collect2: error: ld returned 1 exit status
[3450/4279] Building CXX object src/Mod/Inspection/Gui/CMakeFiles/InspectionGui.dir/AppInspectionGui.cpp.o
[3451/4279] Automatic MOC for target MeshGui
[3452/4279] Building CXX object src/Mod/Image/Gui/CMakeFiles/ImageGui.dir/AppImageGui.cpp.o
[3453/4279] Building CXX object src/Mod/Inspection/Gui/CMakeFiles/InspectionGui.dir/VisualInspection.cpp.o
[3454/4279] Building CXX object src/Mod/Inspection/Gui/CMakeFiles/InspectionGui.dir/Command.cpp.o
[3455/4279] Automatic MOC for target RobotGui
[3456/4279] Building CXX object src/Mod/Drawing/Gui/CMakeFiles/DrawingGui.dir/AppDrawingGui.cpp.o
[3457/4279] Building CXX object src/Mod/Drawing/Gui/CMakeFiles/DrawingGui.dir/AppDrawingGuiPy.cpp.o
[3458/4279] Automatic MOC for target PartGui
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

mauzil commented on 2022-03-12 08:46 (UTC) (edited on 2022-03-12 10:05 (UTC) by mauzil)

Hi all.

If I 'makepkg -s' the build fails on tests

This is the fist fail

====================================================================== ERROR: TestSketcherApp (unittest.loader._FailedTest)


ImportError: Failed to import test module: TestSketcherApp Traceback (most recent call last): File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName module = import(module_name) File "/home/mauro/Scaricati/Artix/freecad-git/src/FreeCAD/build_dir/Mod/Sketcher/TestSketcherApp.py", line 24, in <module> from SketcherTests.TestSketcherSolver import TestSketcherSolver File "/home/mauro/Scaricati/Artix/freecad-git/src/FreeCAD/build_dir/Mod/Sketcher/SketcherTests/TestSketcherSolver.py", line 23, in <module> import FreeCAD, os, sys, unittest, Part, Sketcher ImportError: libtbb.so.2: cannot open shared object file: No such file or directory

In my system I have only libtbb.so.12.5 installed from package tbb.

I look the histoty of tbb in Arch. From here https://archlinux.org/todo/tbb-20214-rebuild/ libtbb.so.2 is renamed to libtbb.so.12

Analisys

I made some analisys on the so files produced bny Freecad.

These files need libtbb.so.2 and use libtbb.so.12

  • libDriverSTL.so
  • libSMESH.so:
  • libSMESHDS.so
  • libStdMeshers.so
SOLVED

The problem was in opencascade libraries

FabioLolix commented on 2022-02-13 20:53 (UTC)

@greyltc I've send you an email the 11 but forgot to add the attachment, send it today

greyltc commented on 2022-02-13 11:56 (UTC)

no?

Kunda commented on 2022-02-13 11:52 (UTC)

@greyltc did you receive @FabioLolix's patch ?

FabioLolix commented on 2022-02-11 19:09 (UTC)

@Kunda no idea, I have successfully builded using makepkg from my home directory and using extra-x86_64-build from devtools with used dir set to /tmp/chrootbuild, tmpfs mounted without nosuid

Kunda commented on 2022-02-11 18:54 (UTC)

@FabioLolix nice! any idea why we're seeing the test failures in https://aur.archlinux.org/packages/freecad-git#comment-851196 ?

FabioLolix commented on 2022-02-11 18:36 (UTC)

Hello, need checkdepends=(fmt pugixml) for building in clean chroot. Just send you you a patch with this and other minor changes

Kunda commented on 2022-02-11 17:00 (UTC)

Opened a discussion thread on the AUR subforum regarding the test failures: https://bbs.archlinux.org/viewtopic.php?pid=2021620#p2021620

Kunda commented on 2022-02-10 15:41 (UTC) (edited on 2022-02-10 15:42 (UTC) by Kunda)

Has anyone figured out why the tests fail? It looks like a permissions issue.
@adrianinsaval thought it may have been an issue with fakeroot? But we're not so sure. Here are the upstream discussions:
https://forum.freecadweb.org/viewtopic.php?f=4&t=66140
https://forum.freecadweb.org/viewtopic.php?f=4&t=66141

Separate issue but relevant: https://forum.freecadweb.org/viewtopic.php?f=4&t=66137