-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
"failed to remove .dSYM
" when cross compiling to 32-bit macOS
#4699
Comments
Seems to affect 64-bit as well. https://travis-ci.org/japaric/xargo/jobs/297248793 |
@japaric No repro with a fresh $ rm target/debug/xargo.dSYM
$ cp -r target/debug/deps/xargo-0b99a456403c6af1.dSYM/ target/debug/xargo.dSYM
$ cargo build which suggests that probably it is caused by the cache polluted by code before the #4672 landed. The debug log associated with the above was:
This should be fixed once you deleted the cache. |
This bug itself is a more general problem than #4671. Here's a repro step on Linux:
|
use recent nightly for macOS let's see if clearing the cache fixes the problem reported in rust-lang/cargo#4699
Thanks for investigating @kennytm! Sounds like we should just update the cache removal/cleaning to just handle files as well as directories? |
@alexcrichton Yes I think so. If failed to remove as file, try to remove as directory recursively (may need to be careful with NTFS junction point though). |
Due to this bug: rust-lang/cargo#4699
This does also happen when compiling directly on OS X with the beta toolchain (see https://www.reddit.com/r/rust/comments/7e8sms/travis_failure_for_rust_beta_on_osx/). |
Beta seems fixed now, but I'm seeing this on stable (travis). (e) Ok, I just read the release notes properly, and realized that travis is still at 1.22.0, so disregard that. Sorry for the noise! |
I think this was fixed in #4672, so closing. |
bumped into this but I think it was due to a dropbox restore on a new system, just removed target and reinstalled aok |
I don't have a mac to investigate further but I'm seeing this error on Travis (build log) when cross compiling Xargo to
i686-apple-darwin
on a 64-bit macOS builder. (The travis builder is using Cross to build Xargo but Cross is simply doingrustup target add i686-apple-darwin && cargo build --target i686-apple-darwin
).This was working before but I haven't tried to bisect.
Seems related to #4671. cc @kennytm
The text was updated successfully, but these errors were encountered: