Opened 3 years ago

Closed 3 years ago

#64137 closed defect (fixed)

MachO-Explorer: error: 'machOKit/MKNodeFieldContainerType.h' file not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: MachO-Explorer

Description

MachO-Explorer fails to build on case-sensitive filesystems:

https://build.macports.org/builders/ports-11_x86_64-builder/builds/55664/steps/install-port/logs/stdio

build/Release/MachOKit.framework/Headers/MKFieldType.h:29:9: error: 'machOKit/MKNodeFieldContainerType.h' file not found
#import <machOKit/MKNodeFieldContainerType.h>
        ^

The directory name is actually MachOKit, not machOKit.

It's an upstream issue that I reported to them here:

https://github.com/DeVaukz/MachO-Kit/pull/22/files

You can use that patch.

(I did not verify whether the build succeeds after making that change; there may be additional issues.)

Change History (2)

comment:1 Changed 3 years ago by catap (Kirill A. Korinsky)

It isn't enough to build on anything before 10.15 because it uses MH_DYLIB_IN_CACHE which was added in 10.15.

Thus, it also uses CPU_SUBTYPE_ARM64E, CPU_TYPE_ARM64_32 and CPU_SUBTYPE_ARM64_32_ALL which was added at 10.14.

:(

comment:2 Changed 3 years ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 9623eff26c6a92330df94537cc1a1d009dd1713b/macports-ports (master):

MachO-Explorer: added miscapitalization patch

Closes: #64137

Note: See TracTickets for help on using tickets.