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

MacPorts noreply at macports.org
Fri Jan 16 09:36:08 PST 2015


#46583: upgrading port `py27-scipy` fails with `ld64`
-----------------------------------------------+---------------------------
 Reporter:  evandrix@…                         |      Owner:  macports-
     Type:  defect                             |  tickets@…
 Priority:  Normal                             |     Status:  new
Component:  ports                              |  Milestone:
 Keywords:  py27-scipy,ld64,fail,port,upgrade  |    Version:  2.3.3
                                               |       Port:  ld64
-----------------------------------------------+---------------------------
 I'm on OS X Yosemite 10.10.1

 Trying to update my outdated port `py27-scipy`, where partial output of
 `sudo port list outdated`, showing only relevant line, is below:
 ...
 py27-scipy                     @0.15.0         python/py-scipy
 ...

 Following is also an extract of the last bit just before the port upgrade
 via `sudo port -d upgrade py27-scipy` fails:
 ```
 src/ld/parsers/lto_file.cpp:41:
 src/abstraction/MachOFileAbstraction.hpp:510:10: fatal error:
 'mach-o/arm/reloc.h' file not found
 #include <mach-o/arm/reloc.h>
 In file included from src/other/dyldinfo.cpp:39:
 src/abstraction/MachOFileAbstraction.hpp:510:10: fatal error:
 'mach-o/arm/reloc.h' file not found
 #include <mach-o/arm/reloc.h>
          ^
          ^
 2 warnings and 1 error generated.
 ```

 Indeed, my $PREFIX = /opt/local (as default), and the directory
 `/opt/local/include/mach-o` doesn't contain a subfolder `arm`.
 However, files similar to `/mach-o/arm/reloc.h` seems available within
 Xcode (I'm on v6.1.1 currently) for my OS platform version (ie. 10.10):
 ```
 Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach-o/arm64/reloc.h
 Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach-o/ppc/reloc.h
 Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach-o/reloc.h
 Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach-o/x86_64/reloc.h
 ```

 The exact file exists here, but they are not my OS platform, nor the right
 version either:
 -
 Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/mach-o/arm/reloc.h
 -
 Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/mach-o/arm/reloc.h

 Any ideas how to resolve this issue I'm facing?

 Much appreciated

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


More information about the macports-tickets mailing list