[MacPorts] #68332: py39-pyobjc @9.0.1_0: error: unknown type name 'MPSAxisAlignedBoundingBox' (was: py39-pyobjc-9.0.1_0.darwin_17.x86_64 fails to build on macOS 10.13.6)
MacPorts
noreply at macports.org
Tue Oct 3 01:32:15 UTC 2023
#68332: py39-pyobjc @9.0.1_0: error: unknown type name 'MPSAxisAlignedBoundingBox'
------------------------+------------------------
Reporter: jlg89 | Owner: danchr
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: highsierra
Port: py-pyobjc |
------------------------+------------------------
Changes (by ryandesign):
* status: new => assigned
* owner: (none) => danchr
* keywords: => highsierra
* port: py39-pyobjc => py-pyobjc
Old description:
> Darwin kim.kairosnet.com 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30
> 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64
>
> Probably has something to do with the lack of Metal.
New description:
{{{
Darwin kim.kairosnet.com 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30
13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64
}}}
Probably has something to do with the lack of Metal.
--
Comment:
The first problems in the log are:
{{{
Modules/objc/helpers-vector.m:13660:5: error: unknown type name
'MPSAxisAlignedBoundingBox'; did you mean 'MDLAxisAlignedBoundingBox'?
MPSAxisAlignedBoundingBox rv;
^~~~~~~~~~~~~~~~~~~~~~~~~
MDLAxisAlignedBoundingBox
/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h:95:3:
note: 'MDLAxisAlignedBoundingBox' declared here
} MDLAxisAlignedBoundingBox;
^
Modules/objc/helpers-vector.m:13679:24: warning: implicit declaration of
function 'MPSAxisAlignedBoundingBox' is invalid in C99 [-Wimplicit-
function-declaration]
rv = ((MPSAxisAlignedBoundingBox(*)(id,
SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13679:24: warning: this function declaration
is not a prototype [-Wstrict-prototypes]
Modules/objc/helpers-vector.m:13679:51: error: expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(id,
SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13679:53: error: unexpected type name 'id':
expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(id,
SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13679:57: error: unexpected type name 'SEL':
expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(id,
SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13687:24: warning: implicit declaration of
function 'MPSAxisAlignedBoundingBox' is invalid in C99 [-Wimplicit-
function-declaration]
rv = ((MPSAxisAlignedBoundingBox(*)(struct objc_super*,
^
Modules/objc/helpers-vector.m:13687:51: error: expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(struct objc_super*,
^
Modules/objc/helpers-vector.m:13687:53: error: expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(struct objc_super*,
^
Modules/objc/helpers-vector.m:13688:53: error: unexpected type name 'SEL':
expected expression
SEL))objc_msgSendSuper_stret)(
^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68332#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list