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

Spurious "file exists" exception in libcompiler_builtins build script #40358

Closed
alexcrichton opened this issue Mar 8, 2017 · 2 comments
Closed
Labels
A-spurious Area: Spurious failures in builds (spuriously == for no apparent reason)

Comments

@alexcrichton
Copy link
Member

Starting to see errors like:

cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/cmake/Modules/CompilerRTLink.cmake
cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/cmake/Modules/BuiltinTests.cmake
cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/cmake/Modules/SanitizerUtils.cmake
cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/cmake/config-ix.cmake
cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/cmake/builtin-config-ix.cmake
cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/cmake/caches/Apple.cmake
cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/.arcconfig
cargo:rerun-if-changed=/checkout/src/libcompiler_builtins/../compiler-rt/Makefile
cargo:rustc-link-lib=static=compiler-rt
cargo:rustc-link-search=native=/checkout/obj/build/powerpc64le-unknown-linux-gnu/native/compiler-rt/.

--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 17, message: "File exists" } }', /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcore/result.rs:868
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Build failed, waiting for other jobs to finish...
error: build failed


command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "-j" "4" "--target" "powerpc64le-unknown-linux-gnu" "--release" "--locked" "--features" "panic-unwind asan lsan msan tsan jemalloc backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml"
expected success, got: exit code: 101

I believe it's caused by a recent change (#40236) but I'm not certain, investigating now...

@alexcrichton alexcrichton added the A-spurious Area: Spurious failures in builds (spuriously == for no apparent reason) label Mar 8, 2017
@alexcrichton
Copy link
Member Author

cc @petrochenkov

@alexcrichton
Copy link
Member Author

Ok further reflection leads me to believe this is another instance of #40337, so I'm going to close in favor of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-spurious Area: Spurious failures in builds (spuriously == for no apparent reason)
Projects
None yet
Development

No branches or pull requests

1 participant