Opened 5 years ago

Closed 5 years ago

#59301 closed defect (duplicate)

py37-pyobjc does not build with Catalina + Xcode 11

Reported by: vdoublie Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: py-pyobjc

Description

error in log file

:info:build error: command '/usr/bin/clang' failed with exit status 1
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyobjc/py37-pyobjc/work/pyobjc-core-5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build 
:info:build Exit code: 1
:error:build Failed to build py37-pyobjc: command execution failed

running the command returns:

Modules/objc/helpers-foundation-nscoder.m:335:37: error: too many arguments to function call, expected 0, have 4
            (void)objc_msgSendSuper(&super,
                  ~~~~~~~~~~~~~~~~~ ^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/message.h:66:1: note: 'objc_msgSendSuper'
      declared here
OBJC_EXPORT void
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/objc-api.h:236:25: note: expanded from
      macro 'OBJC_EXPORT'
#   define OBJC_EXPORT  OBJC_EXTERN OBJC_VISIBLE
                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/objc-api.h:225:28: note: expanded from
      macro 'OBJC_EXTERN'
#       define OBJC_EXTERN extern
                           ^
Modules/objc/helpers-foundation-nscoder.m:451:37: error: too many arguments to function call, expected 0, have 5
            (void)objc_msgSendSuper(&super,
                  ~~~~~~~~~~~~~~~~~ ^~~~~~~

no maintainers see log file PMP early 2015 Catalina + Xcode 11.1

Attachments (1)

pyobjc.log (32.9 KB) - added by vdoublie 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by vdoublie

Attachment: pyobjc.log added

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Keywords: incorrect function call removed
Port: py-pyobjc added; py37-pyobjc removed

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

Resolution: duplicate
Status: newclosed

Duplicate of #59194.

Note: See TracTickets for help on using tickets.