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

maturin built failed after rust 1.74 for bin/rust-gdb conflicts #1856

Closed
2 tasks
Xuanwo opened this issue Nov 16, 2023 · 4 comments
Closed
2 tasks

maturin built failed after rust 1.74 for bin/rust-gdb conflicts #1856

Xuanwo opened this issue Nov 16, 2023 · 4 comments
Labels
bug Something isn't working upstream Upstream issue

Comments

@Xuanwo
Copy link
Contributor

Xuanwo commented Nov 16, 2023

Bug Description

Failed workflow: https://github.com/apache/incubator-opendal/actions/runs/6892514670/job/18750110249?pr=3602

Collecting maturin[patchelf]
  Obtaining dependency information for maturin[patchelf] from https://files.pythonhosted.org/packages/17/a1/6cdab45af9e95eb1725ff9fada67fff1d19d732664eb8de4392070a94e62/maturin-1.3.2-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata
  Downloading maturin-1.3.2-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (18 kB)
Collecting patchelf (from maturin[patchelf])
  Downloading patchelf-0.17.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.musllinux_1_1_x86_64.whl (425 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 425.7/425.7 kB 658.7 kB/s eta 0:00:00
Downloading maturin-1.3.2-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (9.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB 18.6 MB/s eta 0:00:00
Installing collected packages: patchelf, maturin
Successfully installed maturin-1.3.2 patchelf-0.17.2.1

Notice:  A new release of pip is available: [23](https://github.com/apache/incubator-opendal/actions/runs/6892514670/job/18750110249?pr=3602#step:6:24).2.1 -> 23.3.1
Notice:  To update, run: pip install --upgrade pip
💥 maturin failed
  Caused by: Failed to run rustc to get the host target
  Caused by: error from command -- stderr:

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-11-16, rust version 1.74.0 (79e9716c9 2023-11-13)
info: downloading component 'clippy'
info: downloading component 'rust-analyzer'
info: downloading component 'rustfmt'
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: removing previous version of component 'clippy'
warning: during uninstall component clippy was not found
info: removing previous version of component 'rustfmt'
warning: during uninstall component rustfmt was not found
info: removing previous version of component 'cargo'
warning: during uninstall component cargo was not found
info: removing previous version of component 'rust-std'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rustc'
warning: during uninstall component rustc was not found
info: installing component 'clippy'
info: installing component 'rust-analyzer'
info: installing component 'rustfmt'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
info: rolling back changes
error: failed to install component: 'rustc-x86_[64](https://github.com/apache/incubator-opendal/actions/runs/6892514670/job/18750110249?pr=3602#step:6:65)-unknown-linux-gnu', detected conflict: 'bin/rust-gdb'


stderr:

Your maturin version (maturin --version)

maturin-1.3.2

Your Python version (python -V)

3.11.6

Your pip version (pip -V)

unknown

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

git clone https://github.com/apache/incubator-opendal
cd incubator-opendal/bindings/python

python -m venv venv
source venv/bin/activate
pip install maturin[patchelf]
maturin develop -E test -F services-s3
@Xuanwo
Copy link
Contributor Author

Xuanwo commented Nov 16, 2023

Oh, can't reproduce after re-run. Feel free to close if you think this issue is not related to maturin.

@Xuanwo
Copy link
Contributor Author

Xuanwo commented Nov 16, 2023

Not stablely reproduced

workflow log: https://github.com/apache/incubator-opendal/actions/runs/6892855330/job/18751146858

💥 maturin failed
  Caused by: Failed to run rustc to get the host target
  Caused by: error from command -- stderr:

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-11-16, rust version 1.74.0 (79e9716c9 2023-11-13)
info: downloading component 'clippy'
info: downloading component 'rust-analyzer'
info: downloading component 'rustfmt'
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: removing previous version of component 'clippy'
warning: during uninstall component clippy was not found
info: removing previous version of component 'rustfmt'
info: removing previous version of component 'cargo'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: installing component 'clippy'
info: rolling back changes
error: failed to install component: 'clippy-preview-x86_64-unknown-linux-gnu', detected conflict: 'bin/cargo-clippy'

@messense
Copy link
Member

Looks like a similar issue to rust-lang/rustup#3530

@messense
Copy link
Member

messense commented Nov 17, 2023

Closing because there isn't any actionable task in maturin.

@messense messense closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Upstream issue
Projects
None yet
Development

No branches or pull requests

2 participants