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

3.10.7 - MinGW on Windows makefile error #98211

Closed
manhnt9 opened this issue Oct 12, 2022 · 8 comments
Closed

3.10.7 - MinGW on Windows makefile error #98211

manhnt9 opened this issue Oct 12, 2022 · 8 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@manhnt9
Copy link

manhnt9 commented Oct 12, 2022

Bug report

After configuring Python source code (3.10.7) and running make, the error appears:
mingw32-make: *** No rule to make target 'Modules/Setup.config', needed by 'Makefile'. Stop.

Your environment

  • Operating system and architecture: Windows 10 x64
  • Compiler: GCC 10.3.0
@manhnt9 manhnt9 added the type-bug An unexpected behavior, bug, or error label Oct 12, 2022
@manhnt9
Copy link
Author

manhnt9 commented Oct 12, 2022

I also tested with 3.10.8, same error.

@dg0yt
Copy link

dg0yt commented Oct 12, 2022

Note #89701.

@manhnt9
Copy link
Author

manhnt9 commented Oct 12, 2022

Thanks @dg0yt. I can be the maintainer for this matter but currently very new to building Python from source.
Could you or someone help me understand about 'Modules/Setup.config' ?

@Fidget-Spinner
Copy link
Member

@manhnt9 the maintainer for MinGW support needs to be a Python core developer. We also need the steering council to approve it, Please see PEP 11 https://peps.python.org/pep-0011/

@ericvsmith
Copy link
Member

Per #89701, I'm closing this as a duplicate.

Our general stance on non-supported platforms is that we will accept patches if they're not too invasive. So while I'm closing this, if someone wants to submit a patch it might be accepted.

@manhnt9
Copy link
Author

manhnt9 commented Oct 13, 2022

Solved, posting here for reference: msys2-contrib#103

@dg0yt
Copy link

dg0yt commented Oct 13, 2022

Solved, posting here for reference: msys2-contrib#103

I don't think it is solved. AFAIU https://github.com/msys2-contrib/cpython-mingw is to maintain the patches which are needed to build python for msys2/mingw:
https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-python

@manhnt9
Copy link
Author

manhnt9 commented Oct 13, 2022

It's quite different. MinGW build script fetches original python source (this repo archive) and apply patches.
The way they generate patches is to look at cpython-mingw repo, compare and generate.

Solved means:

  • This repo won't support MinGW build soon
  • I just use cpython-mingw directly

There won't be 100+ patches needed in the build script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants