#68332 closed defect (duplicate)

py39-pyobjc @9.0.1_0: error: unknown type name 'MPSAxisAlignedBoundingBox'

Reported by: jlg89 Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: highsierra Cc:
Port: py-pyobjc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

py39-pyobjc_error_log.txt (1.2 MB) - added by jlg89 14 months ago.
Build log

Download all attachments as: .zip

Change History (3)

Changed 14 months ago by jlg89

Attachment: py39-pyobjc_error_log.txt added

Build log

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: highsierra added
Owner: set to danchr
Port: py-pyobjc added; py39-pyobjc removed
Status: newassigned
Summary: py39-pyobjc-9.0.1_0.darwin_17.x86_64 fails to build on macOS 10.13.6py39-pyobjc @9.0.1_0: error: unknown type name 'MPSAxisAlignedBoundingBox'

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

comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

Duplicate of #67338.

Note: See TracTickets for help on using tickets.