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

Fixes missing dependencies in Makefile #119538

Closed
Meiye-lj opened this issue May 25, 2024 · 2 comments
Closed

Fixes missing dependencies in Makefile #119538

Meiye-lj opened this issue May 25, 2024 · 2 comments
Labels
build The build process and cross-build type-bug An unexpected behavior, bug, or error

Comments

@Meiye-lj
Copy link

Meiye-lj commented May 25, 2024

Bug report

Bug description:

This Makefile fixes an issue in the cpython. Specifically, previously, any modifications of files like Modules/expat/*.c would not trigger a rebuild of Modules/expat/xmltok.o
Makefile_fixed.zip
. The Makefile fixes this by including them as additional dependencies.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

@Meiye-lj Meiye-lj added the type-bug An unexpected behavior, bug, or error label May 25, 2024
@Eclips4 Eclips4 added the build The build process and cross-build label May 25, 2024
@ned-deily
Copy link
Member

Thank you for reporting the issue. Makefile is a file generated from Makefile.pre.in by running the configure script and thus any changes to the Python source code would need to be against Makefile.pre.in. Moreover, submitting any changes as the entire modified file especially one wrapped as a .zip file is difficult to review. Please follow our workflow guidelines in the Python Developer's Guide and open a pull request on GitHub with your proposed changes to Makefile.pre.in and reference this issue. Thanks!

@hugovk hugovk changed the title Fixes missing dependences in Makefile Fixes missing dependencies in Makefile May 26, 2024
erlend-aasland added a commit to erlend-aasland/cpython that referenced this issue May 28, 2024
xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.
erlend-aasland added a commit that referenced this issue May 28, 2024
xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 28, 2024
xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.
(cherry picked from commit 606be66)

Co-authored-by: Erlend E. Aasland <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 28, 2024
xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.
(cherry picked from commit 606be66)

Co-authored-by: Erlend E. Aasland <[email protected]>
erlend-aasland added a commit that referenced this issue May 28, 2024
…119686)

xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.

(cherry picked from commit 606be66)

Co-authored-by: Erlend E. Aasland <[email protected]>
erlend-aasland added a commit that referenced this issue May 28, 2024
…119685)

xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.

(cherry picked from commit 606be66)

Co-authored-by: Erlend E. Aasland <[email protected]>
@ned-deily
Copy link
Member

With @erlend-aasland's PRs merged, I think we should be done with this issue. Thanks for calling it to our attention!

noahbkim pushed a commit to hudson-trading/cpython that referenced this issue Jul 11, 2024
xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C
pre-processor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants