[MacPorts] #56077: physfs @3.0.1: expected method to read array element not found on object of type 'NSArray *' (was: Failed to build physfs: command execution failed)
MacPorts
noreply at macports.org
Sat Mar 17 04:46:34 UTC 2018
#56077: physfs @3.0.1: expected method to read array element not found on object of
type 'NSArray *'
---------------------+--------------------------------------------
Reporter: iEFdev | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: tiger leopard snowleopard lion
Port: physfs |
---------------------+--------------------------------------------
Changes (by ryandesign):
* cc: ryandesign (added)
* keywords: => tiger leopard snowleopard lion
Comment:
Your log is hard to read because of interleaved errors due to parallel
building.
Here's the log from the buildbot for 10.7:
https://build.macports.org/builders/ports-10.7_x86_64_legacy-
builder/builds/60620/steps/install-port/logs/stdio
The error is:
{{{
error: expected method to read array element not found on object of type
'NSArray *'
NSString *path = (NSString *) paths[0];
^
1 error generated.
}}}
According to [https://stackoverflow.com/questions/11425976/compiler-error-
expected-method-not-found-when-using-subscript-on-nsarray Stack Overflow],
this needs the 10.8 SDK or later. That is easy to fix on 10.7 where Xcode
includes the 10.8 SDK, and harder to fix on 10.6 and earlier where Xcode
does not, though I am working on a solution.
Here's the log from the buildbot for 10.6:
https://build.macports.org/builders/ports-10.6_i386_legacy-
builder/builds/38548/steps/install-port/logs/stdio
That might be a different error.
--
Ticket URL: <https://trac.macports.org/ticket/56077#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list