Skip to content

Update affected standalone python releases #1785

@liningpan

Description

@liningpan

🐞 bug report

Affected Rule

register toolchain

Is this a regression?

Yes, the previous version in which this bug was not present was: ....

Description

Certain standalone python releases are accidentally linked with libcrypt.so.1. If the shared object is not available on the system, the python interpreter will not run.

🔬 Minimal Reproduction

🔥 Exception or Error

/.../bazel-out/k8-fastbuild/bin/requirements.update.runfiles/python_3_10_x86_64-unknown-linux-gnu/bin/python3: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

🌍 Your Environment

Operating System: Arch Linux

Output of bazel version:

Bazelisk version: v1.18.0
Aspect CLI version: 5.9.12
Build label: 6.5.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jan 23 16:44:21 2024 (1706028261)
Build timestamp: 1706028261
Build timestamp as int: 1706028261

Rules_python version: 0.31.0

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency filehelp wantedtype: toolchainRelated to the toolchains provided by rules_python

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions