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

Python support on s390x #1625

Open
iii-i opened this issue Jul 17, 2024 · 0 comments
Open

Python support on s390x #1625

iii-i opened this issue Jul 17, 2024 · 0 comments

Comments

@iii-i
Copy link

iii-i commented Jul 17, 2024

Hello,

What would it take to build distroless python images for s390x?

I tried a very naive diff:

--- a/python3/BUILD
+++ b/python3/BUILD
@@ -1,7 +1,7 @@
 load("@container_structure_test//:defs.bzl", "container_structure_test")
 load("@rules_oci//oci:defs.bzl", "oci_image", "oci_image_index")
 load("@rules_pkg//:pkg.bzl", "pkg_tar")
-load("//:checksums.bzl", ARCHITECTURES = "BASE_ARCHITECTURES")
+load("//:checksums.bzl", "ARCHITECTURES")
 load("//private/util:deb.bzl", "deb")
 
 package(default_visibility = ["//visibility:public"])

and immediately ran into a problem with a missing toolchain:

$ bazel build //python3:python3_root_s390x_debian12
ERROR: /home/iii/distroless/python3/BUILD:50:14: While resolving toolchains for target //python3:python3_root_s390x_debian12: No matching toolchains found for types @aspect_bazel_lib//lib:jq_toolchain_type.

Not being a bazel expert, I can't tell whether this is easily resolvable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant