Does anyone else has difficulties building?
It seems related (again) to the slightly annoying smesh lib.
[ 37%] Linking CXX shared library ../../../lib/libSMESHDS.so
[ 39%] Built target FreeCADApp
[ 39%] Built target FreeCADMainPy
[ 39%] Built target FreeCADMainCmd
[ 39%] Built target Image
[ 39%] Built target Points
[ 39%] Built target Start
[ 39%] Built target Web
[ 39%] Built target Spreadsheet
[ 42%] Built target Mesh
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupBase.cpp.o: in function `SMESHDS_GroupBase::SMESHDS_GroupBase(int, SMESHDS_Mesh const*, SMDSAbs_ElementType)':
SMESHDS_GroupBase.cpp:(.text+0x461): undefined reference to `Quantity_Color::Quantity_Color()'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupBase.cpp.o: in function `SMESHDS_GroupBase::GetColorGroup() const':
SMESHDS_GroupBase.cpp:(.text+0x653): undefined reference to `Quantity_Color::Red() const'
/usr/bin/ld: SMESHDS_GroupBase.cpp:(.text+0x661): undefined reference to `Quantity_Color::Green() const'
/usr/bin/ld: SMESHDS_GroupBase.cpp:(.text+0x670): undefined reference to `Quantity_Color::Blue() const'
collect2: error: ld returned 1 exit status
make[2]: *** [src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/build.make:350: lib/libSMESHDS.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:2403: src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 55%] Built target FreeCADGui
[ 61%] Built target Part
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
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.