[MacPorts] #53339: OpenCV 3.2.0 fails building bundled freetype

MacPorts noreply at macports.org
Tue Jan 17 14:45:26 UTC 2017


#53339: OpenCV 3.2.0 fails building bundled freetype
---------------------+--------------------
 Reporter:  BSeppke  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.5
 Keywords:           |       Port:  opencv
---------------------+--------------------
 After updating to 3.2.0, I get the following error while building opencv
 using +contrib+python35+qt5 variants:


 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_FT_Done_Face", referenced from:
 :info:build       cv::freetype::FreeType2Impl::~FreeType2Impl() in
 freetype.cpp.o
 :info:build       cv::freetype::FreeType2Impl::loadFontData(cv::String,
 int) in freetype.cpp.o
 :info:build   "_FT_Done_FreeType", referenced from:
 :info:build       cv::freetype::FreeType2Impl::~FreeType2Impl() in
 freetype.cpp.o
 :info:build   "_FT_Init_FreeType", referenced from:
 :info:build       cv::freetype::FreeType2Impl::FreeType2Impl() in
 freetype.cpp.o
 :info:build   "_FT_Load_Glyph", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_FT_New_Face", referenced from:
 :info:build       cv::freetype::FreeType2Impl::loadFontData(cv::String,
 int) in freetype.cpp.o
 :info:build   "_FT_Outline_Decompose", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_FT_Outline_Transform", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_FT_Outline_Translate", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_FT_Render_Glyph", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build   "_FT_Set_Pixel_Sizes", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putText(cv::_InputOutputArray const&,
 cv::String const&, cv::Point_<int>, int, cv::Scalar_<double>, int, int,
 bool) in freetype.cpp.o
 :info:build   "_hb_buffer_add_utf8", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_hb_buffer_create", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_hb_buffer_destroy", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_hb_buffer_get_glyph_infos", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_hb_buffer_guess_segment_properties", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build   "_hb_font_destroy", referenced from:
 :info:build       cv::freetype::FreeType2Impl::~FreeType2Impl() in
 freetype.cpp.o
 :info:build       cv::freetype::FreeType2Impl::loadFontData(cv::String,
 int) in freetype.cpp.o
 :info:build   "_hb_ft_font_create", referenced from:
 :info:build       cv::freetype::FreeType2Impl::loadFontData(cv::String,
 int) in freetype.cpp.o
 :info:build   "_hb_shape", referenced from:
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapBlend(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextBitmapMono(cv::_InputOutputArray
 const&) in freetype.cpp.o
 :info:build
 cv::freetype::FreeType2Impl::putTextOutline(cv::_InputOutputArray const&)
 in freetype.cpp.o
 :info:build ld: symbol(s) not found for architecture x86_64
 }}}


 A complete log is attached to this ticket.

--
Ticket URL: <https://trac.macports.org/ticket/53339>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list