Skip to content

Compile missing _zstd module #135155

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
hongweipeng opened this issue Jun 5, 2025 · 3 comments
Closed

Compile missing _zstd module #135155

hongweipeng opened this issue Jun 5, 2025 · 3 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@hongweipeng
Copy link
Contributor

hongweipeng commented Jun 5, 2025

Bug report

Bug description:

install dependence with .github/workflows/posix-deps-apt.sh in ubuntu:22.004 .

The necessary bits to build these optional modules were not found:
_zstd                                                          
To find the necessary bits, look in configure.ac and config.log.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

@hongweipeng
Copy link
Contributor Author

also missing in ubuntu:24.04.

@vstinner
Copy link
Member

vstinner commented Jun 5, 2025

also missing in ubuntu:24.04.

Are you sure? If I look at a recent Ubuntu 24.04 build on the main branch, I see that zstd is installed: zstd.zstd_version is logged in "Display build info": https://github.com/python/cpython/actions/runs/15469741916/job/43550824726

It's unclear to me which problem you are trying to solve. Would you mind to elaborate?

miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jun 6, 2025
gpshead pushed a commit that referenced this issue Jun 6, 2025
… module (GH-135156) (#135197)

gh-135155: Added dependencies required for compiling the _zstd module (GH-135156)
(cherry picked from commit a7d41e8)

Co-authored-by: Weipeng Hong <[email protected]>
@hongweipeng
Copy link
Contributor Author

I'm sure, I compiled it in docker image ubuntu:24.04 .

@vstinner vstinner closed this as completed Jun 6, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Compression issues Jun 6, 2025
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
Status: Done
Development

No branches or pull requests

2 participants