[MacPorts] #46583: upgrading port `py27-scipy` fails with `ld64`

MacPorts noreply at macports.org
Mon Jan 19 10:18:34 PST 2015


#46583: upgrading port `py27-scipy` fails with `ld64`
-------------------------+------------------------
  Reporter:  evandrix@…  |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:  ld64        |
-------------------------+------------------------

Comment (by evandrix@…):

 Replying to [comment:4 jeremyhu@…]:
 > ld64 has:
 >
 > {{{
 > depends_build           path:include/mach-o/dyld_priv.h:dyld-headers \
 >                         path:include/mach-o/arm/reloc.h:libmacho-headers
 > }}}
 >
 > Your log shows that it is installed:
 > {{{
 > DEBUG: libmacho-headers 862_2  is active
 > }}}
 >
 > What's the output of:
 > {{{
 > port contents libmacho-headers
 > }}}

 As requested:

 $ `sudo port contents libmacho-headers`
 {{{
 Port libmacho-headers contains:
   /opt/local/include/mach-o/arch.h.mp_XXX
   /opt/local/include/mach-o/arm/reloc.h.mp_XXX
   /opt/local/include/mach-o/arm64/reloc.h.mp_XXX
   /opt/local/include/mach-o/fat.h.mp_XXX
   /opt/local/include/mach-o/getsect.h.mp_XXX
   /opt/local/include/mach-o/i386/swap.h.mp_XXX
   /opt/local/include/mach-o/ldsyms.h.mp_XXX
   /opt/local/include/mach-o/loader.h.mp_XXX
   /opt/local/include/mach-o/nlist.h.mp_XXX
   /opt/local/include/mach-o/ppc/reloc.h.mp_XXX
   /opt/local/include/mach-o/ppc/swap.h.mp_XXX
   /opt/local/include/mach-o/ranlib.h.mp_XXX
   /opt/local/include/mach-o/reloc.h.mp_XXX
   /opt/local/include/mach-o/stab.h.mp_XXX
   /opt/local/include/mach-o/swap.h.mp_XXX
   /opt/local/include/mach-o/x86_64/reloc.h.mp_XXX
 }}}
 ...where `.mp_XXX` represents `.mp_<epoch at which time the files were
 moved>`, as done by MacPorts.

 tyvm for suggesting I try to run that command, because my issue seems to
 have been resolved (will need to test on 1 more machine before I confirm
 this)

 anyway, I usually would delete any *.mp_* files under my `$prefix`, so
 this does explain why I'm encountering the error I've previously stated in
 this ticket.

 solution is of course to reinstall `libmacho-headers`, so that `sudo port
 contents libmacho-headers` would now show that same filelist, but w/o the
 trailing `.mp_XXX`, and the files would also be there as needed.

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


More information about the macports-tickets mailing list