Skip to content

fail during ./prepare.sh #11

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

Closed
dkm opened this issue May 29, 2021 · 1 comment
Closed

fail during ./prepare.sh #11

dkm opened this issue May 29, 2021 · 1 comment

Comments

@dkm
Copy link

dkm commented May 29, 2021

$ ./prepare.sh && ./test.sh --release
#!/bin/bash --verbose
set -e

rustup component add rust-src rustc-dev llvm-tools-preview
info: syncing channel updates for 'nightly-2021-05-18-x86_64-unknown-linux-gnu'
info: latest update on 2021-05-18, rust version 1.54.0-nightly (3e99439f4 2021-05-17)
warning: Force-skipping unavailable component 'miri-x86_64-unknown-linux-gnu'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'llvm-tools-preview'
 21.4 MiB /  21.4 MiB (100 %)   7.4 MiB/s in  3s ETA:  0s
info: downloading component 'rls'
  8.2 MiB /   8.2 MiB (100 %)   1.8 MiB/s in  2s ETA:  0s
info: downloading component 'rust-analysis'
  2.7 MiB /   2.7 MiB (100 %)   1.8 MiB/s in  1s ETA:  0s
info: downloading component 'rust-analyzer-preview'
  6.7 MiB /   6.7 MiB (100 %)   1.8 MiB/s in  2s ETA:  0s
info: downloading component 'rust-docs'
 16.6 MiB /  16.6 MiB (100 %)   6.2 MiB/s in  2s ETA:  0s
info: downloading component 'rust-src'
info: downloading component 'rust-std'
 21.8 MiB /  21.8 MiB (100 %)   7.5 MiB/s in  3s ETA:  0s
info: downloading component 'rustc'
 48.8 MiB /  48.8 MiB (100 %)   7.2 MiB/s in  7s ETA:  0s
info: downloading component 'rustc-dev'
 96.8 MiB /  96.8 MiB (100 %)   6.7 MiB/s in 15s ETA:  0s
info: downloading component 'rustc-docs'
 12.0 MiB /  12.0 MiB (100 %)   4.3 MiB/s in  3s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'llvm-tools-preview'
 21.4 MiB /  21.4 MiB (100 %)  13.2 MiB/s in  1s ETA:  0s
info: installing component 'rls'
info: installing component 'rust-analysis'
info: installing component 'rust-analyzer-preview'
info: installing component 'rust-docs'
 16.6 MiB /  16.6 MiB (100 %)   7.4 MiB/s in  1s ETA:  0s
info: installing component 'rust-src'
info: installing component 'rust-std'
 21.8 MiB /  21.8 MiB (100 %)  11.6 MiB/s in  1s ETA:  0s
info: installing component 'rustc'
 48.8 MiB /  48.8 MiB (100 %)  13.1 MiB/s in  4s ETA:  0s
info: installing component 'rustc-dev'
 96.8 MiB /  96.8 MiB (100 %)  12.2 MiB/s in  8s ETA:  0s
info: installing component 'rustc-docs'
 12.0 MiB /  12.0 MiB (100 %)   5.7 MiB/s in  2s ETA:  0s
info: rolling back changes
error: failed to install component: 'rustc-docs-x86_64-unknown-linux-gnu', detected conflict: 'share/doc/rust/html/rustc'

Really not that familiar with all this. I guess it's caused by the rustup command and something is conflicting with a component already installed locally?

@dkm
Copy link
Author

dkm commented May 30, 2021

Following rust-lang/rust#75833 and using :

$ rustup set profile default

Fixed the issue. Clearly not related to rustc_codegen_gcc so closing it.

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

1 participant