Skip to content

Compilation failure with --enable-optimizations and --without-doc-strings. #133167

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

Closed
jwp opened this issue Apr 29, 2025 · 1 comment
Closed

Compilation failure with --enable-optimizations and --without-doc-strings. #133167

jwp opened this issue Apr 29, 2025 · 1 comment
Assignees
Labels
build The build process and cross-build type-bug An unexpected behavior, bug, or error

Comments

@jwp
Copy link

jwp commented Apr 29, 2025

Bug report

Bug description:

--without-doc-strings breaks compilation with --enable-optimizations as PROFILE_TASK has failures, presumably, due to the missing doc strings. 3.12 does not have this problem as PROFILE_TASK is allowed to succeed with || true.

Related: gh-110276

./configure --without-doc-strings --enable-optimizations
make -j32
...
Total duration: 25.6 sec
Total tests: run=8,926 failures=11 skipped=302
Total test files: run=43/43 failed=2 skipped=2
Result: FAILURE
make: *** [profile-run-stamp] Error 2

CPython versions tested on:

3.13

Operating systems tested on:

macOS

Linked PRs

@jwp jwp added the type-bug An unexpected behavior, bug, or error label Apr 29, 2025
@ZeroIntensity ZeroIntensity added the build The build process and cross-build label Apr 29, 2025
sobolevn added a commit to sobolevn/cpython that referenced this issue Apr 30, 2025
@sobolevn sobolevn self-assigned this Apr 30, 2025
sobolevn added a commit that referenced this issue Apr 30, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Apr 30, 2025
…` and `--without-docstrings` (pythonGH-133187)

(cherry picked from commit cc39b19)

Co-authored-by: sobolevn <mail@sobolevn.me>
sobolevn added a commit that referenced this issue Apr 30, 2025
…s` and `--without-docstrings` (GH-133187) (#133207)

gh-133167: Fix compilation process with `--enable-optimizations` and `--without-docstrings` (GH-133187)
(cherry picked from commit cc39b19)

Co-authored-by: sobolevn <mail@sobolevn.me>
@sobolevn
Copy link
Member

Please report back if my commit did not fix this for you!

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