Opened 3 years ago
Closed 3 years ago
#63095 closed defect (fixed)
hugin-app @2019.2.0_4 fails to build due to undefined symbols
Reported by: | michaellass (Michael Lass) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | hugin-app |
Description
Building hugin-app fails for me with the following error:
:info:build Undefined symbols for architecture x86_64: :info:build "boost::filesystem::detail::recur_dir_itr_imp::increment(boost::system::error_code*)", referenced from: :info:build boost::filesystem::recursive_directory_iterator::increment() in pto_move.cpp.o :info:build "boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system:> :info:build boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&) in pto_move.cpp.o :info:build "boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, b> :info:build PTOCopyMove(bool, boost::filesystem::path, boost::filesystem::path, bool) in pto_move.cpp.o :info:build "boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)", referenced from: :info:build RebaseFilename(boost::filesystem::path, boost::filesystem::path&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::alloc> :info:build checkDestinationDirectory(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, boost::filesystem::path&) > :info:build PTOCopyMove(bool, boost::filesystem::path, boost::filesystem::path, bool) in pto_move.cpp.o :info:build _main in pto_move.cpp.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm on macOS 11.4 and boost is installed in version 1.71.0_4.
Attachments (1)
Change History (4)
Changed 3 years ago by michaellass (Michael Lass)
comment:1 Changed 3 years ago by michaellass (Michael Lass)
comment:2 Changed 3 years ago by michaellass (Michael Lass)
Turns out this is some fallout of https://github.com/macports/macports-ports/commit/b25b206. It seems that hugin-app needs the older 1.71 version of Boost. I created a PR with a simple fix: https://github.com/macports/macports-ports/pull/11369
Might be that newer versions of hugin-app would build against newer versions of boost as well - I haven't tried updating the port.
comment:3 Changed 3 years ago by Michael Lass <michael.lass@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I just noticed that boost is installed in multiple versions:
Looks like 1.76 is the relevant one here.