[MacPorts] #63084: py37-pyobjc fails to build
MacPorts
noreply at macports.org
Sun Jun 13 16:54:02 UTC 2021
#63084: py37-pyobjc fails to build
-------------------------+--------------------
Reporter: tonywong94 | Owner: danchr
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: fixed | Keywords:
Port: py-pyobjc |
-------------------------+--------------------
Comment (by macdeport):
Replying to [comment:7 danchr]:
> In [changeset:"83b6d8a5476aebdd3c0f10a284cf4a0b3636b40a/macports-ports"
83b6d8a5476aebdd3c0f10a284cf4a0b3636b40a/macports-ports] (master):
> {{{
> #!ConfigurableCommitTicketReference repository="macports-ports"
revision="83b6d8a5476aebdd3c0f10a284cf4a0b3636b40a"
> py-pyobjc: unbreak building on older systems
>
> Now that we're actually using the right headers on these systems, we
> run into the fact that PyObjC uses a deprecated symbol. As the build
> system passes -Werror when compiling C sources, that triggers an
> error.
>
> The breakage affects users, so I've applied the quick fix to simply
> suppress the error and live with the warning.
>
> Closer inspection of the sources reveals that PyObjC also uses these
> features on Catalina, so I enabled them there too.
>
> Fixes: https://trac.macports.org/ticket/63084
> }}}
But unfortunately at least here there is apparently ''hidden'' errors:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
pyobjc/py39-pyobjc/work/compwrap/cc/usr/bin/clang -Wno-unused-result
-Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv
-O3 -Wall -pipe -Os -arch x86_64 -isysroot/
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9
-c Modules/_HIServices.m -o
build/temp.macosx-10.10-x86_64-3.9/Modules/_HIServices.o -Wno-deprecated-
declarations -DPyObjC_BUILD_RELEASE=1010
:info:build Modules/_HIServices.m:29:10: error: use of undeclared
identifier 'kAXValueTypeCGPoint'
:info:build case kAXValueTypeCGPoint:
:info:build ^
:info:build Modules/_HIServices.m:36:10: error: use of undeclared
identifier 'kAXValueTypeCGSize'
:info:build case kAXValueTypeCGSize:
:info:build ^
:info:build Modules/_HIServices.m:43:10: error: use of undeclared
identifier 'kAXValueTypeCGRect'
:info:build case kAXValueTypeCGRect:
:info:build ^
:info:build Modules/_HIServices.m:50:10: error: use of undeclared
identifier 'kAXValueTypeCFRange'
:info:build case kAXValueTypeCFRange:
:info:build ^
:info:build Modules/_HIServices.m:57:10: error: use of undeclared
identifier 'kAXValueTypeAXError'
:info:build case kAXValueTypeAXError:
:info:build ^
:info:build Modules/_HIServices.m:111:10: error: use of undeclared
identifier 'kAXValueTypeCGPoint'
:info:build case kAXValueTypeCGPoint:
:info:build ^
:info:build Modules/_HIServices.m:115:10: error: use of undeclared
identifier 'kAXValueTypeCGSize'
:info:build case kAXValueTypeCGSize:
:info:build ^
:info:build Modules/_HIServices.m:119:10: error: use of undeclared
identifier 'kAXValueTypeCGRect'
:info:build case kAXValueTypeCGRect:
:info:build ^
:info:build Modules/_HIServices.m:123:10: error: use of undeclared
identifier 'kAXValueTypeCFRange'
:info:build case kAXValueTypeCFRange:
:info:build ^
:info:build Modules/_HIServices.m:127:10: error: use of undeclared
identifier 'kAXValueTypeAXError'
:info:build case kAXValueTypeAXError:
:info:build ^
:info:build Modules/_HIServices.m:141:14: error: use of undeclared
identifier 'kAXValueTypeCGPoint'
:info:build case kAXValueTypeCGPoint:
:info:build ^
:info:build Modules/_HIServices.m:144:14: error: use of undeclared
identifier 'kAXValueTypeCGSize'
:info:build case kAXValueTypeCGSize:
:info:build ^
:info:build Modules/_HIServices.m:147:14: error: use of undeclared
identifier 'kAXValueTypeCGRect'
:info:build case kAXValueTypeCGRect:
:info:build ^
:info:build Modules/_HIServices.m:150:14: error: use of undeclared
identifier 'kAXValueTypeCFRange'
:info:build case kAXValueTypeCFRange:
:info:build ^
:info:build Modules/_HIServices.m:153:14: error: use of undeclared
identifier 'kAXValueTypeAXError'
:info:build case kAXValueTypeAXError:
:info:build ^
:info:build 15 errors generated.
:info:build error: command
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63084#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list