[MacPorts] #56430: libpcl fails to build

MacPorts noreply at macports.org
Fri May 4 16:12:33 UTC 2018


#56430: libpcl fails to build
----------------------+----------------------
  Reporter:  dershow  |      Owner:  (none)
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  libpcl   |
----------------------+----------------------

Comment (by raimue):

 The actual error appears to be this one:

 {{{
 :info:build [ 53%] Building CXX object
 features/CMakeFiles/pcl_features.dir/src/crh.cpp.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features
 && /usr/bin/clang++  -DEIGEN_USE_NEW_STDVECTOR
 -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS
 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB
 -DQT_WIDGETS_LIB -Dqh_QHpointer -isystem /opt/local/include -isystem
 /opt/local/include/eigen3 -isystem /opt/local/include/ni
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/recognition/include/pcl/recognition/3rdparty
 -F/opt/local/libexec/qt5/lib
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers
 -I/opt/local/libexec/qt5/./mkspecs/macx-clang
 -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers
 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtConcurrent.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtOpenGL.framework/Headers
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/common/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/search/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/kdtree/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/octree/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/filters/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/include
 -pipe -Os -stdlib=libc++      -DNDEBUG -arch x86_64 -mmacosx-version-
 min=10.13 -fPIC   -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -o
 CMakeFiles/pcl_features.dir/src/crh.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/src/crh.cpp
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/src/cppf.cpp:40:
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/include/pcl/features/impl/cppf.hpp:44:
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/include/pcl/features/cppf.h:43:
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/include/pcl/features/feature.h:48:
 :info:build In file included from
 /opt/local/include/boost/function.hpp:30:
 :info:build In file included from
 /opt/local/include/boost/function/detail/prologue.hpp:17:
 :info:build In file included from
 /opt/local/include/boost/function/function_base.hpp:21:
 :info:build In file included from
 /opt/local/include/boost/type_index.hpp:29:
 :info:build In file included from
 /opt/local/include/boost/type_index/stl_type_index.hpp:46:
 :info:build In file included from
 /opt/local/include/boost/functional/hash.hpp:6:
 :info:build In file included from
 /opt/local/include/boost/functional/hash/hash.hpp:594:
 :info:build In file included from
 /opt/local/include/boost/functional/hash/extensions.hpp:22:
 :info:build In file included from
 /opt/local/include/boost/detail/container_fwd.hpp:94:
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/map:818:5:
 error: static_assert failed "Allocator::value_type must be same type as
 value_type"
 :info:build     static_assert((is_same<typename
 allocator_type::value_type, value_type>::value),
 :info:build     ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:783:36:
 note: expanded from macro 'static_assert'
 :info:build #   define static_assert(__b, __m) _Static_assert(__b, __m)
 :info:build                                    ^              ~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/include/pcl/features/pfh.h:211:131:
 note: in instantiation of template class
 'std::__1::map<std::__1::pair<int, int>, Eigen::Matrix<float, 4, 1, 0, 4,
 1>, std::__1::less<std::__1::pair<int, int> >,
 Eigen::aligned_allocator<Eigen::Matrix<float, 4, 1, 0, 4, 1> > >'
 requested here
 :info:build       std::map<std::pair<int, int>, Eigen::Vector4f,
 std::less<std::pair<int, int> >, Eigen::aligned_allocator<Eigen::Vector4f>
 > feature_map_;
 :info:build
 ^
 }}}

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


More information about the macports-tickets mailing list