pyclipper icon indicating copy to clipboard operation
pyclipper copied to clipboard

Docker image isn't working for poweron -ppc64le

Open asellappen opened this issue 4 years ago • 3 comments

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 avatar Dec 01 '20 13:12 asellappen

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

asellappen avatar Dec 01 '20 13:12 asellappen

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 avatar Dec 01 '20 13:12 anthrotype

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.

anthrotype avatar Dec 01 '20 13:12 anthrotype