Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2023 21:30:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269018] cad/freecad: FTBFS (possibly following Boost 1.81 update)
Message-ID:  <bug-269018-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269018

            Bug ID: 269018
           Summary: cad/freecad: FTBFS (possibly following Boost 1.81
                    update)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cmt@freebsd.org
          Reporter: ice@extreme.hu
             Flags: maintainer-feedback?(cmt@freebsd.org)
          Assignee: cmt@freebsd.org

cad/freecad suddenly started doing

[ 65%] Building CXX object
src/Gui/CMakeFiles/FreeCADGui.dir/SoFCUnifiedSelection.cpp.o
cd /usr/ports/cad/freecad/work/.build/src/Gui && /usr/bin/c++
-DBOOST_PP_VARIADICS=3D1 -DBUILD_ADDONMGR -DCMAKE_BUILD_TYPE=3D\"Release\"
-DFreeCADGui_EXPORTS -DH5_BUILT_AS_DYNAMIC_LIB -DHAVE_CONFIG_H -DHAVE_PYSID=
E2
-DHAVE_SHIBOKEN2 -DNDEBUG -DPYSIDE_QML_SUPPORT=3D1 -DQT_CORE_LIB -DQT_GUI_L=
IB
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB
-DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_OCC64
-I/usr/ports/cad/freecad/work/.build/src/Gui/FreeCADGui_autogen/include
-I/usr/ports/cad/freecad/work/.build -I/usr/ports/cad/freecad/work/.build/s=
rc
-I/usr/ports/cad/freecad/work/FreeCAD-0.20.2/src
-I/usr/ports/cad/freecad/work/FreeCAD-0.20.2/src/Gui
-I/usr/ports/cad/freecad/work/FreeCAD-0.20.2/src/Gui/Quarter
-I/usr/ports/cad/freecad/work/.build/src/Gui
-I/usr/ports/cad/freecad/work/FreeCAD-0.20.2/src/Gui/..
-I/usr/ports/cad/freecad/work/.build/src/Gui/..
-I/usr/ports/cad/freecad/work/.build/src/Gui/Language
-I/usr/ports/cad/freecad/work/.build/src/Gui/propertyeditor
-I/usr/ports/cad/freecad/work/.build/src/Gui/TaskView
-I/usr/ports/cad/freecad/work/.build/src/Gui/Quarter
-I/usr/ports/cad/freecad/work/.build/src/Gui/DAGView
-I/usr/local/include/eigen3 -I/usr/local/include/Inventor/annex
-I/usr/local/include/PySide2/QtCore -I/usr/local/include/PySide2/QtGui
-I/usr/local/include/PySide2/QtWidgets -isystem /usr/local/include/python3.9
-isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isy=
stem
/usr/local/lib/qt5/mkspecs/freebsd-clang -isystem
/usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -isy=
stem
/usr/local/include/qt5/QtOpenGL -isystem /usr/local/include/qt5/QtPrintSupp=
ort
-isystem /usr/local/include/qt5/QtSvg -isystem /usr/local/include/qt5/QtNet=
work
-isystem /usr/local/include/qt5/QtUiTools -isystem /usr/local/include/shibo=
ken2
-isystem /usr/local/include/PySide2 -isystem /usr/local/include/qt5/QtXml -=
Wall
-Wextra -Wpedantic -Wno-write-strings -O2 -pipe -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/inclu=
de
-Wno-undefined-var-template -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDE=
BUG
-fPIC -I/usr/local/include/hdf5-110 -I/usr/local/mpi/openmpi/include
-fexceptions -pthread -fPIC -std=3Dgnu++17 -MD -MT
src/Gui/CMakeFiles/FreeCADGui.dir/SoFCUnifiedSelection.cpp.o -MF
CMakeFiles/FreeCADGui.dir/SoFCUnifiedSelection.cpp.o.d -o
CMakeFiles/FreeCADGui.dir/SoFCUnifiedSelection.cpp.o -c
/usr/ports/cad/freecad/work/FreeCAD-0.20.2/src/Gui/SoFCUnifiedSelection.cpp
--- src/Gui/CMakeFiles/FreeCADGui.dir/SoFCSelection.cpp.o ---
/usr/ports/cad/freecad/work/FreeCAD-0.20.2/src/Gui/SoFCSelection.cpp:407:28:
error: implicit instantiation of undefined template
'std::array<std::pair<double, std::string>, 3>'
                auto pts =3D schemaTranslatePoint(pt[0], pt[1], pt[2], 1e-7=
);
                           ^
/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^

This looks broadly similar to what 8f5465b fixed in devel/simgear, and inde=
ed
sprinkling a couple of "#include <array>"s in

src/Gui/Selection.cpp
src/Gui/SoFCSelection.cpp
src/Gui/SoFCUnifiedSelection.cpp
src/Gui/ViewProviderLink.cpp
src/Mod/Import/App/ImportOCAF2.cpp

enables a successful build (no diff since I don't know what makes C++ tick,=
 I
just stick random things in random places).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269018-7788>