[MacPorts] #48717: boost @1.59.0: explicit template instantiations don't always get exported (was: uhd @ 3.8.5_1 Undefined symbols for architecture x86_64)

MacPorts noreply at macports.org
Tue Oct 6 20:58:11 PDT 2015


#48717: boost @1.59.0: explicit template instantiations don't always get exported
-----------------------------+--------------------------
  Reporter:  soundbastler@…  |      Owner:  ryandesign@…
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.3
Resolution:                  |   Keywords:
      Port:  boost           |
-----------------------------+--------------------------
Changes (by ryandesign@…):

 * status:  new => assigned
 * cc: primalbuddhist@…, michaelld@… (added)
 * owner:  michaelld@… => ryandesign@…
 * port:  uhd => boost


Old description:

> {{{
> ---
> OS 10.8.5
> XCODE 5.1.1
> ---
>
> sudo port install uhd
>
> Error:
> }}}
>

>
> {{{
> :info:build Undefined symbols for architecture x86_64:
> :info:build
> "boost::archive::basic_text_iprimitive<std::istream>::~basic_text_iprimitive()",
> referenced from:
> :info:build
> boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::~text_iarchive_impl()
> in rpc_client.cpp.o
> :info:build
> "boost::archive::basic_text_oprimitive<std::ostream>::~basic_text_oprimitive()",
> referenced from:
> :info:build
> boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::~text_oarchive_impl()
> in rpc_client.cpp.o
> :info:build
> boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::~text_oarchive_impl()
> in usrprio_rpc_client.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)
> :info:build make[2]: *** [lib/libuhd.003.008.dylib] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build'
> :info:build make[1]: *** [lib/CMakeFiles/uhd.dir/all] Error 2
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build"
> && /usr/bin/make -j4 -w all VERBOSE=ON
> :info:build Exit code: 2
> :error:build org.macports.build for port uhd returned: command execution
> failed
> }}}

New description:

 --- \\
 OS 10.8.5 \\
 XCODE 5.1.1 \\
 ---

 {{{
 sudo port install uhd
 }}}

 Error:


 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build
 "boost::archive::basic_text_iprimitive<std::istream>::~basic_text_iprimitive()",
 referenced from:
 :info:build
 boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::~text_iarchive_impl()
 in rpc_client.cpp.o
 :info:build
 "boost::archive::basic_text_oprimitive<std::ostream>::~basic_text_oprimitive()",
 referenced from:
 :info:build
 boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::~text_oarchive_impl()
 in rpc_client.cpp.o
 :info:build
 boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::~text_oarchive_impl()
 in usrprio_rpc_client.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)
 :info:build make[2]: *** [lib/libuhd.003.008.dylib] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build'
 :info:build make[1]: *** [lib/CMakeFiles/uhd.dir/all] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/build"
 && /usr/bin/make -j4 -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build org.macports.build for port uhd returned: command execution
 failed
 }}}

--

Comment:

 Has duplicates #49118 and #49130.

-- 
Ticket URL: <https://trac.macports.org/ticket/48717#comment:16>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list