Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49419 closed defect (invalid)

libopenraw: Undefined boost symbols

Reported by: asgalon Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), dbevans (David B. Evans)
Port: libopenraw

Description

configure fails on OS X 10.11.1 El Capitan

Attachments (1)

config.log (81.7 KB) - added by asgalon 9 years ago.
config log file

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by asgalon

Attachment: config.log added

config log file

comment:1 Changed 9 years ago by asgalon

The actual error message is:

--->  Computing dependencies for gegl
--->  Dependencies to be installed: libopenraw
--->  Configuring libopenraw
Error: Failed to configure libopenraw, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libopenraw/libopenraw/work/libopenraw-0.0.9/config.log
Error: org.macports.configure for port libopenraw returned: configure failure: command execution failed
Error: Failed to install libopenraw
Please see the log file for port libopenraw for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libopenraw/libopenraw/main.log
Error: The following dependencies were not installed: libopenraw
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… devans@… added
Resolution: invalid
Status: newclosed
Summary: configure error in OS X 10.11.1 El Capitanlibopenraw: Undefined boost symbols

The actual error message is:

ld: warning: ignoring file /usr/local/lib/libboost_unit_test_framework-mt.a, file was built for archive which is not the architecture being linked (x86_64): /usr/local/lib/libboost_unit_test_framework-mt.a
Undefined symbols for architecture x86_64:
  "boost::test_tools::tt_detail::report_assertion(boost::test_tools::assertion_result const&, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, unsigned long, ...)", referenced from:
      _main in conftest.o
  "boost::unit_test::unit_test_log_t::set_checkpoint(boost::unit_test::basic_cstring<char const>, unsigned long, boost::unit_test::basic_cstring<char const>)", referenced from:
      _main in conftest.o
  "vtable for boost::unit_test::unit_test_log_t", referenced from:
      boost::unit_test::singleton<boost::unit_test::unit_test_log_t>::instance() in conftest.o

This means you have a copy of boost installed in the prefix /usr/local, and it has interfered with the MacPorts build of libopenraw. We do not support having software installed in prefix /usr/local while using MacPorts, because of the likelihood of this kind of problem; see wiki:FAQ#usrlocal. Please remove what you have installed in prefix /usr/local.

comment:3 Changed 9 years ago by asgalon

Right, I did not spot the 'usr' in the path there. After removing this very ancient version of boost libraries libopenraw builds and installs fine.

Note: See TracTickets for help on using tickets.