Opened 10 years ago
Last modified 10 years ago
#46583 closed defect
upgrading port `py27-scipy` fails with `ld64` — at Initial Version
Reported by: | evandrix (Lee Wei Yeong) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | ld64 |
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
Change History (1)
Changed 10 years ago by evandrix (Lee Wei Yeong)
Attachment: | port-upgrade-partial.log added |
---|