Closed
Description
The nightly builds are currrently failing as the cargo install as part of the nightly want to unconditionally place stuff in /etc
:
install: copying file /opt/compiler-explorer/rust-nightly/share/doc/cargo/LICENSE-APACHE
install: copying file /opt/compiler-explorer/rust-nightly/share/doc/cargo/README.md
install: copying file /opt/compiler-explorer/rust-nightly/share/doc/cargo/LICENSE-THIRD-PARTY
install: copying file /etc/bash_completion.d/cargo
install: cannot create regular file '/etc/bash_completion.d/cargo': Permission denied
install: error: file creation failed. see logs at '/opt/compiler-explorer/rust-nightly/lib/rustlib/install.log'
the log file above says:
$ umask 022 && mkdir -p "/opt/compiler-explorer/rust-nightly/share/doc/cargo"
install: copying file /opt/compiler-explorer/rust-nightly/share/doc/cargo/LICENSE-THIRD-PARTY
$ install -m644 /tmp/rust-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/LICENSE-THIRD-PARTY /opt/compiler-explorer/rust-nightly/share/doc/cargo/LICENSE-THIRD-PARTY
$ echo "file:/opt/compiler-explorer/rust-nightly/share/doc/cargo/LICENSE-THIRD-PARTY" >> "/opt/compiler-explorer/rust-nightly/lib/rustlib/manifest-cargo"
$ umask 022 && mkdir -p "/etc/bash_completion.d"
install: copying file /etc/bash_completion.d/cargo
$ install -m644 /tmp/rust-nightly-x86_64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo /etc/bash_completion.d/cargo
install: error: file creation failed. see logs at '/opt/compiler-explorer/rust-nightly/lib/rustlib/install.log'
Metadata
Metadata
Assignees
Labels
No labels