Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up"failed to remove `.dSYM`" when cross compiling to 32-bit macOS #4699
Comments
This comment has been minimized.
This comment has been minimized.
|
Seems to affect 64-bit as well. https://travis-ci.org/japaric/xargo/jobs/297248793 |
japaric
added a commit
to japaric/xargo
that referenced
this issue
Nov 4, 2017
This comment has been minimized.
This comment has been minimized.
|
@japaric No repro with a fresh $ rm target/debug/xargo.dSYM
$ cp -r target/debug/deps/xargo-0b99a456403c6af1.dSYM/ target/debug/xargo.dSYM
$ cargo buildwhich 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 comment has been minimized.
This comment has been minimized.
|
This bug itself is a more general problem than #4671. Here's a repro step on Linux:
|
This comment has been minimized.
This comment has been minimized.
japaric
pushed a commit
to japaric/xargo
that referenced
this issue
Nov 4, 2017
This comment has been minimized.
This comment has been minimized.
|
Thanks for investigating @kennytm! Sounds like we should just update the cache removal/cleaning to just handle files as well as directories? |
This comment has been minimized.
This comment has been minimized.
|
@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). |
kennytm
referenced this issue
Nov 7, 2017
Closed
cargo test with RUST_BACKTRACE causes SIGBUS #45731
HyeonuPark
added a commit
to HyeonuPark/Nal
that referenced
this issue
Nov 16, 2017
ozkriff
added a commit
to ozkriff/zemeroth
that referenced
this issue
Nov 19, 2017
badboy
added a commit
to badboy/signify-rs
that referenced
this issue
Nov 20, 2017
This comment has been minimized.
This comment has been minimized.
Luthaf
commented
Nov 20, 2017
|
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/). |
This comment has been minimized.
This comment has been minimized.
KillTheMule
commented
Nov 23, 2017
•
|
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! |
This comment has been minimized.
This comment has been minimized.
|
I think this was fixed in #4672, so closing. |
alexcrichton
closed this
Mar 1, 2018
This comment has been minimized.
This comment has been minimized.
victusfate
commented
Mar 25, 2019
|
bumped into this but I think it was due to a dropbox restore on a new system, just removed target and reinstalled aok |

japaric commentedNov 4, 2017
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-darwinon 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