Opened 10 years ago

Last modified 10 years ago

#46583 closed defect

upgrading port `py27-scipy` fails with `ld64` — at Version 3

Reported by: evandrix (Lee Wei Yeong) Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: ld64

Description (last modified by mf2k (Frank Schima))

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 (4)

Changed 10 years ago by evandrix (Lee Wei Yeong)

Attachment: port-upgrade-partial.log added

comment:1 Changed 10 years ago by evandrix (Lee Wei Yeong)

Cc: evandrix@… added

Cc Me!

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: evandrix@… removed
Keywords: py27-scipy ld64 fail port upgrade removed
Owner: changed from macports-tickets@… to jeremyhu@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers ld64), if any. As reporter, you do not need to Cc yourself.

This is not a clean build log. Please clean the port and try again. Then attach the new main.log file.

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.