Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Enviroments with CARGO_TARGET_DIR set cause builds using wasm-builder to freeze #9113

Closed
eopb opened this issue Jun 15, 2021 · 1 comment · Fixed by #9114
Closed

Enviroments with CARGO_TARGET_DIR set cause builds using wasm-builder to freeze #9113

eopb opened this issue Jun 15, 2021 · 1 comment · Fixed by #9114

Comments

@eopb
Copy link
Contributor

eopb commented Jun 15, 2021

This effects debug builds of substrate. I also tested with canvas-node which also uses wasm-builder and experienced the same issue.

To reproduce in docker:

FROM archlinux:latest

# Setting this env var causes build to hang indefinitely
ARG CARGO_TARGET_DIR=/target

RUN curl https://getsubstrate.io -sSf | bash -s -- --fast
RUN git clone https://github.com/paritytech/canvas-node.git
WORKDIR /canvas-node

# This command never ends
RUN source $HOME/.cargo/env && cargo build -p canvas-runtime

This docker script hangs indefinitely.

@github-actions github-actions bot added the J2-unconfirmed Issue might be valid, but it’s not yet known. label Jun 15, 2021
@gilescope gilescope removed the J2-unconfirmed Issue might be valid, but it’s not yet known. label Jun 15, 2021
@gilescope
Copy link
Contributor

Thanks - Ethan, I can confirm it hangs for me.

@ghost ghost closed this as completed in #9114 Jun 15, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants