[MacPorts] #36438: ports which mirror system libraries can cause +universal ports to fail if they are -universal

MacPorts noreply at macports.org
Fri Apr 26 19:49:20 PDT 2013


#36438: ports which mirror system libraries can cause +universal ports to fail if
they are -universal
----------------------------+------------------------
  Reporter:  ahelfer1971@…  |      Owner:  jeremyhu@…
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  ld64           |
----------------------------+------------------------

Comment (by stevej@…):

 Replying to [comment:27 larryv@…]:
 > Replying to [comment:24 denpashogai@…]:
 > > Is there a known workaround for this? I can't upgrade perl, and
 > > "upgrade outdated" now aborts at that point.
 >
 > Force-deactivate `libstdcxx` for the duration of the upgrade.
 > {{{
 > sudo port -f deactivate libstdcxx
 > sudo port upgrade perl5.12
 > sudo port activate libstdcxx
 > }}}

 When I try sudo port -f deactivate libstdcxx, I get "Error: port
 deactivate failed: Image error: port libstdcxx is not active." I am trying
 to resolve (apparently) the same issue described in this bug though.
 Trying to upgrade perl 5.12 says...

 :info:build ld: in '/opt/local/lib/libstdc++.6.dylib', file was built for
 unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7
  0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the
 architecture being linked (i386): /opt/local/lib/
 libstdc++.6.dylib for architecture i386

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


More information about the macports-tickets mailing list