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

CleanDirectories does not handle cleaning directories with symlinks without unnecessary errors #2135

Open
chamons opened this issue Apr 23, 2018 · 1 comment

Comments

@chamons
Copy link

chamons commented Apr 23, 2018

What You Are Seeing?

This error

An error occurred when executing task 'Default'.
Error: One or more errors occurred.
	Could not find a part of the path '/Users/donblas/tmp/cake/example/fsharp-macos.framework/Versions/Current'.

when cleaning directories of a certain structure.

What is Expected?

It to clean without error.

What version of Cake are you using?

$ mono .cake/Cake/Cake.exe --version | tail -n 2
Version 0.27.1+Branch.main.Sha.7e44aa0319b6ef12ecc415d79a1c75cc98e2c788

Are you running on a 32 or 64 bit system?

64-bit

What environment are you running on? Windows? Linux? Mac?

macOS

Are you running on a CI Server? If so, which one?

Reproduces without.

How Did You Get This To Happen? (Steps to Reproduce)

clean_bug.zip

  1. Download attached zip file
  2. Copy fsharp-macos.framework from the backup folder to example
  3. ./build.sh

Output Log

Diag: https://gist.github.com/chamons/3def1b016716b71beb2365a322ba2513
Diag w\ mono: https://gist.github.com/chamons/858cdcca2266a6afb796fa4ba4a108fa
--verbosity diagnostic -mono -Experimental: https://gist.github.com/chamons/b9248c9d30c167c679fd4b3b3d56f81a

chamons added a commit to chamons/Embeddinator-4000 that referenced this issue Apr 23, 2018
chamons added a commit to mono/Embeddinator-4000 that referenced this issue Apr 24, 2018
#656)

- Restored: partial missing of extension support + bitcode enabling for iOS
- Fix quoting issue somewhat unrelated to original PR
- [cake] Use DeleteDirectories to work around cake bug cake-build/cake#2135
@augustoproiete augustoproiete added this to the v1.x Next Candidate milestone Mar 10, 2021
@mattleibow
Copy link
Contributor

Just hit this now when building mac catalyst frameworks. They use symlinks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants