-
Notifications
You must be signed in to change notification settings - Fork 239
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
manylinux architecture / 1.4.0 regression ? #336
Comments
Hm. I understand that it works on set with |
Hi @Czaki ! Thanks for the tip, I just tried using the same i686 image which was used for my last successful build: the last successful build: https://github.com/aiortc/aiortc/runs/637823721?check_suite_focus=true On the other hand, forcing cibuildwheel 1.3.0 does succeed: https://github.com/aiortc/aiortc/runs/642307642?check_suite_focus=true |
How are you getting this, because that doesn't seem like 32-bit either? I agree with @Czaki: the weird thing is that we hardly add anything extra for Linux. Most tools are in the |
Somehow, |
It looks like it get uname of host system (not docker)... In docker it should be Centos. |
Should it? I get |
@YannickJadoul Only difference which I see is is thain in 1.3.0 build is executed with @jlaine Maybe use approach from https://github.com/aiortc/aiortc/blob/master/scripts/fetch-vendor#L19 in linux is best workaround (check size of structure instead of uname)? I search a little about uname in docker and it looks like it returns host system in some scenario. |
Seems to be a docker issue:
Do we have any Docker specialists? @joerick made these changes, I think; do you know more about Docker, @joerick? |
I wonder if I somehow have overridden the ENTRYPOINT set in https://github.com/pypa/manylinux/blob/master/docker/Dockerfile-i686#L26 It looks like |
Aaaaah, maybe this |
I also think we do this. I now prepare patch. |
@Czaki No, wait! What kind of patch? |
I think I would prefer to use |
Agree on referencing I'll check the PR now. |
but this remove control from python to big bash script (because run create new container) and in 1.3.0 the |
Yeah, it looks like we won't be able to use ENTRYPOINT and |
Yeah, OK, now we're talking in 2 separate threads. But what about just reverting to |
(Ah, also, before I forget: a PR should probably also add a test on the architecture inside the Docker image? Though I'm not sure how easy that'll be?) |
move from Maybe treat #338 as bugfix for release 1.4.1 and rethink whole idea. Mabe best option is copy python file in docker and call it instead of bash. there will be control flow in python (which allow unify in future) but can be executed in single run? |
How? I don't see a big difference between
That's a future thing, but too much for a quick bugfix now. |
I was substantial, as I remember. I think that long-term |
I'm mostly worried 1) about other platforms or entrypoints (what about the non-intel manylinuxes; do these need things that affect I must admit that the changes in #338 are smaller than expected, but it still feels like there should be a better way :-( |
My idea is to create standalone python file to control build flow in docer containre and copy it inside instead of using bash script. other option is to extract entrypoint using |
That idea has been around for a long time. (You don't even need to copy it in; you could probably just stream it through stdin.) But as I said before, that's too much for now. And I don't know if it will help a lot.
Maybe, yes. That feels very complex, though, so I don't know. I'm mostly annoyed that Docker doesn't have some kind of alternative for |
Fixed in v1.4.1! Could you confirm this works for you @jlaine ? |
Yes, I can confirm it works @joerick : https://github.com/aiortc/aiortc/runs/643791124?check_suite_focus=true Thanks to all for the very fast turnaround! |
Thanks @Czaki and @YannickJadoul for all the help! |
Hello!
First of all, thanks again for all the hard work that goes into
cibuildwheel
, I'm using it successfully to build wheels for a growing number of packages (aiortc
,aioquic
,PyAV
,pylibsrtp
,pylsqpack
) and it's a lifesaver.I noticed my Linux builds have been failing for the past couple of days which seems to coincide with the release of
cibuildwheel
1.4.0. To be more specific, thei686
builds fail when linking against third-party libraries, which seems to be due to an architecture mismatch. The following output puzzles me, it looks like thei686
build is in fact using anx86_64
Python?Look at the name of the docker image
quay.io/pypa/manylinux2010_i686
vs the build directorybuild/lib.linux-x86_64-3.6
:The text was updated successfully, but these errors were encountered: