[MacPorts] #40528: zeroc-ice35: ld: warning: ignoring file /opt/local/lib/libmcpp.dylib, file was built for unsupported file format which is not the architecture being linked (was: zeroc-ice35: build failure)

MacPorts noreply at macports.org
Mon Jul 11 19:20:29 PDT 2016


#40528: zeroc-ice35: ld: warning: ignoring file /opt/local/lib/libmcpp.dylib, file
was built for unsupported file format which is not the architecture being
linked
-------------------------+---------------------
  Reporter:  glenn@…     |      Owner:  blair@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.0
Resolution:              |   Keywords:
      Port:  zero-ice35  |
-------------------------+---------------------

Comment (by ryandesign@…):

 Based on the portion of the log you pasted above, the problem seems to be
 that /opt/local/lib/libmcpp.dylib (part of the mcpp port) was built for a
 different architecture than the one for which you are now trying to build
 zeroc-ice35 (x86_64). That should not be possible; MacPorts should check
 for that situation in advance. This suggests MacPorts might think mcpp is
 installed for a different architecture than it actually is. Can you please
 tell us for which architecture MacPorts thinks mcpp is installed by
 running:

 {{{
 port -v installed mcpp
 }}}

 and show us the architecture for which it is actually installed by
 running:

 {{{
 lipo -info /opt/local/lib/libmcpp.dylib
 }}}

 If they differ, that's the problem; rebuild the mcpp port to fix the
 problem by running:

 {{{
 sudo port -n upgrade --force mcpp
 }}}

 Then clean zeroc-ice35 and try again:

 {{{
 sudo port clean zeroc-ice35
 }}}

 If it fails again, attach the new main.log file.

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


More information about the macports-tickets mailing list