[MacPorts] #60039: freecad @0.18.4_0+gcc9: configure failure, can't find boost

MacPorts noreply at macports.org
Tue Feb 4 20:13:47 UTC 2020


#60039: freecad @0.18.4_0+gcc9: configure failure, can't find boost
----------------------------+-------------------------
  Reporter:  informatimago  |      Owner:  Schamschula
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.2
Resolution:                 |   Keywords:
      Port:  freecad        |
----------------------------+-------------------------

Comment (by informatimago):

 Ok, after installing boost +python27, things go farther. But now it seems
 that there are two errors in the sources of FreeCAD:
 {{{
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/build/src/Mod/Mesh/App
 && /usr/bin/clang++  -DBOOST_PP_VARIADICS=1 -DHAVE_CONFIG_H
 -DHAVE_FREEIMAGE -DHAVE_RAPIDJSON -DHAVE_TBB -DMesh_EXPORTS
 -DOCC_CONVERT_SIGNALS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB
 -DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/build
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/build/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/FreeCAD-0.18.4/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/build/src/Mod/Mesh/App
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/FreeCAD-0.18.4/src/Mod/Mesh/App
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/FreeCAD-0.18.4/src/3rdParty/libkdtree
 -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers
 -I/opt/local/include/eigen3 -isystem /opt/local/libexec/qt4/include
 -isystem /opt/local/libexec/qt4/include/QtOpenGL -isystem
 /opt/local/libexec/qt4/include/QtSvg -isystem
 /opt/local/libexec/qt4/include/QtUiTools -isystem
 /opt/local/libexec/qt4/include/QtWebKit -isystem
 /opt/local/libexec/qt4/include/QtGui -isystem
 /opt/local/libexec/qt4/include/QtXml -isystem
 /opt/local/libexec/qt4/include/QtNetwork -isystem
 /opt/local/libexec/qt4/include/QtCore  -Wall -Wextra -Wno-write-strings
 -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -std=c++11 -Wno-undefined-var-template -D_OCC64 -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -mmacosx-version-min=10.15 -fPIC   -o
 CMakeFiles/Mesh.dir/WildMagic4/Wm4Distance.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/FreeCAD-0.18.4/src/Mod/Mesh/App/WildMagic4/Wm4Distance.cpp
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/FreeCAD-0.18.4/src/Mod/Part/App/PropertyTopoShape.cpp:284:3:
 error: unknown type name 'ofstream'
 :info:build   ofstream os;
 :info:build   ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/work/FreeCAD-0.18.4/src/Mod/Part/App/PropertyTopoShape.cpp:286:28:
 error: use of undeclared identifier 'ios'; did you mean 'std::ios'?
 :info:build   OSD_OpenStream(os, File, ios::out);
 :info:build                            ^~~
 :info:build                            std::ios
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:156:38:
 note: 'std::ios' declared here
 :info:build typedef basic_ios<char>              ios;
 :info:build                                      ^
 }}}

 Full new main.log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/60039#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list