★ wanayoo — archive 1999 https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/264Nouvelle recherche | Portail wanayoo
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

Upgrade to Python 3.7.6 #264

Open
wants to merge 24 commits into
base: master
from

Conversation

@dand-oss
Copy link

@dand-oss dand-oss commented Jan 29, 2020

Try to finish PR #257

  • rebased to latest master branch
  • Python 3.7 requires zlib on windows

Requires ZLIB http://github.com/madler/zlib.git on Windows

jcfr and others added 17 commits Mar 19, 2018
* Rename "Modules/random.c" to "Modules/bootstrap_hash.c"
  See python/cpython@6b4be19
      bpo-22257: Small changes for PEP 432. (#1728)
      PEP 432 specifies a number of large changes to interpreter startup code,
      including exposing a cleaner C-API. The major changes depend on a number
      of smaller changes. This patch includes all those smaller changes.

* Remove bundled copy of libffi (Closes #27979)
  See python/cpython@f40d4dd
      An installed copy of libffi is now required for building _ctypes on
      any platform but OSX and Windows.
Since python/cpython@f40d4dd (Closes python/cpython#27979: Remove
bundled copy of libffi), external version of libffi is required
on linux.
@dand-oss dand-oss requested review from jcfr and thewtex Jan 29, 2020
@dand-oss dand-oss force-pushed the dand-oss:upgrade-py376 branch 10 times, most recently from 15fccfe to 1c816f3 Jan 30, 2020
@dand-oss dand-oss force-pushed the dand-oss:upgrade-py376 branch 4 times, most recently from e3605a0 to 3e0afb7 Feb 2, 2020
@dand-oss dand-oss force-pushed the dand-oss:upgrade-py376 branch 2 times, most recently from fadf5e3 to 7109963 Feb 3, 2020
@dand-oss dand-oss force-pushed the dand-oss:upgrade-py376 branch 2 times, most recently from 9a6e623 to bedf72b Feb 4, 2020
@amosbird
Copy link

@amosbird amosbird commented Apr 19, 2020

Hello, I just tried out this pr and found the following error

cpython/Modules/nismodule.c:17:10: fatal error: rpc/rpc.h: No such file or directory
   17 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
@dand-oss
Copy link
Author

@dand-oss dand-oss commented May 13, 2020

Hello, I just tried out this pr and found the following error

How do we replicate your problem?

OS?

Cmake by natures takes different steps by setting compile flags based on what it finds.
What do you have installed in your build OS?

Do you have a log of the configure stage of cmake?

Did your run rg on the code for rpc.h?

def detect_nis(self):
if MS_WINDOWS or CYGWIN or HOST_PLATFORM == 'qnx6':
self.missing.append('nis')
return

    libs = []
    library_dirs = []
    includes_dirs = []

    # bpo-32521: glibc has deprecated Sun RPC for some time. Fedora 28
    # moved headers and libraries to libtirpc and libnsl. The headers
    # are in tircp and nsl sub directories.
    rpcsvc_inc = find_file(
        'rpcsvc/yp_prot.h', self.inc_dirs,
        [os.path.join(inc_dir, 'nsl') for inc_dir in self.inc_dirs]
    )
    rpc_inc = find_file(
        'rpc/rpc.h', self.inc_dirs,
        [os.path.join(inc_dir, 'tirpc') for inc_dir in self.inc_dirs]
    )

What did it find for NIS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.