[MacPorts] #57412: cxx11 1.1 portgroup: add dependency on cctools

MacPorts noreply at macports.org
Fri Oct 19 06:03:23 UTC 2018


#57412: cxx11 1.1 portgroup: add dependency on cctools
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+--------------------
 aria2 fails to build on 10.6, because it requires C++11, and although it
 uses the cxx11 1.1 portgroup, which uses a newer clang, it still uses the
 old Xcode ranlib which doesn't understand the files produced by that new
 clang:

 {{{
 /bin/sh ../libtool  --tag=CC   --mode=link /opt/local/bin/clang-mp-5.0
 -Wall -pipe -Os -arch x86_64 -no-undefined -version-info 0:1:0
 -L/opt/local/lib -Wl,-headerpad_max_install_names -lintl -arch x86_64 -o
 libwslay.la   wslay_frame.lo wslay_event.lo wslay_queue.lo wslay_net.lo
 libtool: warning: '-version-info/-version-number' is ignored for
 convenience libraries
 libtool: link: ar cru .libs/libwslay.a .libs/wslay_frame.o
 .libs/wslay_event.o .libs/wslay_queue.o .libs/wslay_net.o
 /usr/bin/ranlib: object: .libs/libwslay.a(wslay_frame.o) malformed object
 (unknown load command 2)
 ar: internal ranlib command failed
 }}}

 Perhaps the portgroup should have a dependency on cctools, which provides
 a newer ranlib.

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


More information about the macports-tickets mailing list