Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pypy 7.3.3 #65854

Closed
wants to merge 2 commits into from
Closed

pypy 7.3.3 #65854

wants to merge 2 commits into from

Conversation

jonchang
Copy link
Contributor

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

  • Big Sur changes and the shared dylib cache means that we need to hack at rpython's internals to get this to build. Patches are upstreamed to cpython which will hopefully make its way to rpython (pypy) eventually. Upstream is aware of these issues regardless.
  • Remove some high sierra patches that we hopefully don't need anymore.

#65000

@jonchang
Copy link
Contributor Author


2020-11-28T14:52:15.8141540Z /private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib-python/2.7/hashlib.py:146: RuntimeWarning: The _hashlib module is not available, falling back to a much slower implementation (No module named _pypy_openssl)
2020-11-28T14:52:15.8142770Z   RuntimeWarning)
2020-11-28T14:52:15.8143330Z * _ssl_build.py
2020-11-28T14:52:15.8143910Z Traceback (most recent call last):
2020-11-28T14:52:15.8145650Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/pypy/../lib_pypy/pypy_tools/build_cffi_imports.py", line 290, in <module>
2020-11-28T14:52:15.8146540Z     rebuild=args.rebuild)
2020-11-28T14:52:15.8148060Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/pypy/../lib_pypy/pypy_tools/build_cffi_imports.py", line 208, in create_cffi_import_libraries
2020-11-28T14:52:15.8149250Z     status, stdout, stderr = _build_dependency(key)
2020-11-28T14:52:15.8151240Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/pypy/../lib_pypy/pypy_tools/build_cffi_imports.py", line 101, in _build_dependency
2020-11-28T14:52:15.8152350Z     from urllib.request import urlretrieve
2020-11-28T14:52:15.8154580Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib-python/2.7/urllib.py", line 1448, in <module>
2020-11-28T14:52:15.8155800Z     from _scproxy import _get_proxy_settings, _get_proxies
2020-11-28T14:52:15.8157420Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib_pypy/_scproxy.py", line 64, in <module>
2020-11-28T14:52:15.8158230Z     ffi = _CFSetup()
2020-11-28T14:52:15.8159620Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib_pypy/_scproxy.py", line 63, in _CFSetup
2020-11-28T14:52:15.8160560Z     return CFProxy()
2020-11-28T14:52:15.8162140Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib_pypy/_scproxy.py", line 52, in __init__
2020-11-28T14:52:15.8163050Z     func = getattr(mod, fname)
2020-11-28T14:52:15.8164550Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib-python/2.7/ctypes/__init__.py", line 387, in __getattr__
2020-11-28T14:52:15.8165330Z     func = self.__getitem__(name)
2020-11-28T14:52:15.8166660Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib-python/2.7/ctypes/__init__.py", line 392, in __getitem__
2020-11-28T14:52:15.8167770Z     func = self._FuncPtr((name_or_ordinal, self))
2020-11-28T14:52:15.8169180Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib_pypy/_ctypes/function.py", line 256, in __init__
2020-11-28T14:52:15.8170280Z     ptr = self._getfuncptr([], ctypes.c_int)
2020-11-28T14:52:15.8171930Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib_pypy/_ctypes/function.py", line 442, in _getfuncptr
2020-11-28T14:52:15.8172950Z     self._ptr = cdll.getfunc(self.name, ffi_argtypes, ffi_restype)
2020-11-28T14:52:15.8174060Z AttributeError: No symbol SCDynamicStoreCopyProxies found in library <None>
2020-11-28T14:52:15.8175440Z [693c6] translation-task}
2020-11-28T14:52:15.8177070Z [translation:info] usession directory: /private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/usession-release-pypy2.7-v7.3.3rc2-0
2020-11-28T14:52:15.8178120Z [Timer] Timings:
2020-11-28T14:52:15.8179010Z [Timer] annotate                       ---  687.3 s
2020-11-28T14:52:15.8180250Z [Timer] rtype_lltype                   ---  983.7 s
2020-11-28T14:52:15.8181620Z [Timer] pyjitpl_lltype                 --- 1261.4 s
2020-11-28T14:52:15.8182920Z [Timer] backendopt_lltype              ---  219.0 s
2020-11-28T14:52:15.8184120Z [Timer] stackcheckinsertion_lltype     ---  379.8 s
2020-11-28T14:52:15.8185300Z [Timer] database_c                     ---  505.8 s
2020-11-28T14:52:15.8186550Z [Timer] source_c                       ---  256.9 s
2020-11-28T14:52:15.8187450Z [Timer] compile_c                      ---  849.4 s
2020-11-28T14:52:15.8188400Z [Timer] build_cffi_imports             ---    2.7 s
2020-11-28T14:52:15.8188840Z [Timer] ===========================================
2020-11-28T14:52:15.8189940Z [Timer] Total:                         --- 5146.1 s
2020-11-28T14:52:15.8191340Z in get_rpath_flags, rel_libdirs is not fixed up ['/usr/local/Cellar/libffi/3.3/lib']
2020-11-28T14:52:15.8193460Z �[34m==>�[0m �[1m/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/bin/pypy package.py --archive-name pypy --targetdir .�[0m
2020-11-28T14:52:15.8194360Z * _ssl_build.py
2020-11-28T14:52:15.8194820Z Traceback (most recent call last):
2020-11-28T14:52:15.8195350Z   File "package.py", line 402, in <module>
2020-11-28T14:52:15.8196040Z     retval, _ = package(*sys.argv[1:])
2020-11-28T14:52:15.8196720Z   File "package.py", line 381, in package
2020-11-28T14:52:15.8197600Z     return create_package(basedir, options, **kwds)
2020-11-28T14:52:15.8198400Z   File "package.py", line 103, in create_package
2020-11-28T14:52:15.8199230Z     embed_dependencies=options.embed_dependencies,
2020-11-28T14:52:15.8201220Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib_pypy/pypy_tools/build_cffi_imports.py", line 208, in create_cffi_import_libraries
2020-11-28T14:52:15.8202230Z     status, stdout, stderr = _build_dependency(key)
2020-11-28T14:52:15.8204020Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/lib_pypy/pypy_tools/build_cffi_imports.py", line 101, in _build_dependency
2020-11-28T14:52:15.8205210Z     from urllib.request import urlretrieve
2020-11-28T14:52:15.8206700Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib-python/2.7/urllib.py", line 1448, in <module>
2020-11-28T14:52:15.8207610Z     from _scproxy import _get_proxy_settings, _get_proxies
2020-11-28T14:52:15.8209020Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib_pypy/_scproxy.py", line 64, in <module>
2020-11-28T14:52:15.8210060Z     ffi = _CFSetup()
2020-11-28T14:52:15.8211600Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib_pypy/_scproxy.py", line 63, in _CFSetup
2020-11-28T14:52:15.8212440Z     return CFProxy()
2020-11-28T14:52:15.8213930Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib_pypy/_scproxy.py", line 52, in __init__
2020-11-28T14:52:15.8215170Z     func = getattr(mod, fname)
2020-11-28T14:52:15.8216600Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib-python/2.7/ctypes/__init__.py", line 383, in __getattr__
2020-11-28T14:52:15.8217440Z     func = self.__getitem__(name)
2020-11-28T14:52:15.8218790Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib-python/2.7/ctypes/__init__.py", line 388, in __getitem__
2020-11-28T14:52:15.8219940Z     func = self._FuncPtr((name_or_ordinal, self))
2020-11-28T14:52:15.8221440Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib_pypy/_ctypes/function.py", line 256, in __init__
2020-11-28T14:52:15.8222340Z     ptr = self._getfuncptr([], ctypes.c_int)
2020-11-28T14:52:15.8223810Z   File "/private/tmp/pypy-20201128-58534-12s5rq0/pypy2.7-v7.3.3-src/bootstrap/lib_pypy/_ctypes/function.py", line 442, in _getfuncptr
2020-11-28T14:52:15.8224850Z     self._ptr = cdll.getfunc(self.name, ffi_argtypes, ffi_restype)
2020-11-28T14:52:15.8225930Z AttributeError: No symbol SCDynamicStoreCopyProxies found in library <None>

@jonchang
Copy link
Contributor Author

Closing this since pypy completely reimplemented cpython's ctypes module and it'll be a lot more work than just cherry picking a patch.

@jonchang jonchang closed this Nov 29, 2020
@bayandin bayandin mentioned this pull request Dec 11, 2020
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Dec 30, 2020
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants