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

Docker image isn't working for poweron -ppc64le #33

Open
asellappen opened this issue Dec 1, 2020 · 3 comments
Open

Docker image isn't working for poweron -ppc64le #33

asellappen opened this issue Dec 1, 2020 · 3 comments

Comments

@asellappen
Copy link

I am par of IBM team and working on power support for this package and faced the below issue during build

latest: Pulling from pypa/manylinux1_x86_64
7d0d9526f38a: Pulling fs layer
91fad6b78bdb: Pulling fs layer
23ba7405f2ac: Pulling fs layer
de2b88ef949b: Pulling fs layer
de2b88ef949b: Waiting
91fad6b78bdb: Download complete
23ba7405f2ac: Verifying Checksum
23ba7405f2ac: Download complete
7d0d9526f38a: Verifying Checksum
7d0d9526f38a: Download complete
7d0d9526f38a: Pull complete
91fad6b78bdb: Pull complete
23ba7405f2ac: Pull complete
de2b88ef949b: Verifying Checksum
de2b88ef949b: Download complete
de2b88ef949b: Pull complete
Digest: sha256:4071e3b54d5aef04c415ac7629e8945af4b5bbc1d53ecf03636f5620e3260d5c
Status: Downloaded newer image for quay.io/pypa/manylinux1_x86_64:latest
standard_init_linux.go:211: exec user process caused "exec format error"

It looks the problem is with starting docker can you help with the below method (suggestions) for power on support to enable

1- The images for ppc64le can be built and pushed manually by doing native builds on ppc64le VMs available via OSU, OSL https://osuosl.org/services/powerdev/request_hosting/ (do let me know if you choose to go via that path and I can share more specific details). Once the Power images are published, multiarch manifests can be used https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/ to ensure support across different architectures, this would need to be created and published as well.
2- The process can be automated via travis-ci using multi-stage travis builds as shown here https://www.youtube.com/watch?v=_PbpRETbpow
3- not ideal from a performance perspective, but we can do cross-builds using docker buildx.

Pls tag @seth-priya and me for further clarification.

@asellappen
Copy link
Author

pls rfere job https://travis-ci.com/github/asellappen/pyclipper/jobs/451426919 for error details

@anthrotype
Copy link
Member

We never tested this architecture (I personally wasn't aware of its existence). From the error it looks like the docker image with the wrong architecture (x86_64) is being pulled.
I think you should redirect your feature request to https://github.com/matthew-brett/multibuild, which is the suite of shell tools that we use to automate building wheel packages for linux.

@anthrotype
Copy link
Member

looks like multibuild does support "ppc64le" https://github.com/matthew-brett/multibuild/search?q=ppc64le

It might be a simple config flag to enable this on our side, but I don't have time to look into it right now.

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

2 participants