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

Fix wrong platform tag when building in i386 docker container on x86_64 host #1301

Merged
merged 2 commits into from
Nov 27, 2022

Conversation

messense
Copy link
Member

Fixes the i386 issue reported in #1289 (comment).

We can not trust the return value of uname -m in Docker container.

@netlify
Copy link

netlify bot commented Nov 27, 2022

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 4c6a3f0
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/63838548d2c49f00085320d2
😎 Deploy Preview https://deploy-preview-1301--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@messense
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Nov 27, 2022
1301: Fix wrong platform tag when building in i386 docker container r=messense a=messense

Fixes the i386 issue reported in #1289 (comment).

We can not trust the return value of `uname -m` in Docker container.

Co-authored-by: messense <[email protected]>
GitHub Actions can't run properly:

OCI runtime exec failed: exec failed: unable to start container process: exec /__e/node16_alpine/bin/node: no such file or directory: unknown
@bors
Copy link
Contributor

bors bot commented Nov 27, 2022

Canceled.

@messense
Copy link
Member Author

bors retry

bors bot added a commit that referenced this pull request Nov 27, 2022
1301: Fix wrong platform tag when building in i386 docker container r=messense a=messense

Fixes the i386 issue reported in #1289 (comment).

We can not trust the return value of `uname -m` in Docker container.

Co-authored-by: messense <[email protected]>
@messense messense changed the title Fix wrong platform tag when building in i386 docker container Fix wrong platform tag when building in i386 docker container on x86_64 host Nov 27, 2022
@messense messense added the wheel Wheel label Nov 27, 2022
@messense
Copy link
Member Author

bors seems stuck.

@messense messense merged commit 8bc4925 into PyO3:main Nov 27, 2022
@messense messense deleted the docker-i386 branch November 27, 2022 17:01
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Dec 2, 2022
https://build.opensuse.org/request/show/1039390
by user mia + dimstar_suse
- Update to v0.14.3:
  * Bump MSRV to 1.62.0
    gh#PyO3/maturin#1297
  * CI: Run ruff in lint jobs
    gh#PyO3/maturin#1298
  * Fix build error when required features of bin target isn't
    enabled
    gh#PyO3/maturin#1299
  * Build and publish armv6l wheels for maturin
    gh#PyO3/maturin#1300
  * Fix wrong platform tag when building in i386 docker container
    on x86_64 host
    gh#PyO3/maturin#1301
  * Fix wrong platform tag when building in armv7 docker container
    on aarch64 host
    gh#PyO3/maturin#1303
  * CI: Stop caching test crates target directory
    gh#PyO3/maturin#1302
  * refactor: Use clap_complete_command
    gh#PyO3/maturin#1304
  * Remove human-panic dependency
    gh#PyO3/maturin#1305
  * chore: cargo update to remove rustix 0.35.x
    gh#PyO3/maturin#1307
  * chore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wheel Wheel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant