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

MacPorts noreply at macports.org
Fri Jan 16 10:00:11 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        |
-------------------------+------------------------
Description changed by mf2k@…:

Old description:

> 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

New description:

 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#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list